summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-0950-233/+571
| | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* Merge 3.2Éric Araujo2011-10-094-8/+35
|\
| * Branch mergeÉric Araujo2011-10-0912-30/+85
| |\
| | * Add tests for Unicode handling in distutils’ check and register (#13114)Éric Araujo2011-10-092-3/+30
| | |
| | * As it turns out, this bug was already in the tracker: #11171Éric Araujo2011-10-091-2/+2
| | |
| | * Fix docstring of distutils.util.byte_compile (followup for #11254)Éric Araujo2011-10-081-3/+3
| | |
* | | Branch mergeÉric Araujo2011-10-0915-33/+79
|\ \ \
| * | | Fix packaging byte-compilation to comply with PEP 3147 (#11254).Éric Araujo2011-10-085-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I want to replace custom byte-compiling function with calls to compileall before 3.3b1, but in the short term it’s good to have this fixed. Adapted from the distutils patch by Jeff Ramnani. I tested with -B, -O and -OO; test_util and test_mixin2to3 fail in -O mode because lib2to3 doesn’t support it.
| * | | Make C code in one packaging test comply with ISO C (#10359).Éric Araujo2011-10-081-2/+2
| | | | | | | | | | | | | | | | Patch by Hallvard B Furuseth.
| * | | Merge fixes for #10526, #10359, #11254, #9100 and the bug without numberÉric Araujo2011-10-0810-20/+52
| |\ \ \ | | | |/ | | |/|
| | * | Fix distutils.sysconfig.get_makefile_filename when prefix != exec-prefixÉric Araujo2011-10-072-1/+4
| | | |
| | * | Fix test_sysconfig when prefix != exec-prefix (#9100).Éric Araujo2011-10-071-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I tested this manually; it would be great to have buildbots using installed Pythons, including Pythons configured with different prefix and exec-prefix. Reported by Zsolt Cserna.
| | * | Fix distutils byte-compilation to comply with PEP 3147 (#11254).Éric Araujo2011-10-076-12/+34
| | | | | | | | | | | | | | | | Patch by Jeff Ramnani. Tested with -B, -O and -OO.
| | * | Make C code in one distutils test comply with ISO C (#10359).Éric Araujo2011-10-071-2/+2
| | | | | | | | | | | | | | | | Patch by Hallvard B Furuseth.
| | * | Fix a typo and a broken link (part of #10536).Éric Araujo2011-10-071-3/+3
| | | | | | | | | | | | | | | | Found by Franz Glasner in #2504.
* | | | Fix typo in the PyUnicode_Find() implementationAntoine Pitrou2011-10-081-1/+1
| | | |
* | | | test_unicode was forgetting to run the common string tests for str.find()Antoine Pitrou2011-10-081-0/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | test_unicode was forgetting to run the common string tests for str.find()Antoine Pitrou2011-10-081-0/+1
| | | |
* | | | Fix a missing encoding argument when opening a text file in some of ↵Antoine Pitrou2011-10-081-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | iobench's subtests. (found by Georg)
| * | | Fix a missing encoding argument when opening a text file in some of ↵Antoine Pitrou2011-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | iobench's subtests. (found by Georg)
* | | | Fix test_gdb following the small unicode struct change in c25262e97304 ↵Antoine Pitrou2011-10-081-1/+1
| | | | | | | | | | | | | | | | (issue #13130)
* | | | Closes #12192: Document that mutating list methods do not return the ↵Georg Brandl2011-10-083-12/+24
| | | | | | | | | | | | | | | | instance (original patch by Mike Hoy).
* | | | Issue #10141: fix socketmodule compilation on Linux systems with <linux/can.h>Charles-François Natali2011-10-071-3/+3
| | | | | | | | | | | | | | | | but without AF_CAN definition.
* | | | - Re-enable lib2to3's test_parser.py tests, though with an expected failureBarry Warsaw2011-10-072-4/+2
|\ \ \ \ | |/ / / | | | | | | | | (see issue 13125).
| * | | MergedBarry Warsaw2011-10-075-23/+39
| |\ \ \
| | * \ \ Branch merge.Barry Warsaw2011-10-074-2/+10
| | |\ \ \ | | | | |/ | | | |/|
| | * | | - Issue #11250: Back port fix from 3.3 branch, so that 2to3 can handle filesBarry Warsaw2011-10-075-23/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with line feeds. This was ported from the sandbox to the 3.3 branch, but didn't make it into 3.2. - Re-enable lib2to3's test_parser.py tests, though with an expected failure (see issue 13125).
* | | | | Trunk mergeBarry Warsaw2011-10-079-125/+86
|\ \ \ \ \
| * \ \ \ \ Merge with 3.2Ned Deily2011-10-071-2/+2
| |\ \ \ \ \ | | |/ / / /
| | * | | | Issue #7367: Ensure test directory always gets removed.Ned Deily2011-10-071-2/+2
| | | |/ / | | |/| |
| * | | | Fix indentation.Martin v. Löwis2011-10-071-1/+1
| | | | |
| * | | | Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE.Martin v. Löwis2011-10-078-123/+84
| | |_|/ | |/| |
* | | | - Re-enable lib2to3's test_parser.py tests, though with an expected failureBarry Warsaw2011-10-073-10/+20
|/ / / | | | | | | | | | (see issue 13125).
* | | PyUnicode_Join() calls directly memcpy() if all strings are of the same kindVictor Stinner2011-10-071-7/+54
| | |
* | | Issue #12823: remove broken link and replace it with another resource.Antoine Pitrou2011-10-071-2/+2
|\ \ \ | |/ /
| * | Issue #12823: remove broken link and replace it with another resource.Antoine Pitrou2011-10-071-2/+2
| | |
* | | Issue #13063: the Windows error ERROR_NO_DATA (numbered 232 and describedAntoine Pitrou2011-10-073-0/+8
|\ \ \ | |/ / | | | | | | | | | as "The pipe is being closed") is now mapped to POSIX errno EPIPE (previously EINVAL).
| * | Issue #13063: the Windows error ERROR_NO_DATA (numbered 232 and describedAntoine Pitrou2011-10-073-0/+8
| |/ | | | | | | | | as "The pipe is being closed") is now mapped to POSIX errno EPIPE (previously EINVAL).
* | Issue #12943: python -m tokenize support has been added to tokenize.Meador Inge2011-10-073-23/+115
| |
* | Mark 'abc'.expandtab() optimization as specific to CPythonVictor Stinner2011-10-071-3/+4
| | | | | | | | Improve also str.replace(a, a) test
* | Make platform.libc_ver() less slowAntoine Pitrou2011-10-071-10/+15
| |
* | Fix formatting memory consumption with very large padding specificationsAntoine Pitrou2011-10-071-8/+28
| |
* | Update C API docs for PEP 393.Georg Brandl2011-10-074-100/+514
| |
* | str.replace(a, a) is now returning str unchanged if a is aVictor Stinner2011-10-072-0/+8
| |
* | Fix a Py_UCS4 / Py_UNICODE mixup.Antoine Pitrou2011-10-071-3/+8
| | | | | | | | This worked under Unix because wchar_t is 4 bytes wide.
* | Migrate the _csv module to the new unicode APIsAntoine Pitrou2011-10-071-60/+61
| | | | | | | | (except for a Py_UNICODE_strchr() call)
* | Fix memory consumption estimate in test_unicode_repr_wideAntoine Pitrou2011-10-071-1/+1
| | | | | | | | (on Martin's buildbot it still seems a bit inaccurate)
* | Fix massive slowdown in string formatting with str.format.Antoine Pitrou2011-10-071-128/+24
| | | | | | | | | | | | | | | | | | | | Example: ./python -m timeit -s "f='{}' + '-' * 1024 + '{}'; s='abcd' * 16384" "f.format(s, s)" -> before: 547 usec per loop -> after: 13 usec per loop -> 3.2: 22.5 usec per loop -> 2.7: 12.6 usec per loop
* | Fix massive slowdown in string formatting with the % operatorAntoine Pitrou2011-10-061-114/+127
| |
* | Issue #7367: merge from 3.2Ned Deily2011-10-061-0/+3
|\ \ | |/