summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12705: Raise SyntaxError when compiling multiple statements as single ↵Meador Inge2012-01-191-0/+1
| | | | interactive statement
* Issue #13727: Add 3 macros to access PyDateTime_Delta members:Amaury Forgeot d'Arc2012-01-171-0/+6
| | | | | | | PyDateTime_DELTA_GET_DAYS, PyDateTime_DELTA_GET_SECONDS, PyDateTime_DELTA_GET_MICROSECONDS. Please use them instead of directly accessing PyDateTime_Delta struct members.
* move LINENO define to where it actually belongsBenjamin Peterson2012-01-161-0/+1
|
* Issue #13629: Renumber the tokens in token.h to match the ↵Meador Inge2012-01-161-31/+30
|\ | | | | | | _PyParser_TokenNames indexes.
| * Issue #13629: Renumber the tokens in token.h to match the ↵Meador Inge2012-01-161-31/+30
| | | | | | | | _PyParser_TokenNames indexes.
* | Consolidate the occurrances of the prime used as the multiplier when hashing.Gregory P. Smith2012-01-141-1/+4
|\ \ | |/
| * Consolidate the occurrances of the prime used as the multiplier when hashingGregory P. Smith2012-01-141-1/+4
| | | | | | | | | | | | | | to a single #define instead of having several copies in several files. This excludes the Modules/ tree (datetime and expat both have a copy for their own purposes with no need for it to be the same).
* | add str.casefold() (closes #13752)Benjamin Peterson2012-01-141-0/+5
| |
* | make YieldFrom its own distinct from Yield (closes #13780)Benjamin Peterson2012-01-141-8/+13
| |
* | Fix indentingNick Coghlan2012-01-141-10/+10
| |
* | Silence compilation warnings on WindowsAmaury Forgeot d'Arc2012-01-131-2/+2
| |
* | Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-136-127/+140
| |
* | use full unicode mappings for upper/lower/title case (#12736)Benjamin Peterson2012-01-111-0/+23
| | | | | | | | Also broaden the category of characters that count as lowercase/uppercase.
* | Add a new PyUnicode_Fill() functionVictor Stinner2012-01-031-3/+20
| | | | | | | | | | It is faster than the unicode_fill() function which was implemented in formatter_unicode.c.
* | Issue #13577: Built-in methods and functions now have a __qualname__.Antoine Pitrou2011-12-231-1/+2
| | | | | | | | Patch by sbt.
* | fix PyCompactUnicodeObject doc (test)Victor Stinner2011-12-221-1/+1
| |
* | backout 7876cd49300d: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enumVictor Stinner2011-12-191-4/+3
| |
* | Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enumVictor Stinner2011-12-171-3/+4
| |
* | Issue #13560: Locale codec functions use the classic "errors" parameter,Victor Stinner2011-12-171-3/+3
| | | | | | | | | | | | instead of surrogateescape So it would be possible to support more error handlers later.
* | Issue #13560: Add PyUnicode_EncodeLocale()Victor Stinner2011-12-171-1/+11
| | | | | | | | | | | | * Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not available * Document my last changes in Misc/NEWS
* | Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale()Victor Stinner2011-12-161-0/+22
| | | | | | | | | | | | | | | | | | | | | | * PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string from the current locale encoding * _Py_char2wchar() writes an "error code" in the size argument to indicate if the function failed because of memory allocation failure or because of a decoding error. The function doesn't write the error message directly to stderr. * Fix time.strftime() (if wcsftime() is missing): decode strftime() result from the current locale encoding, not from the filesystem encoding.
* | Issue #6695: Full garbage collection runs now clear the freelist of set objects.Antoine Pitrou2011-12-161-0/+2
| | | | | | | | Initial patch by Matthias Troffaes.
* | improve abstract property support (closes #11610)Benjamin Peterson2011-12-151-0/+1
| | | | | | | | Thanks to Darren Dale for patch.
* | Issue #13577: various kinds of descriptors now have a __qualname__ attribute.Antoine Pitrou2011-12-121-0/+1
| | | | | | | | Patch by sbt.
* | PyUnicode_Resize(): warn about canonical representationVictor Stinner2011-12-121-1/+4
| | | | | | | | Call also directly unicode_resize() in unicodeobject.c
* | Fix PyUnicode_Resize() for compact string: leave the string unchanged on errorVictor Stinner2011-12-121-8/+5
| | | | | | | | Fix also PyUnicode_Resize() doc
* | Make PyUnicode_Copy() private => _PyUnicode_Copy()Victor Stinner2011-12-121-1/+3
| | | | | | | | | | | | Undocument the function. Make also decode_utf8_errors() as private (static).
* | resize_copy() now supports legacy ready stringsVictor Stinner2011-12-111-0/+4
| |
* | PyUnicode_IS_ASCII() macro ensures that the string is readyVictor Stinner2011-12-121-5/+7
| | | | | | | | It has no sense to check if a not ready string is ASCII or not.
* | - Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (FixBarry Warsaw2011-12-051-0/+1
|\ \ | |/ | | | | given by Campbell Barton).
| * - Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (FixBarry Warsaw2011-12-051-0/+1
| | | | | | | | given by Campbell Barton).
* | Py_UNICODE_HIGH_SURROGATE() and Py_UNICODE_LOW_SURROGATE() macrosVictor Stinner2011-11-291-0/+4
| | | | | | | | And use surrogates macros everywhere in unicodeobject.c
* | MERGE: Closes issue #13488: Some old preprocessors have problem with #define ↵Jesus Cea2011-11-271-80/+80
|\ \ | |/ | | | | not in the first column
| * Closes issue #13488: Some old preprocessors have problem with #define not in ↵Jesus Cea2011-11-271-80/+80
| | | | | | | | the first column
* | Issue #12567: The curses module uses Unicode functions for Unicode argumentsVictor Stinner2011-11-251-0/+1
| | | | | | | | | | when it is linked to the ncurses library. It encodes also Unicode strings to the locale encoding instead of UTF-8.
* | PEP 3155 / issue #13448: Qualified name for classes and functions.Antoine Pitrou2011-11-252-1/+3
| |
* | Issue #12328: Under Windows, refactor handling of Ctrl-C events andAntoine Pitrou2011-11-211-0/+6
| | | | | | | | | | make _multiprocessing.win32.WaitForMultipleObjects interruptible when the wait_flag parameter is false. Patch by sbt.
* | Issue #13411: memoryview objects are now hashable when the underlying object ↵Antoine Pitrou2011-11-212-0/+2
| | | | | | | | is hashable.
* | PyUnicode_GET_SIZE() checks that PyUnicode_AsUnicode() succeedVictor Stinner2011-11-211-6/+7
| | | | | | | | using an assertion
* | _PyUnicode_CheckConsistency() also checks maxchar maximum value,Victor Stinner2011-11-201-5/+8
| | | | | | | | not only its minimum value
* | Fix PyUnicode_CopyCharacters() docVictor Stinner2011-11-201-2/+1
| |
* | Ensure that Py_UCS4 is 32 bits and Py_UCS2 is 16 bitsVictor Stinner2011-11-201-2/+7
| |
* | Merge branch 3.2 (closes #13338)Petri Lehtinen2011-11-191-2/+4
|\ \ | |/
| * Issue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDERPetri Lehtinen2011-11-191-2/+4
| | | | | | | | | | This allows compiling extension modules with -Wswitch-enum on gcc. Initial patch by Floris Bruynooghe.
* | Issue #10227: Add an allocation cache for a single slice object.Antoine Pitrou2011-11-181-0/+1
| | | | | | | | Patch by Stefan Behnel.
* | Fix misused of "PyUnicodeObject" structure name in unicodeobject.hVictor Stinner2011-11-161-2/+2
| |
* | Issue #13389: Full garbage collection passes now clear the freelists forAntoine Pitrou2011-11-142-0/+4
| | | | | | | | | | list and dict objects. They already cleared other freelists in the interpreter.
* | Port encoders from Py_UNICODE API to unicode object API.Martin v. Löwis2011-11-101-0/+16
| |
* | Make _PyUnicode_FromId return borrowed references.Martin v. Löwis2011-11-071-1/+1
| | | | | | | | http://mail.python.org/pipermail/python-dev/2011-November/114347.html
* | Fix gdb/libpython.py for not ready Unicode stringsVictor Stinner2011-11-041-3/+5
| | | | | | | | | | _PyUnicode_CheckConsistency() checks also hash and length value for not ready Unicode strings.