summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Reformat by replacing tabs with 4-spaces. Makes the code more PEP-7 compliantEli Bendersky2012-04-051-8/+8
| | | | and gets rid of some gross formatting on tab=4-space-configured editors.
* Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in ↵Antoine Pitrou2012-04-042-2/+5
| | | | the stable ABI.
* Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-0/+2
|
* Post-release update.Georg Brandl2012-04-021-1/+1
|
* Bump to 3.3.0a2.v3.3.0a2Georg Brandl2012-04-011-2/+2
|
* Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functionsVictor Stinner2012-03-261-0/+2
| | | | | These functions simplify the usage of static constant Unicode strings. Generalize the usage of _Py_Identifier in ceval.c and typeobject.c.
* Merge with 3.2 (Issue #14387)Kristján Valur Jónsson2012-03-221-0/+2
|\
| * Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.Kristján Valur Jónsson2012-03-221-0/+2
| |
* | Issue #14387: Do not include accu.h from Python.h.Antoine Pitrou2012-03-221-1/+0
|\ \ | |/
| * Issue #14387: Do not include accu.h from Python.h.Antoine Pitrou2012-03-221-1/+0
| |
| * Merge 3.2.3rc2 from release clone.Georg Brandl2012-03-181-2/+2
| |\
| | * Post-release updates for 3.2.3rc2.Georg Brandl2012-03-181-1/+1
| | |
| | * Bump to 3.2.3rc2.v3.2.3rc2Georg Brandl2012-03-181-2/+2
| | |
| | * 3.2.3rc1 doneGeorg Brandl2012-02-251-1/+1
| | |
* | | make _PyNumber_ConvertIntegralToInt static, since it's only used in abstract.cBenjamin Peterson2012-03-211-15/+0
| | |
* | | Issue #7652: Integrate the decimal floating point libmpdec library to speedStefan Krah2012-03-211-1/+1
| | | | | | | | | | | | | | | up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application.
* | | perform yield from delegation by repeating YIELD_FROM opcode (closes #14230)Benjamin Peterson2012-03-152-2/+2
| | | | | | | | | | | | | | | | | | | | | This allows generators that are using yield from to be seen by debuggers. It also kills the f_yieldfrom field on frame objects. Patch mostly from Mark Shannon with a few tweaks by me.
* | | merge 3.2Matthias Klose2012-03-141-1/+1
|\ \ \ | |/ /
| * | merge 3.1Matthias Klose2012-03-141-1/+1
| |\ \ | | |/ | |/|
| | * - rename configure.in to configure.acMatthias Klose2012-03-141-1/+1
| | | | | | | | | | | | - change references from configure.in to configure.ac
| | * version now 3.1.5rc1v3.1.5rc1Benjamin Peterson2012-02-231-4/+4
| | |
| * | Bump version to 3.2.3rc1.Georg Brandl2012-02-231-4/+4
| | |
* | | Close #14180: Factorize code to convert a number of seconds to time_t, ↵Victor Stinner2012-03-132-27/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timeval or timespec time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now raises an OverflowError, instead of a ValueError, if the timestamp does not fit in time_t. datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now round microseconds towards zero instead of rounding to nearest with ties going away from zero.
* | | Fix regression after c8d1df9ac987Antoine Pitrou2012-03-101-1/+1
| | | | | | | | | | | | (PPC buildbot)
* | | Fix a comment: PySequence_Fast() creates a list, not a tuple.Larry Hastings2012-03-061-1/+1
| | |
* | | 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
| | |