summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Account for shared keys in type's __sizeof__ (#13903).Martin v. Loewis2012-04-241-0/+1
|
* Close #14648: Compute correctly maxchar in str.format() for substrinVictor Stinner2012-04-231-0/+9
|
* Implement PEP 412: Key-sharing dictionaries (closes #13903)Benjamin Peterson2012-04-232-69/+19
| | | | Patch from Mark Shannon.
* Issue #14127: Add st_{cma}time_ns fields to os.stat() result object.Larry Hastings2012-04-191-0/+4
|
* Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo.Martin v. Löwis2012-04-191-0/+2
| | | | Patch by Stefan Behnel.
* Fix #14600. Correct reference handling and naming of ImportError convenience ↵Brian Curtin2012-04-171-3/+2
| | | | function
* Issue #13889: Merge fix from 3.2.Mark Dickinson2012-04-151-0/+24
|\
| * Issue #13889: On MSVC builds, set FPU control word at runtime for all string ↵Mark Dickinson2012-04-151-0/+24
| | | | | | | | <-> float conversions. Patch by Samuel Iseli and Stefan Krah.
| * Merge 3.2.3 release clone.Georg Brandl2012-04-111-3/+3
| |\
| | * Post-release update.Georg Brandl2012-04-111-1/+1
| | |
| | * Bump to 3.2.3 final.Georg Brandl2012-04-101-3/+3
| | |
| | * Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.Kristján Valur Jónsson2012-03-221-0/+2
| | |
* | | Issue #2377: Make importlib the implementation of __import__().Brett Cannon2012-04-145-1/+12
| | | | | | | | | | | | | | | | | | | | | importlib._bootstrap is now frozen into Python/importlib.h and stored as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen code along with sys and imp and then uses _frozen_importlib._install() to set builtins.__import__() w/ _frozen_importlib.__import__().
* | | put PyImportErrorObject with its brothersBenjamin Peterson2012-04-131-7/+7
| | |
* | | Issue #1559549: Add 'name' and 'path' attributes to ImportError.Brett Cannon2012-04-131-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Currently import does not use these attributes as they are planned for use by importlib (which will be another commit). Thanks to Filip Gruszczyński for the initial patch and Brian Curtin for refining it.
* | | 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.