Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13783: the PEP 380 implementation no longer expands the public C API | Nick Coghlan | 2012-06-17 | 2 | -4/+1 |
| | |||||
* | Issue #15026: utf-16 encoding is now significantly faster (up to 10x). | Antoine Pitrou | 2012-06-15 | 1 | -2/+2 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result | Victor Stinner | 2012-06-12 | 1 | -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 bitfield | Victor Stinner | 2012-06-04 | 1 | -6/+4 |
| | |||||
* | Trunk merge. | Barry Warsaw | 2012-06-04 | 1 | -1/+1 |
|\ | |||||
| * | __GNUC__ does not imply gcc version is present, so just check for version ↵ | Benjamin Peterson | 2012-06-04 | 1 | -1/+1 |
| | | | | | | | | (closes #14994) | ||||
* | | Eric Snow's implementation of PEP 421. | Barry Warsaw | 2012-06-03 | 2 | -0/+18 |
|/ | | | | Issue 14673: Add sys.implementation | ||||
* | Issue #14090: fix some minor C API problems in default branch (3.3) | Eli Bendersky | 2012-06-03 | 1 | -2/+5 |
| | |||||
* | Issue #14007: implement doctype() method calling in XMLParser of _elementtree. | Eli Bendersky | 2012-06-01 | 1 | -0/+2 |
| | | | | Includes exposing a doctype handler from expat through pyexpat. | ||||
* | Post-release update. | Georg Brandl | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | Bump version to 3.3.0a4.v3.3.0a4 | Georg Brandl | 2012-05-30 | 1 | -2/+2 |
| | |||||
* | Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args ↵ | Victor Stinner | 2012-05-29 | 4 | -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 Oudkerk | 2012-05-28 | 1 | -0/+1 |
| | |||||
* | s/tabs/spaces, and clean trailing whitespace | Eli Bendersky | 2012-05-23 | 1 | -28/+27 |
| | |||||
* | Widen ASDL sequences to Py_ssize_t lengths to better match PEP 353. | Martin v. Löwis | 2012-05-15 | 1 | -4/+4 |
| | |||||
* | PEP 415: Implement suppression of __context__ display with an exception ↵ | Benjamin Peterson | 2012-05-15 | 1 | -2/+2 |
| | | | | | | attribute This replaces the original PEP 409 implementation. See #14133. | ||||
* | Post-3.3a3 bump. | Georg Brandl | 2012-05-06 | 1 | -1/+1 |
| | |||||
* | Issue #14127: Add ns= parameter to utime, futimes, and lutimes. | Larry Hastings | 2012-05-03 | 1 | -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 fields | Benjamin Peterson | 2012-05-01 | 1 | -2/+2 |
| | |||||
* | Bump to 3.3.0a3. | Georg Brandl | 2012-05-01 | 1 | -2/+2 |
| | |||||
* | Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py. | Brett Cannon | 2012-04-29 | 1 | -1/+0 |
| | | | | Thanks to Eric Snow for the patch. | ||||
* | Issue #14521: Make result of float('nan') and float('-nan') more consistent ↵ | Mark Dickinson | 2012-04-29 | 1 | -0/+2 |
| | | | | across platforms. Further, don't rely on Py_HUGE_VAL for float('inf'). | ||||
* | Issue #14428, #14397: Implement the PEP 418 | Victor Stinner | 2012-04-29 | 1 | -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 Stinner | 2012-04-27 | 1 | -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. Loewis | 2012-04-24 | 1 | -0/+1 |
| | |||||
* | Close #14648: Compute correctly maxchar in str.format() for substrin | Victor Stinner | 2012-04-23 | 1 | -0/+9 |
| | |||||
* | Implement PEP 412: Key-sharing dictionaries (closes #13903) | Benjamin Peterson | 2012-04-23 | 2 | -69/+19 |
| | | | | Patch from Mark Shannon. | ||||
* | Issue #14127: Add st_{cma}time_ns fields to os.stat() result object. | Larry Hastings | 2012-04-19 | 1 | -0/+4 |
| | |||||
* | Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo. | Martin v. Löwis | 2012-04-19 | 1 | -0/+2 |
| | | | | Patch by Stefan Behnel. | ||||
* | Fix #14600. Correct reference handling and naming of ImportError convenience ↵ | Brian Curtin | 2012-04-17 | 1 | -3/+2 |
| | | | | function | ||||
* | Issue #13889: Merge fix from 3.2. | Mark Dickinson | 2012-04-15 | 1 | -0/+24 |
|\ | |||||
| * | Issue #13889: On MSVC builds, set FPU control word at runtime for all string ↵ | Mark Dickinson | 2012-04-15 | 1 | -0/+24 |
| | | | | | | | | <-> float conversions. Patch by Samuel Iseli and Stefan Krah. | ||||
| * | Merge 3.2.3 release clone. | Georg Brandl | 2012-04-11 | 1 | -3/+3 |
| |\ | |||||
| | * | Post-release update. | Georg Brandl | 2012-04-11 | 1 | -1/+1 |
| | | | |||||
| | * | Bump to 3.2.3 final. | Georg Brandl | 2012-04-10 | 1 | -3/+3 |
| | | | |||||
| | * | Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers. | Kristján Valur Jónsson | 2012-03-22 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #2377: Make importlib the implementation of __import__(). | Brett Cannon | 2012-04-14 | 5 | -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 brothers | Benjamin Peterson | 2012-04-13 | 1 | -7/+7 |
| | | | |||||
* | | | Issue #1559549: Add 'name' and 'path' attributes to ImportError. | Brett Cannon | 2012-04-13 | 1 | -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 compliant | Eli Bendersky | 2012-04-05 | 1 | -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 Pitrou | 2012-04-04 | 2 | -2/+5 |
| | | | | | | | | | | | | the stable ABI. | ||||
* | | | Issue #14288: Serialization support for builtin iterators. | Kristján Valur Jónsson | 2012-04-03 | 1 | -0/+2 |
| | | | |||||
* | | | Post-release update. | Georg Brandl | 2012-04-02 | 1 | -1/+1 |
| | | | |||||
* | | | Bump to 3.3.0a2.v3.3.0a2 | Georg Brandl | 2012-04-01 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions | Victor Stinner | 2012-03-26 | 1 | -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ónsson | 2012-03-22 | 1 | -0/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers. | Kristján Valur Jónsson | 2012-03-22 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #14387: Do not include accu.h from Python.h. | Antoine Pitrou | 2012-03-22 | 1 | -1/+0 |
|\ \ \ | |/ / | |||||
| * | | Issue #14387: Do not include accu.h from Python.h. | Antoine Pitrou | 2012-03-22 | 1 | -1/+0 |
| | | | |||||
| * | | Merge 3.2.3rc2 from release clone. | Georg Brandl | 2012-03-18 | 1 | -2/+2 |
| |\ \ | | |/ |