Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13521: dict.setdefault() now does only one lookup for the given key, ↵ | Antoine Pitrou | 2012-02-26 | 1 | -42/+70 |
|\ | | | | | | | | | | | making it "atomic" for many purposes. Patch by Filip Gruszczyński. | ||||
| * | Issue #13521: dict.setdefault() now does only one lookup for the given key, ↵ | Antoine Pitrou | 2012-02-26 | 1 | -42/+70 |
| | | | | | | | | | | | | making it "atomic" for many purposes. Patch by Filip Gruszczyński. | ||||
* | | Close issue #6210: Implement PEP 409 | Nick Coghlan | 2012-02-26 | 1 | -11/+18 |
| | | |||||
* | | #14081: The sep and maxsplit parameter to str.split, bytes.split, and ↵ | Ezio Melotti | 2012-02-26 | 3 | -24/+36 |
| | | | | | | | | bytearray.split may now be passed as keyword arguments. | ||||
* | | - Issue #10181: New memoryview implementation fixes multiple ownership | Stefan Krah | 2012-02-25 | 3 | -570/+2312 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Close #14095: type.__new__() doesn't remove __qualname__ key from the class | Victor Stinner | 2012-02-25 | 1 | -85/+70 |
| | | | | | | | | | | dict anymore if the key is present. Reject also non-string qualified names. And fix reference leaks in type.__new__(). | ||||
* | | Oops, revert unwanted changes | Victor Stinner | 2012-02-24 | 1 | -18/+6 |
| | | |||||
* | | Issue #14107: fix bigmem tests on str.capitalize(), str.swapcase() and | Victor Stinner | 2012-02-24 | 1 | -6/+18 |
| | | | | | | | | | | str.title(). Compute correctly how much memory is required for the test (memuse). | ||||
* | | Fix compilation error under Windows (and warnings too). | Antoine Pitrou | 2012-02-24 | 1 | -9/+9 |
| | | |||||
* | | Issue #13706: Fix format(float, "n") for locale with non-ASCII decimal point ↵ | Victor Stinner | 2012-02-24 | 1 | -5/+16 |
| | | | | | | | | (e.g. ps_aF) | ||||
* | | Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separator | Victor Stinner | 2012-02-23 | 9 | -83/+81 |
| | | | | | | | | | | | | | | | | | | | | | | * 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 doc of an internal function: unicode_write_cstr() | Victor Stinner | 2012-02-22 | 1 | -2/+3 |
| | | |||||
* | | Fix compile failure under Windows | Antoine Pitrou | 2012-02-22 | 1 | -1/+1 |
| | | |||||
* | | Optimize str%arg for number formats: %i, %d, %u, %x, %p | Victor Stinner | 2012-02-22 | 1 | -4/+52 |
| | | | | | | | | | | Write a specialized function to write an ASCII/latin1 C char* string into a Python Unicode string. | ||||
* | | Micro-optimize computation of maxchar in PyUnicode_TransformDecimalToASCII() | Victor Stinner | 2012-02-22 | 1 | -2/+2 |
| | | |||||
* | | Micro-optimize unicode_expandtabs(): use FILL() macro to write N spaces | Victor Stinner | 2012-02-22 | 1 | -5/+2 |
| | | |||||
* | | PyUnicode_New() and unicode_putchar() check for MAX_UNICODE maximum (U+10FFFF) | Victor Stinner | 2012-02-22 | 1 | -0/+2 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-02-21 | 2 | -0/+2 |
|\ \ | |/ | |||||
| * | merge 3.2 | Benjamin Peterson | 2012-02-21 | 2 | -0/+2 |
| |\ | |||||
| | * | ensure no one tries to hash things before the random seed is found | Benjamin Peterson | 2012-02-21 | 2 | -0/+2 |
| | | | |||||
* | | | update to Unicode 6.1 | Benjamin Peterson | 2012-02-21 | 1 | -1166/+1273 |
| | | | |||||
* | | | Forgot the "empty string -> hash == 0" special case for strings. | Georg Brandl | 2012-02-20 | 1 | -0/+8 |
| | | | |||||
* | | | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 2 | -6/+19 |
|\ \ \ | |/ / | |||||
| * | | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 3 | -2/+24 |
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | 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 | -2/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | check for NULL to fix segfault | Benjamin Peterson | 2012-02-20 | 1 | -1/+1 |
| | | | |||||
* | | | use new generic __dict__ descriptor implementations | Benjamin Peterson | 2012-02-20 | 2 | -90/+4 |
| | | | |||||
* | | | add generic implementation of a __dict__ descriptor for C types | Benjamin Peterson | 2012-02-20 | 2 | -18/+46 |
| | | | |||||
* | | | initialize __dict__ if needed | Benjamin Peterson | 2012-02-19 | 1 | -6/+12 |
| | | | |||||
* | | | use defaults | Benjamin Peterson | 2012-02-19 | 1 | -3/+3 |
| | | | |||||
* | | | merge 3.2 | Benjamin Peterson | 2012-02-19 | 1 | -3/+1 |
|\ \ \ | |/ / | |||||
| * | | use Py_CLEAR | Benjamin Peterson | 2012-02-19 | 1 | -3/+1 |
| | | | |||||
* | | | allow arbitrary attributes on classmethod and staticmethod (closes #14051) | Benjamin Peterson | 2012-02-19 | 1 | -3/+27 |
| | | | |||||
* | | | Issue #13020: Fix a reference leak when allocating a structsequence object ↵ | Antoine Pitrou | 2012-02-15 | 1 | -12/+13 |
|\ \ \ | |/ / | | | | | | | | | | | | | fails. Patch by Suman Saha. | ||||
| * | | Fix indentation | Antoine Pitrou | 2012-02-15 | 1 | -12/+12 |
| | | | |||||
| * | | Issue #13020: Fix a reference leak when allocating a structsequence object ↵ | Antoine Pitrou | 2012-02-15 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | fails. Patch by Suman Saha. | ||||
* | | | (Merge 3.2) Issue #13913: normalize utf-8 codec name in UTF-8 decoder | Victor Stinner | 2012-02-14 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #13913: normalize utf-8 codec name in UTF-8 decoder | Victor Stinner | 2012-02-14 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.2 | Benjamin Peterson | 2012-02-10 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | this is only a borrowed ref in Brett's branch | Benjamin Peterson | 2012-02-10 | 1 | -1/+1 |
| | | | |||||
* | | | Backout d2c1521ad0a1: _Py_IDENTIFIER() uses UTF-8 again | Victor Stinner | 2012-02-07 | 1 | -2/+3 |
| | | | |||||
* | | | merge 3.2 | Benjamin Peterson | 2012-02-06 | 1 | -1/+0 |
|\ \ \ | |/ / | |||||
| * | | bltinmod is borrowed, so it shouldn't be decrefed | Benjamin Peterson | 2012-02-06 | 1 | -1/+0 |
| | | | |||||
* | | | _Py_Identifier are always ASCII strings | Victor Stinner | 2012-02-05 | 1 | -3/+2 |
| | | | |||||
* | | | merge 3.2 | Benjamin Peterson | 2012-02-04 | 1 | -5/+10 |
|\ \ \ | |/ / | |||||
| * | | put returns on their own lines | Benjamin Peterson | 2012-02-04 | 1 | -5/+10 |
| | | | |||||
* | | | merge 3.2 (closes #13908) | Benjamin Peterson | 2012-01-30 | 1 | -1/+5 |
|\ \ \ | |/ / | |||||
| * | | ready types returned from PyType_FromSpec | Benjamin Peterson | 2012-01-30 | 1 | -0/+3 |
| | | | |||||
| * | | adjust declaration | Benjamin Peterson | 2012-01-30 | 1 | -1/+2 |
| | | | |||||
* | | | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -0/+13 |
|\ \ \ | |/ / | | | | | | | | | | | | | in the file name. Patch by Hynek Schlawack. |