summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* 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__().
* | | 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
| | |