summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | convertsimple(): "str without bytes" => "str without characters"Victor Stinner2011-10-131-3/+3
| |
* | Instantiate the OS-related exception as soon as we raise it, so thatAntoine Pitrou2011-10-121-6/+10
| | | | | | | | "except" works properly.
* | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.Antoine Pitrou2011-10-121-4/+5
| |
* | Fix typo in import.cVictor Stinner2011-10-111-1/+1
| |
* | Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH insteadVictor Stinner2011-10-111-1/+1
| |
* | Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE()Victor Stinner2011-10-112-7/+14
| |
* | Use identifier API for PyObject_GetAttrString.Martin v. Löwis2011-10-108-297/+385
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-099-32/+57
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE.Martin v. Löwis2011-10-071-2/+2
| |
* | Fix find_module_path(): make the string readyVictor Stinner2011-10-061-0/+3
| |
* | Fix _warnings.c: make the filename string readyVictor Stinner2011-10-061-3/+10
| |
* | Don't check for the maximum character when copying from unicodeobject.cVictor Stinner2011-10-051-9/+7
| | | | | | | | | | | | | | | | * Create copy_characters() function which doesn't check for the maximum character in release mode * _PyUnicode_CheckConsistency() is no more static to be able to use it in _PyUnicode_FormatAdvanced() (in formatter_unicode.c) * _PyUnicode_CheckConsistency() checks the string hash
* | traceback: fix dump_ascii() for string with kind=PyUnicode_WCHAR_KINDVictor Stinner2011-10-051-3/+13
| |
* | Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCIIVictor Stinner2011-10-051-2/+2
| | | | | | | | | | | | ucs1, ucs2 and ucs4 libraries have to scan created substring to find the maximum character, whereas it is not need to ASCII strings. Because ASCII strings are common, it is useful to optimize ASCII.
* | Fix usage og PyUnicode_READY()Victor Stinner2011-10-041-7/+14
| |
* | ceval.c: restore str+=str optimizationVictor Stinner2011-10-021-3/+73
| |
* | Check error when calling PyUnicode_AppendAndDel()Victor Stinner2011-10-021-3/+5
| |