Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | post release bump | Gregory P. Smith | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | Add sys.flags.quiet attribute for the new -q option, as noted missing by ↵ | Georg Brandl | 2010-12-28 | 1 | -0/+1 |
| | | | | Eric in #1772833. | ||||
* | Issue #10780: Remove commas at the end of the argument list | Victor Stinner | 2010-12-28 | 1 | -2/+2 |
| | | | | Forbidden in C, stupid language! | ||||
* | Issue #10780: PyErr_SetFromWindowsErrWithFilename() and | Victor Stinner | 2010-12-28 | 1 | -2/+2 |
| | | | | | PyErr_SetExcFromWindowsErrWithFilename() decode the filename from the filesystem encoding instead of UTF-8. | ||||
* | Issue #10779: PyErr_WarnExplicit() decodes the filename from the filesystem | Victor Stinner | 2010-12-27 | 1 | -1/+1 |
| | | | | encoding instead of UTF-8. | ||||
* | Issue #9738: Ooops, fix typos in my previous commit (r87506) | Victor Stinner | 2010-12-27 | 2 | -2/+2 |
| | |||||
* | Issue #9738: Document encodings of AST, compiler, parser and PyRun functions | Victor Stinner | 2010-12-27 | 5 | -38/+91 |
| | |||||
* | Issue #9738: document encodings of unicode functions | Victor Stinner | 2010-12-27 | 1 | -5/+7 |
| | |||||
* | Issue #9738: Document encodings of error and warning functions | Victor Stinner | 2010-12-27 | 2 | -15/+62 |
| | |||||
* | Bump to 3.2b2. | Georg Brandl | 2010-12-19 | 1 | -2/+2 |
| | |||||
* | Issue #8844: Regular and recursive lock acquisitions can now be interrupted | Antoine Pitrou | 2010-12-15 | 1 | -4/+19 |
| | | | | by signals on platforms using pthreads. Patch by Reid Kleckner. | ||||
* | Take PyUnicode_TransformDecimalToASCII out of the limited API. | Georg Brandl | 2010-12-05 | 1 | -0/+2 |
| | |||||
* | Bump to 3.2b1. | Georg Brandl | 2010-12-04 | 1 | -3/+3 |
| | |||||
* | Expose CompileString, not CompileStringFlags under the | Martin v. Löwis | 2010-12-04 | 1 | -1/+1 |
| | | | | limited API. | ||||
* | Add an "optimize" parameter to compile() to control the optimization level, ↵ | Georg Brandl | 2010-12-04 | 2 | -5/+7 |
| | | | | and provide an interface to it in py_compile, compileall and PyZipFile. | ||||
* | Issue #10557: Fixed error messages from float() and other numeric | Alexander Belopolsky | 2010-12-04 | 1 | -0/+11 |
| | | | | | | types. Added a new API function, PyUnicode_TransformDecimalToASCII(), which transforms non-ASCII decimal digits in a Unicode string to their ASCII equivalents. | ||||
* | Merge branches/pep-0384. | Martin v. Löwis | 2010-12-03 | 59 | -29/+463 |
| | |||||
* | Include structseq.h in Python.h, and remove now-redundant includes in ↵ | Georg Brandl | 2010-11-30 | 1 | -0/+1 |
| | | | | individual sources. | ||||
* | #10439: document PyCodec C APIs. | Georg Brandl | 2010-11-20 | 1 | -4/+4 |
| | |||||
* | Issue #10325: Fix two issues in the fallback definitions of PY_LLONG_MAX and | Mark Dickinson | 2010-11-20 | 1 | -8/+13 |
| | | | | PY_ULLONG_MAX in pyport.h. Thanks Hallvard B Furuseth for the patch. | ||||
* | Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitly | David Malcolm | 2010-11-17 | 1 | -1/+6 |
| | | | | | | zero-initialize all fields, fixing compiler warnings seen when building extension modules with gcc with "-Wmissing-field-initializers" (implied by "-W") | ||||
* | Post-release bumps. | Georg Brandl | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | Issue #10413: Updated comments to reflect code changes | Alexander Belopolsky | 2010-11-16 | 1 | -18/+13 |
| | |||||
* | Bump to 3.2a4. | Georg Brandl | 2010-11-13 | 1 | -2/+2 |
| | |||||
* | PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails | Victor Stinner | 2010-11-08 | 1 | -1/+2 |
| | | | | | | * Add error_pos optional argument to _Py_wchar2char() * PyUnicode_EncodeFS() raises a UnicodeEncodeError or MemoryError if _Py_wchar2char() fails | ||||
* | Issue #10288: The deprecated family of "char"-handling macros | David Malcolm | 2010-11-05 | 1 | -35/+0 |
| | | | | | (ISLOWER()/ISUPPER()/etc) have now been removed: use Py_ISLOWER() etc instead. | ||||
* | Issue #10293: Remove obsolete field in the PyMemoryView structure, | Antoine Pitrou | 2010-11-04 | 2 | -2/+0 |
| | | | | | unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous. | ||||
* | Issue #5437: A preallocated MemoryError instance should not hold traceback | Antoine Pitrou | 2010-10-28 | 1 | -1/+0 |
| | | | | data (including local variables caught in the stack trace) alive infinitely. | ||||
* | Issue #8761: Mangle PyUnicode_CompareWithASCIIString function name for | Victor Stinner | 2010-10-24 | 1 | -2/+2 |
| | | | | narrow/wide unicode build. | ||||
* | Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵ | Georg Brandl | 2010-10-24 | 1 | -0/+1 |
| | | | | | | | | is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr. | ||||
* | follow up to #9778: define and use an unsigned hash type | Benjamin Peterson | 2010-10-23 | 1 | -1/+3 |
| | |||||
* | Issue #10089: Add support for arbitrary -X options on the command-line. | Antoine Pitrou | 2010-10-21 | 1 | -0/+3 |
| | | | | They can be retrieved through a new attribute `sys._xoptions`. | ||||
* | #4499: silence compiler warning on AIX. | R. David Murray | 2010-10-18 | 1 | -0/+2 |
| | | | | Patch from ActiveState. | ||||
* | make hashes always the size of pointers; introduce Py_hash_t #9778 | Benjamin Peterson | 2010-10-17 | 8 | -27/+24 |
| | |||||
* | _PyImport_FixupExtension() and _PyImport_FindExtension() uses FS encoding | Victor Stinner | 2010-10-17 | 1 | -2/+4 |
| | | | | | | | * Rename _PyImport_FindExtension() to _PyImport_FindExtensionUnicode(): the filename becomes a Unicode object instead of byte string * Rename _PyImport_FixupExtension() to _PyImport_FixupExtensionUnicode(): the filename becomes a Unicode object instead of byte string | ||||
* | Add an optional size argument to _Py_char2wchar() | Victor Stinner | 2010-10-16 | 1 | -1/+2 |
| | | | | | | _Py_char2wchar() callers usually need the result size in characters. Since it's trivial to compute it in _Py_char2wchar() (O(1) whereas wcslen() is O(n)), add an option to get it. | ||||
* | Use locale encoding if Py_FileSystemDefaultEncoding is not set | Victor Stinner | 2010-10-15 | 2 | -11/+7 |
| | | | | | | | | * PyUnicode_EncodeFSDefault(), PyUnicode_DecodeFSDefaultAndSize() and PyUnicode_DecodeFSDefault() use the locale encoding instead of UTF-8 if Py_FileSystemDefaultEncoding is NULL * redecode_filenames() functions and _Py_code_object_list (issue #9630) are no more needed: remove them | ||||
* | Mark _Py_char2wchar() input argument as constant | Victor Stinner | 2010-10-15 | 1 | -1/+1 |
| | |||||
* | Post-release bumps. | Georg Brandl | 2010-10-12 | 1 | -1/+1 |
| | |||||
* | Bump to 3.2a3. | Georg Brandl | 2010-10-10 | 1 | -2/+2 |
| | |||||
* | Issue #9738: Document PyErr_SetString() and PyErr_SetFromErrnoWithFilename() | Victor Stinner | 2010-10-09 | 1 | -2/+7 |
| | | | | encodings | ||||
* | _Py_wrealpath() requires the size of the output buffer | Victor Stinner | 2010-10-07 | 1 | -1/+2 |
| | |||||
* | _Py_stat() and _Py_fopen(): avoid PyUnicode_AsWideCharString() on Windows | Victor Stinner | 2010-10-07 | 1 | -2/+2 |
| | | | | | On Windows, Py_UNICODE is wchar_t, so we can avoid the expensive Py_UNICODE* => wchar_t* conversion. | ||||
* | Fix fileutils for Windows | Victor Stinner | 2010-10-07 | 1 | -1/+1 |
| | | | | | | * Don't define _Py_wstat() on Windows, Windows has its own _wstat() function with a different API (the stat buffer has another type) * Include windows.h | ||||
* | Create fileutils.c/.h | Victor Stinner | 2010-10-07 | 2 | -11/+56 |
| | | | | | | | * _Py_fopen() and _Py_stat() come from Python/import.c * (_Py)_wrealpath() comes from Python/sysmodule.c * _Py_char2wchar(), _Py_wchar2char() and _Py_wfopen() come from Modules/main.c * (_Py)_wstat(), (_Py)_wgetcwd(), _Py_wreadlink() come from Modules/getpath.c | ||||
* | PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject* | Victor Stinner | 2010-10-07 | 1 | -1/+1 |
| | | | | | All unicode functions uses PyObject* except PyUnicode_AsWideChar(). Fix the prototype for the new function PyUnicode_AsWideCharString(). | ||||
* | Issue #9630: Redecode filenames when setting the filesystem encoding | Victor Stinner | 2010-09-29 | 1 | -0/+7 |
| | | | | | | | | | | | | | | Redecode the filenames of: - all modules: __file__ and __path__ attributes - all code objects: co_filename attribute - sys.path - sys.meta_path - sys.executable - sys.path_importer_cache (keys) Keep weak references to all code objects until initfsencoding() is called, to be able to redecode co_filename attribute of all code objects. | ||||
* | Issue #9979: Create function PyUnicode_AsWideCharString(). | Victor Stinner | 2010-09-29 | 1 | -2/+17 |
| | |||||
* | Issue #9090: When a socket with a timeout fails with EWOULDBLOCK or EAGAIN, | Antoine Pitrou | 2010-09-28 | 1 | -0/+11 |
| | | | | | | retry the select() loop instead of bailing out. This is because select() can incorrectly report a socket as ready for reading (for example, if it received some data with an invalid checksum). | ||||
* | issue 9910 | Kristján Valur Jónsson | 2010-09-27 | 1 | -0/+1 |
| | | | | Add a Py_SetPath api to override magic path computations when starting up python. |