summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Issue #13436: commit regenerated Python-ast.cAmaury Forgeot d'Arc2011-11-221-5/+1
| | |
* | | Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with theCharles-François Natali2011-11-221-4/+5
|\ \ \ | |/ / | | | | | | | | | | | | TLS key only if the thread that called fork() had an associated auto thread state (this might not be the case for example for a thread created outside of Python calling into a subinterpreter).
| * | Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with theCharles-François Natali2011-11-221-4/+5
| | | | | | | | | | | | | | | | | | TLS key only if the thread that called fork() had an associated auto thread state (this might not be the case for example for a thread created outside of Python calling into a subinterpreter).
* | | Remove "#ifdef Py_UNICODE_WIDE": Python is now always wideVictor Stinner2011-11-222-17/+4
| | |
* | | Use the new Unicode APIVictor Stinner2011-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) * Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len) * Replace Py_UNICODE by wchar_t * posix_putenv() uses PyUnicode_FromFormat() to create the string, instead of PyUnicode_FromUnicode() + _snwprintf()
* | | Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH()Victor Stinner2011-11-211-5/+5
| | | | | | | | | | | | And PyUnicode_GetSize() => PyUnicode_GetLength()
* | | Check for PyUnicode_AS_UNICODE() failureVictor Stinner2011-11-211-1/+6
| | |
* | | print_exception() uses PyUnicode_GetLength() instead of PyUnicode_GetSize()Victor Stinner2011-11-201-1/+1
| | |
* | | Issue #10227: Add an allocation cache for a single slice object.Antoine Pitrou2011-11-181-0/+1
| | | | | | | | | | | | Patch by Stefan Behnel.
* | | Catch PyUnicode_AS_UNICODE() errors in fileutils.cVictor Stinner2011-11-161-2/+11
| | |
* | | Catch PyUnicode_AS_UNICODE() errorsVictor Stinner2011-11-161-14/+33
| | |
* | | Use PyUnicode_FromFormat() to create the temporary file name.Antoine Pitrou2011-11-151-27/+14
| | | | | | | | | | | | | | | Also, as in importlib, append the id of an object to make the file name pseudo-random.
* | | Fix regression under Windows following b75b41237380 (from issue #13392)Antoine Pitrou2011-11-151-0/+5
| | |
* | | Issue #13392: Writing a pyc file should now be atomic under Windows as well.Antoine Pitrou2011-11-151-10/+38
| | |
* | | Issue #13303: Fix bytecode file default permission.Charles-François Natali2011-11-101-6/+5
| | |
* | | Make _PyUnicode_FromId return borrowed references.Martin v. Löwis2011-11-071-2/+0
| | | | | | | | | | | | http://mail.python.org/pipermail/python-dev/2011-November/114347.html
* | | quote the type name for improved readabilityPhilip Jenvey2011-11-071-1/+1
| | |
* | | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicodeAntoine Pitrou2011-11-051-42/+42
|\ \ \ | |/ / | | | | | | error handler in interactive mode (when calling into PyOS_Readline()).
| * | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicodeAntoine Pitrou2011-11-051-42/+41
| | | | | | | | | | | | error handler in interactive mode (when calling into PyOS_Readline()).
* | | Issue #13343: Fix a SystemError when a lambda expression uses a globalAmaury Forgeot d'Arc2011-11-041-0/+3
|\ \ \ | |/ / | | | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None)
| * | Issue #13343: Fix a SystemError when a lambda expression uses a globalAmaury Forgeot d'Arc2011-11-041-0/+3
| | | | | | | | | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None)
* | | Avoid the Py_UNICODE type in codecs.cVictor Stinner2011-11-041-4/+11
| | |
* | | PyCodec_XMLCharRefReplaceError(): Remove unused variableVictor Stinner2011-11-041-2/+2
| | |
* | | Fix C89 incompatibility.Martin v. Löwis2011-11-041-1/+1
| | |
* | | Port error handlers from Py_UNICODE indexing to code point indexing.Martin v. Löwis2011-11-041-77/+46
| | |
* | | Merge follow-up for #11254 and other changes from 3.2Éric Araujo2011-11-031-2/+4
|\ \ \ | |/ /
| * | Add signatures to the docstring of functions added to imp by PEP 3147Éric Araujo2011-11-031-2/+4
| | |
* | | Issue #13303: Fix a race condition in the bytecode file creation.Charles-François Natali2011-10-311-42/+8
| | |
* | | Issue #13226: Update sys.setdlopenflags() docstringVictor Stinner2011-10-311-3/+1
| | | | | | | | | | | | Refer to os.RTLD_xxx constants instead of ctypes and DLFCN modules.
* | | Port import_module_level to Unicode API.Martin v. Löwis2011-10-301-103/+61
| | |
* | | Issue #10363: Deallocate global locks in Py_Finalize().Antoine Pitrou2011-10-302-10/+21
|\ \ \ | |/ /
| * | Issue #10363: Deallocate global locks in Py_Finalize().Antoine Pitrou2011-10-302-10/+21
| | |
* | | Port PyImport_ReloadModule to Unicode API.Martin v. Löwis2011-10-301-34/+26
| | |
* | | Merge 3.2 (linked to issue #1294232)Florent Xicluna2011-10-281-1/+1
|\ \ \ | |/ /
| * | Remove unused variable.Florent Xicluna2011-10-281-2/+1
| | |
* | | Fix test_imp failure under WindowsAntoine Pitrou2011-10-241-2/+9
| | |
* | | Rewrite find_module_path using unicode API.Martin v. Löwis2011-10-231-35/+48
| | |
* | | Fix off-by-one error.Martin v. Löwis2011-10-231-2/+2
| | |
* | | Drop unused macros. Use CACHEDIR consistently.Martin v. Löwis2011-10-231-8/+4
| | |
* | | Rewrite make_source_pathname using Unicode API.Martin v. Löwis2011-10-231-38/+41
| | |
* | | Add ready checks for make_compiled_pathname.Martin v. Löwis2011-10-231-1/+9
| | |
* | | Reformulate make_compiled_pathname in terms of unicode objects.Martin v. Löwis2011-10-231-116/+61
| | |
* | | Merge issue 1294232 patch from 3.2Nick Coghlan2011-10-231-3/+30
|\ \ \ | |/ /
| * | Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵Nick Coghlan2011-10-231-2/+28
| | | | | | | | | | | | metaclass inheritance. Patch by Daniel Urban.
* | | Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignoreVictor Stinner2011-10-181-2/+3
| | | | | | | | | | | | | | | error handlers on all Windows versions. The MBCS codec is now supporting all error handlers, instead of only replace to encode and ignore to decode.
* | | Instantiate the OS-related exception as soon as we raise it, so that "except"Victor Stinner2011-10-171-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | works properly. PyErr_SetFromErrnoWithFilenameObject() was already fixed by the changeset 793c75177d28. This commit fixes PyErr_SetExcFromWindowsErrWithFilenameObject(), used on Windows.
* | | Issue #13146: Writing a pyc file is now atomic under POSIX.Antoine Pitrou2011-10-171-9/+36
| | |
* | | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId.Martin v. Löwis2011-10-146-168/+179
| | |
* | | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-1412-111/+111
| | |
* | | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16Victor Stinner2011-10-142-14/+13
| | |