summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* 3.3.0a1 is done.Georg Brandl2012-03-051-1/+1
|
* Bump to 3.3.0a1.Georg Brandl2012-03-041-2/+2
|
* Close #14085: remove assertions from PyUnicode_WRITE macroVictor Stinner2012-03-041-3/+0
| | | | | Add checks in PyUnicode_WriteChar() and convert PyUnicode_New() assertion to a test raising a Python exception.
* Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tupleVictor Stinner2012-03-021-0/+11
| | | | Add a private API to convert an int or float to a C timespec structure.
* Issue #14153 Create _Py_device_encoding() to prevent _io from having to importBrett Cannon2012-02-291-0/+2
| | | | the os module.
* the days of pre-standard C compilers are goneBenjamin Peterson2012-02-261-10/+0
|
* Close issue #6210: Implement PEP 409Nick Coghlan2012-02-261-0/+1
|
* - Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah2012-02-253-49/+44
| | | | | | | | | | | | | | | | | | and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory.
* Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separatorVictor Stinner2012-02-231-15/+3
| | | | | | | | | | | * Decode thousands separator and decimal point using PyUnicode_DecodeLocale() (from the locale encoding), instead of decoding them implicitly from latin1 * Remove _PyUnicode_InsertThousandsGroupingLocale(), it was not used * Change _PyUnicode_InsertThousandsGrouping() API to return the maximum character if unicode is NULL * Replace MIN/MAX macros by Py_MIN/Py_MAX * stringlib/undef.h undefines STRINGLIB_IS_UNICODE * stringlib/localeutil.h only supports Unicode
* Fix test failure in test_cmd_line by initializing the hash secret at the ↵Antoine Pitrou2012-02-212-0/+3
|\ | | | | | | earliest point.
| * Fix test failure in test_cmd_line by initializing the hash secret at the ↵Antoine Pitrou2012-02-212-0/+3
| | | | | | | | earliest point.
* | merge 3.2Benjamin Peterson2012-02-211-0/+4
|\ \ | |/
| * merge 3.2Benjamin Peterson2012-02-211-0/+4
| |\
| | * ensure no one tries to hash things before the random seed is foundBenjamin Peterson2012-02-211-0/+4
| | |
* | | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-203-0/+9
|\ \ \ | |/ /
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-203-0/+9
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-203-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * onto 3.1.5Benjamin Peterson2011-06-111-1/+1
| | |
| | * bump to 3.1.4v3.1.4Benjamin Peterson2011-06-111-3/+3
| | |
| | * bump to 3.1.4rc1Benjamin Peterson2011-05-291-4/+4
| | |
| | * Port 5b607cd8c71b (closes #11892)Jesus Cea2011-04-201-0/+4
| | |
* | | add generic implementation of a __dict__ descriptor for C typesBenjamin Peterson2012-02-201-0/+2
| | |
* | | Backout f8409b3d6449: the PEP 410 is not accepted yetVictor Stinner2012-02-081-27/+1
| | |
* | | PEP 410Victor Stinner2012-02-081-1/+27
| | |
* | | Issue #13706: Add assertions to detect bugs earlierVictor Stinner2012-01-311-0/+3
| | |
* | | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵Antoine Pitrou2012-01-291-0/+6
|\ \ \ | |/ / | | | | | | | | | | | | in the file name. Patch by Hynek Schlawack.
| * | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵Antoine Pitrou2012-01-291-0/+6
| | | | | | | | | | | | | | | | | | in the file name. Patch by Hynek Schlawack.
* | | use the static identifier api for looking up special methodsBenjamin Peterson2012-01-222-30/+30
| | | | | | | | | | | | | | | I had to move the static identifier code from unicodeobject.h to object.h in order for this to work.
* | | 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.