summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Post-release updates.Georg Brandl2012-08-121-1/+1
|
* Bump to 3.3b2.v3.3.0b2Georg Brandl2012-08-111-2/+2
|
* Issue #15610: The PyImport_ImportModuleEx macro now callsBrett Cannon2012-08-101-1/+1
| | | | | | | | | PyImport_ImportModuleLevel() with a 'level' of 0 instead of -1 as the latter is no longer a valid value. Also added a versionchanged note for PyImport_ImportModuleLevel() just in case people don't make the connection between changes to __import__() and this C function.
* use char instead of int to please T_BOOL (closes #15597)Benjamin Peterson2012-08-091-1/+1
|
* MERGE: Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-0/+3
|\
| * Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-0/+3
| |
* | Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.Stefan Krah2012-07-281-2/+3
| |
* | Bump version to 3.3.0b1.v3.3.0b1Georg Brandl2012-06-261-3/+3
| |
* | Issue #11626: Add _SizeT functions to stable ABI.Martin v. Löwis2012-06-231-1/+4
| |
* | Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.Martin v. Löwis2012-06-231-0/+3
| |
* | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵David Malcolm2012-06-229-1/+26
| | | | | | | | allocation issues
* | Issue #15042: Add PyState_AddModule and PyState_RemoveModule.Martin v. Löwis2012-06-221-0/+5
| | | | | | | | | | | | Add version guard for Py_LIMITED_API additions. Issue #15081: Document PyState_FindModule. Patch by Robin Schreiber.
* | Issue #14928: Fix importlib bootstrap issues by using a custom executable ↵Antoine Pitrou2012-06-191-0/+3
| | | | | | | | (Modules/_freeze_importlib) to build Python/importlib.h.
* | Issue #13783: the PEP 380 implementation no longer expands the public C APINick Coghlan2012-06-172-4/+1
| |
* | Issue #15026: utf-16 encoding is now significantly faster (up to 10x).Antoine Pitrou2012-06-151-2/+2
| | | | | | | | Patch by Serhiy Storchaka.
* | PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() resultVictor Stinner2012-06-121-1/+1
| | | | | | | | | | | | | | | | Fix also its value on Windows and Linux according to its documentation: "adjustable" indicates if the clock *can be* adjusted, not if it is or was adjusted. In most cases, it is not possible to indicate if a clock is or was adjusted.
* | Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfieldVictor Stinner2012-06-041-6/+4
| |
* | Trunk merge.Barry Warsaw2012-06-041-1/+1
|\ \
| * | __GNUC__ does not imply gcc version is present, so just check for version ↵Benjamin Peterson2012-06-041-1/+1
| | | | | | | | | | | | (closes #14994)
* | | Eric Snow's implementation of PEP 421.Barry Warsaw2012-06-032-0/+18
|/ / | | | | | | Issue 14673: Add sys.implementation
* | Issue #14090: fix some minor C API problems in default branch (3.3)Eli Bendersky2012-06-031-2/+5
| |
* | Issue #14007: implement doctype() method calling in XMLParser of _elementtree.Eli Bendersky2012-06-011-0/+2
| | | | | | | | Includes exposing a doctype handler from expat through pyexpat.
* | Post-release update.Georg Brandl2012-05-311-1/+1
| |
* | Bump version to 3.3.0a4.v3.3.0a4Georg Brandl2012-05-301-2/+2
| |
* | Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args ↵Victor Stinner2012-05-294-19/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and str.format(args) * Formatting string, int, float and complex use the _PyUnicodeWriter API. It avoids a temporary buffer in most cases. * Add _PyUnicodeWriter_WriteStr() to restore the PyAccu optimization: just keep a reference to the string if the output is only composed of one string * Disable overallocation when formatting the last argument of str%args and str.format(args) * Overallocation allocates at least 100 characters: add min_length attribute to the _PyUnicodeWriter structure * Add new private functions: _PyUnicode_FastCopyCharacters(), _PyUnicode_FastFill() and _PyUnicode_FromASCII() The speed up is around 20% in average.
* | Issue #14930: Make memoryview objects weakrefable.Richard Oudkerk2012-05-281-0/+1
| |
* | s/tabs/spaces, and clean trailing whitespaceEli Bendersky2012-05-231-28/+27
| |
* | Widen ASDL sequences to Py_ssize_t lengths to better match PEP 353.Martin v. Löwis2012-05-151-4/+4
| |
* | PEP 415: Implement suppression of __context__ display with an exception ↵Benjamin Peterson2012-05-151-2/+2
| | | | | | | | | | | | attribute This replaces the original PEP 409 implementation. See #14133.
* | 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__().