Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 3.2 | Benjamin Peterson | 2012-02-21 | 1 | -0/+4 |
|\ | |||||
| * | merge 3.2 | Benjamin Peterson | 2012-02-21 | 1 | -0/+4 |
| |\ | |||||
| | * | ensure no one tries to hash things before the random seed is found | Benjamin Peterson | 2012-02-21 | 1 | -0/+4 |
| | | | |||||
* | | | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 3 | -0/+9 |
|\ \ \ | |/ / | |||||
| * | | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 3 | -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 Brandl | 2012-02-20 | 3 | -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.5 | Benjamin Peterson | 2011-06-11 | 1 | -1/+1 |
| | | | |||||
| | * | bump to 3.1.4v3.1.4 | Benjamin Peterson | 2011-06-11 | 1 | -3/+3 |
| | | | |||||
| | * | bump to 3.1.4rc1 | Benjamin Peterson | 2011-05-29 | 1 | -4/+4 |
| | | | |||||
| | * | Port 5b607cd8c71b (closes #11892) | Jesus Cea | 2011-04-20 | 1 | -0/+4 |
| | | | |||||
* | | | add generic implementation of a __dict__ descriptor for C types | Benjamin Peterson | 2012-02-20 | 1 | -0/+2 |
| | | | |||||
* | | | Backout f8409b3d6449: the PEP 410 is not accepted yet | Victor Stinner | 2012-02-08 | 1 | -27/+1 |
| | | | |||||
* | | | PEP 410 | Victor Stinner | 2012-02-08 | 1 | -1/+27 |
| | | | |||||
* | | | Issue #13706: Add assertions to detect bugs earlier | Victor Stinner | 2012-01-31 | 1 | -0/+3 |
| | | | |||||
* | | | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -0/+6 |
|\ \ \ | |/ / | | | | | | | | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
| * | | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
* | | | use the static identifier api for looking up special methods | Benjamin Peterson | 2012-01-22 | 2 | -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 Inge | 2012-01-19 | 1 | -0/+1 |
| | | | | | | | | | | | | interactive statement | ||||
* | | | Issue #13727: Add 3 macros to access PyDateTime_Delta members: | Amaury Forgeot d'Arc | 2012-01-17 | 1 | -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 belongs | Benjamin Peterson | 2012-01-16 | 1 | -0/+1 |
| | | | |||||
* | | | Issue #13629: Renumber the tokens in token.h to match the ↵ | Meador Inge | 2012-01-16 | 1 | -31/+30 |
|\ \ \ | |/ / | | | | | | | _PyParser_TokenNames indexes. | ||||
| * | | Issue #13629: Renumber the tokens in token.h to match the ↵ | Meador Inge | 2012-01-16 | 1 | -31/+30 |
| | | | | | | | | | | | | _PyParser_TokenNames indexes. | ||||
* | | | Consolidate the occurrances of the prime used as the multiplier when hashing. | Gregory P. Smith | 2012-01-14 | 1 | -1/+4 |
|\ \ \ | |/ / | |||||
| * | | Consolidate the occurrances of the prime used as the multiplier when hashing | Gregory P. Smith | 2012-01-14 | 1 | -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 Peterson | 2012-01-14 | 1 | -0/+5 |
| | | | |||||
* | | | make YieldFrom its own distinct from Yield (closes #13780) | Benjamin Peterson | 2012-01-14 | 1 | -8/+13 |
| | | | |||||
* | | | Fix indenting | Nick Coghlan | 2012-01-14 | 1 | -10/+10 |
| | | | |||||
* | | | Silence compilation warnings on Windows | Amaury Forgeot d'Arc | 2012-01-13 | 1 | -2/+2 |
| | | | |||||
* | | | Implement PEP 380 - 'yield from' (closes #11682) | Nick Coghlan | 2012-01-13 | 6 | -127/+140 |
| | | | |||||
* | | | use full unicode mappings for upper/lower/title case (#12736) | Benjamin Peterson | 2012-01-11 | 1 | -0/+23 |
| | | | | | | | | | | | | Also broaden the category of characters that count as lowercase/uppercase. | ||||
* | | | Add a new PyUnicode_Fill() function | Victor Stinner | 2012-01-03 | 1 | -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 Pitrou | 2011-12-23 | 1 | -1/+2 |
| | | | | | | | | | | | | Patch by sbt. | ||||
* | | | fix PyCompactUnicodeObject doc (test) | Victor Stinner | 2011-12-22 | 1 | -1/+1 |
| | | | |||||
* | | | backout 7876cd49300d: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum | Victor Stinner | 2011-12-19 | 1 | -4/+3 |
| | | | |||||
* | | | Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum | Victor Stinner | 2011-12-17 | 1 | -3/+4 |
| | | | |||||
* | | | Issue #13560: Locale codec functions use the classic "errors" parameter, | Victor Stinner | 2011-12-17 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | instead of surrogateescape So it would be possible to support more error handlers later. | ||||
* | | | Issue #13560: Add PyUnicode_EncodeLocale() | Victor Stinner | 2011-12-17 | 1 | -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 Stinner | 2011-12-16 | 1 | -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 Pitrou | 2011-12-16 | 1 | -0/+2 |
| | | | | | | | | | | | | Initial patch by Matthias Troffaes. | ||||
* | | | improve abstract property support (closes #11610) | Benjamin Peterson | 2011-12-15 | 1 | -0/+1 |
| | | | | | | | | | | | | Thanks to Darren Dale for patch. | ||||
* | | | Issue #13577: various kinds of descriptors now have a __qualname__ attribute. | Antoine Pitrou | 2011-12-12 | 1 | -0/+1 |
| | | | | | | | | | | | | Patch by sbt. | ||||
* | | | PyUnicode_Resize(): warn about canonical representation | Victor Stinner | 2011-12-12 | 1 | -1/+4 |
| | | | | | | | | | | | | Call also directly unicode_resize() in unicodeobject.c | ||||
* | | | Fix PyUnicode_Resize() for compact string: leave the string unchanged on error | Victor Stinner | 2011-12-12 | 1 | -8/+5 |
| | | | | | | | | | | | | Fix also PyUnicode_Resize() doc | ||||
* | | | Make PyUnicode_Copy() private => _PyUnicode_Copy() | Victor Stinner | 2011-12-12 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | Undocument the function. Make also decode_utf8_errors() as private (static). | ||||
* | | | resize_copy() now supports legacy ready strings | Victor Stinner | 2011-12-11 | 1 | -0/+4 |
| | | | |||||
* | | | PyUnicode_IS_ASCII() macro ensures that the string is ready | Victor Stinner | 2011-12-12 | 1 | -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. (Fix | Barry Warsaw | 2011-12-05 | 1 | -0/+1 |
|\ \ \ | |/ / | | | | | | | given by Campbell Barton). | ||||
| * | | - Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix | Barry Warsaw | 2011-12-05 | 1 | -0/+1 |
| | | | | | | | | | | | | given by Campbell Barton). | ||||
* | | | Py_UNICODE_HIGH_SURROGATE() and Py_UNICODE_LOW_SURROGATE() macros | Victor Stinner | 2011-11-29 | 1 | -0/+4 |
| | | | | | | | | | | | | And use surrogates macros everywhere in unicodeobject.c | ||||
* | | | MERGE: Closes issue #13488: Some old preprocessors have problem with #define ↵ | Jesus Cea | 2011-11-27 | 1 | -80/+80 |
|\ \ \ | |/ / | | | | | | | not in the first column |