Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Close #14232: catch mmap() failure in new_arena() of obmalloc | Victor Stinner | 2012-03-09 | 1 | -3/+8 |
| | |||||
* | refactor and avoid warnings | Benjamin Peterson | 2012-03-09 | 1 | -7/+5 |
| | |||||
* | Issue #14211: _PyObject_GenericSetAttrWithDict() keeps a strong reference to | Victor Stinner | 2012-03-08 | 1 | -4/+5 |
| | | | | | the descriptor because it may be destroyed before being used, destroyed during the update of the dict for example. | ||||
* | Close #14199: _PyType_Lookup() and super_getattro() keep a strong reference to | Victor Stinner | 2012-03-08 | 1 | -0/+9 |
| | | | | the type MRO to avoid a crash if the MRO is changed during the lookup. | ||||
* | merge 3.2 (#3787e896dbe9) | Benjamin Peterson | 2012-03-08 | 1 | -2/+7 |
|\ | |||||
| * | allow cycles throught the __dict__ slot to be cleared (closes #1469629) | Benjamin Peterson | 2012-03-08 | 1 | -2/+7 |
| | | | | | | | | Patch from Armin, test from me. | ||||
* | | make gi_running a boolean | Benjamin Peterson | 2012-03-08 | 1 | -1/+1 |
| | | |||||
* | | indicate we're not running as we leave this block | Benjamin Peterson | 2012-03-08 | 1 | -0/+1 |
| | | |||||
* | | make delegating generators say they running (closes #14220) | Benjamin Peterson | 2012-03-07 | 1 | -14/+37 |
| | | |||||
* | | Whitespace. | Stefan Krah | 2012-03-06 | 1 | -1/+1 |
| | | |||||
* | | Remove an unused variable | Victor Stinner | 2012-03-06 | 1 | -1/+0 |
| | | |||||
* | | Close #14205: dict lookup raises a RuntimeError if the dict is modified during | Victor Stinner | 2012-03-06 | 1 | -12/+6 |
| | | | | | | | | | | | | | | a lookup. "if you want to make a sandbox on top of CPython, you have to fix segfaults" so let's fix segfaults! | ||||
* | | Merge. | Stefan Krah | 2012-03-05 | 1 | -1/+0 |
|\ \ | |||||
| * | | remove f_yieldfrom access from Python (closes #13970) | Benjamin Peterson | 2012-03-05 | 1 | -1/+0 |
| | | | |||||
* | | | Issue #14181: Preserve backwards compatibility for getbufferprocs that a) do | Stefan Krah | 2012-03-05 | 1 | -1/+1 |
|/ / | | | | | | | | | not adhere to the new documentation and b) manage to clobber view->obj before returning failure. | ||||
* | | Issue #14181: Allow memoryview construction from an object that uses the | Stefan Krah | 2012-03-05 | 1 | -3/+0 |
| | | | | | | | | getbuffer redirection scheme. | ||||
* | | Close #14085: remove assertions from PyUnicode_WRITE macro | Victor Stinner | 2012-03-04 | 1 | -1/+10 |
| | | | | | | | | | | Add checks in PyUnicode_WriteChar() and convert PyUnicode_New() assertion to a test raising a Python exception. | ||||
* | | 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 |
| | | |