summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Post-3.3a3 bump.Georg Brandl2012-05-061-1/+1
|
* Issue #14127: Add ns= parameter to utime, futimes, and lutimes.Larry Hastings2012-05-031-0/+4
| | | | | | Removed futimens as it is now redundant. Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat and ns= parameter to utime--it once again preserves exact metadata on Linux!
* strip is_ prefixes on clock_info fieldsBenjamin Peterson2012-05-011-2/+2
|
* Bump to 3.3.0a3.Georg Brandl2012-05-011-2/+2
|
* Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py.Brett Cannon2012-04-291-1/+0
| | | | Thanks to Eric Snow for the patch.
* Issue #14521: Make result of float('nan') and float('-nan') more consistent ↵Mark Dickinson2012-04-291-0/+2
| | | | across platforms. Further, don't rely on Py_HUGE_VAL for float('inf').
* Issue #14428, #14397: Implement the PEP 418Victor Stinner2012-04-291-0/+14
| | | | | | | | | * Rename time.steady() to time.monotonic() * On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of QueryPerformanceCounter() * time.monotonic() uses CLOCK_HIGHRES if available * Add time.get_clock_info(), time.perf_counter() and time.process_time() functions
* Simplify and optimize formatlong()Victor Stinner2012-04-271-2/+0
| | | | | | | * Remove _PyBytes_FormatLong(): inline it into formatlong() * the input type is always a long, so remove the code for bool * don't duplicate the string if the length does not change * Use PyUnicode_DATA() instead of _PyUnicode_AsString()
* 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
| | |