summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | PyCodec_ReplaceErrors() uses "C" format instead of "u#" to build resultVictor Stinner2011-10-021-2/+3
| |
* | remove unused labelBenjamin Peterson2011-10-021-1/+0
| |
* | Issue 13085: Fix some memory leaks. Patch by Stefan Krah.Martin v. Löwis2011-10-011-11/+19
| |
* | remove "fast-path" for (i)adding stringsBenjamin Peterson2011-10-011-8/+2
| | | | | | | | | | | | These were just an artifact of the old unicode concatenation hack and likely just penalized other kinds of adding. Also, this fixes __(i)add__ on string subclasses.
* | Remove commented code: str+=str is no more super-optimizedVictor Stinner2011-09-301-112/+6
| |
* | modsupport.c reuses Py_UNICODE_strlen()Victor Stinner2011-09-291-10/+1
| |
* | Use the new Py_ARRAY_LENGTH macroVictor Stinner2011-09-283-4/+3
| |
* | #13054: sys.maxunicode is now always 0x10FFFF.Ezio Melotti2011-09-281-2/+2
| |
* | fill_number() and format_string_internal() check for ↵Victor Stinner2011-09-281-3/+8
| | | | | | | | PyUnicode_CopyCharacters() failure
* | fill_number() ensures that the 'digits' string is readyVictor Stinner2011-09-281-1/+4
| |
* | fill_char() can now propagate an errorVictor Stinner2011-09-281-25/+47
| |
* | Check for PyUnicode_CopyCharacters() failureVictor Stinner2011-09-281-2/+8
| |
* | Rename new macros to conform to naming rules (function macros have "Py" ↵Georg Brandl2011-09-281-3/+3
| | | | | | | | prefix, not "PY").
* | Implement PEP 393.Martin v. Löwis2011-09-2814-350/+1824
| |
* | Merge 3.2: Issue #7732: Don't open a directory as a file anymore whileVictor Stinner2011-09-231-0/+9
|\ \ | |/ | | | | | | importing a module. Ignore the direcotry if its name matchs the module name (e.g. "__init__.py") and raise a ImportError instead.
| * Issue #7732: Don't open a directory as a file anymore while importing aVictor Stinner2011-09-231-1/+8
| | | | | | | | | | module. Ignore the direcotry if its name matchs the module name (e.g. "__init__.py") and raise a ImportError instead.
* | Issue #13002: Fix Visual Studio warning (not enough actual parameters).Stefan Krah2011-09-211-1/+1
| |
* | - Issue #13021: Missing decref on an error path. Thanks to Suman Saha forBarry Warsaw2011-09-201-1/+3
|\ \ | |/ | | | | finding the bug and providing a patch.
| * - Issue #13021: Missing decref on an error path. Thanks to Suman Saha forBarry Warsaw2011-09-201-1/+3
| | | | | | | | finding the bug and providing a patch.