Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | in dict displays, evaluate the key before the value (closes #11205) | Benjamin Peterson | 2015-05-28 | 3 | -112/+112 | |
| | | | | | | | | | | | | Patch partially by Steve Dougherty. | |||||
* | | | Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc. | Yury Selivanov | 2015-05-28 | 1 | -2/+2 | |
| | | | ||||||
* | | | Issue #24285: fix importing extensions from packages | Nick Coghlan | 2015-05-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #24268: Fix import naming when loading extension modules. Patch by ↵ | Steve Dower | 2015-05-23 | 3 | -4/+4 | |
| | | | | | | | | | | | | Petr Viktorin. | |||||
* | | | Issue #24268: Fixes generation of init import name on Windows. | Steve Dower | 2015-05-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | PEP 489: Multi-phase extension module initialization | Nick Coghlan | 2015-05-23 | 13 | -2867/+3090 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Known limitations of the current implementation: - documentation changes are incomplete - there's a reference leak I haven't tracked down yet The leak is most visible by running: ./python -m test -R3:3 test_importlib However, you can also see it by running: ./python -X showrefcount Importing the array or _testmultiphase modules, and then deleting them from both sys.modules and the local namespace shows significant increases in the total number of active references each cycle. By contrast, with _testcapi (which continues to use single-phase initialisation) the global refcounts stabilise after a couple of cycles. | |||||
* | | | Issue #24102: Fixed exception type checking in standard error handlers. | Serhiy Storchaka | 2015-05-18 | 1 | -27/+21 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #24102: Fixed exception type checking in standard error handlers. | Serhiy Storchaka | 2015-05-18 | 1 | -24/+18 | |
| | | | ||||||
* | | | allow test node after ** in calls (closes #24176) | Benjamin Peterson | 2015-05-16 | 1 | -8/+4 | |
| | | | ||||||
* | | | Issue #24192: Fix namespace package imports. | Eric Snow | 2015-05-16 | 2 | -4525/+4482 | |
| | | | ||||||
* | | | Issue 24017: fix for "async with" refcounting | Nick Coghlan | 2015-05-13 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | * adds missing INCREF in WITH_CLEANUP_START * adds missing DECREF in WITH_CLEANUP_FINISH * adds several new tests Yury created while investigating this | |||||
* | | | use our normal bracing style | Benjamin Peterson | 2015-05-12 | 1 | -1/+2 | |
| | | | ||||||
* | | | Issue #24017: Plug ref leak. | Yury Selivanov | 2015-05-12 | 1 | -2/+0 | |
| | | | ||||||
* | | | Fix warnings for PyEval_GetCoroutineWrapper | Yury Selivanov | 2015-05-12 | 1 | -1/+1 | |
| | | | ||||||
* | | | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 12 | -5389/+6617 | |
| | | | ||||||
* | | | PEP 479: Change StopIteration handling inside generators. | Yury Selivanov | 2015-05-09 | 1 | -0/+2 | |
| | | | | | | | | | | | | Closes issue #22906. | |||||
* | | | Merge 3.4 | Benjamin Peterson | 2015-05-07 | 1 | -5/+4 | |
|\ \ \ | |/ / | ||||||
| * | | shorten capsule name macro; it doesn't need to be so long | Benjamin Peterson | 2015-05-07 | 1 | -4/+4 | |
| | | | ||||||
* | | | PEP 448: additional unpacking generalizations (closes #2292) | Benjamin Peterson | 2015-05-06 | 8 | -1902/+2211 | |
| | | | | | | | | | | | | Patch by Neil Girdhar. | |||||
* | | | merge 3.4 (#24096) | Benjamin Peterson | 2015-05-03 | 1 | -10/+27 | |
|\ \ \ | |/ / | ||||||
| * | | merge 3.3 (#24096) | Benjamin Peterson | 2015-05-03 | 1 | -10/+27 | |
| |\ \ | | |/ | ||||||
| | * | be more robust against the filters list changing under us (closes #24096) | Benjamin Peterson | 2015-05-03 | 1 | -6/+16 | |
| | | | ||||||
* | | | Issue #23911: Move path-based bootstrap code to a separate frozen module. | Eric Snow | 2015-05-03 | 5 | -4316/+4592 | |
| | | | ||||||
* | | | remove the concept of an unoptimized function scope from the compiler, since ↵ | Benjamin Peterson | 2015-04-28 | 2 | -21/+2 | |
| | | | | | | | | | | | | it can't happen anymore | |||||
* | | | Silence a gcc "may be used uninitialized" compiler warning. Not true. | Gregory P. Smith | 2015-04-26 | 1 | -0/+1 | |
| | | | | | | | | | | | | Initializing retval prevents the naive warning. | |||||
* | | | Add missing PyAPI_FUNC macro's to the public functions as other .c files do | Gregory P. Smith | 2015-04-26 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | in hopes that this fixes the windows extension module link error for modules trying to call _Py_strhex functions. issue9951. | |||||
* | | | Add the files missing from c9f1630cf2b1 for issue9951. | Gregory P. Smith | 2015-04-26 | 1 | -0/+60 | |
| | | | | | | | | | | | | hg status should be my friend more often... | |||||
* | | | merge 3.4 (#24049) | Benjamin Peterson | 2015-04-24 | 1 | -31/+0 | |
|\ \ \ | |/ / | ||||||
| * | | remove dead *-import checking code (closes #24049) | Benjamin Peterson | 2015-04-24 | 1 | -31/+0 | |
| | | | ||||||
* | | | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the | Serhiy Storchaka | 2015-04-23 | 2 | -31/+13 | |
| | | | | | | | | | | | | same line as function name. | |||||
* | | | Issue #23998: PyImport_ReInitLock() now checks for lock allocation error | Christian Heimes | 2015-04-19 | 1 | -1/+5 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #23998: PyImport_ReInitLock() now checks for lock allocation error | Christian Heimes | 2015-04-19 | 1 | -1/+5 | |
| |\ \ | | |/ | ||||||
| | * | Issue #23998: PyImport_ReInitLock() now checks for lock allocation error | Christian Heimes | 2015-04-19 | 1 | -1/+5 | |
| | | | ||||||
* | | | Fixed error message for the "u#" format code. | Serhiy Storchaka | 2015-04-19 | 1 | -3/+4 | |
|\ \ \ | |/ / | ||||||
| * | | Fixed error message for the "u#" format code. | Serhiy Storchaka | 2015-04-19 | 1 | -3/+4 | |
| | | | ||||||
* | | | Remove redundant check for tb != NULL to shut up Coverity . It has been set ↵ | Christian Heimes | 2015-04-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | to Py_None a couple of lines earlier. CID 1291697 (#1 of 1): Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking tb suggests that it may be null, but it has already been dereferenced on all paths leading to the check. | |||||
* | | | #23949: Improve tuple unpacking error messages. | R David Murray | 2015-04-15 | 1 | -7/+17 | |
| | | | | | | | | | | | | Patch by Arnon Yaari. | |||||
* | | | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 4 | -29/+49 | |
| | | | ||||||
* | | | Issue #23731: Implement PEP 488. | Brett Cannon | 2015-04-13 | 3 | -4227/+4284 | |
| | | | | | | | | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied. | |||||
* | | | Issue #23524: Replace _PyVerify_fd function with calls to ↵ | Steve Dower | 2015-04-12 | 4 | -54/+63 | |
| | | | | | | | | | | | | _set_thread_local_invalid_parameter_handler. | |||||
* | | | fix building without threads (closes #23877) | Benjamin Peterson | 2015-04-06 | 1 | -0/+4 | |
| | | | ||||||
* | | | Issue #23492: Argument Clinic now generates argument parsing code with | Serhiy Storchaka | 2015-04-03 | 2 | -23/+23 | |
| | | | | | | | | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible. | |||||
* | | | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 3 | -686/+691 | |
| | | | ||||||
* | | | Issue #22117: Add a new _PyTime_FromSeconds() function | Victor Stinner | 2015-04-03 | 2 | -3/+20 | |
| | | | | | | | | | | | | | | | Fix also _Py_InitializeEx_Private(): initialize time before initializing import, import_init() uses the _PyTime API (for thread locks). | |||||
* | | | Issue #22977: Fixed formatting Windows error messages on Wine. | Serhiy Storchaka | 2015-04-02 | 1 | -2/+2 | |
|\ \ \ | |/ / | | | | | | | Patch by Martin Panter. | |||||
| * | | Issue #22977: Fixed formatting Windows error messages on Wine. | Serhiy Storchaka | 2015-04-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | Patch by Martin Panter. | |||||
* | | | Issue #23836: Use _Py_write_noraise() to retry on EINTR in _Py_DumpTraceback() | Victor Stinner | 2015-04-01 | 1 | -8/+20 | |
| | | | | | | | | | | | | | | | and _Py_DumpTracebackThreads(). Document also these functions to explain that the caller is responsible to call PyErr_CheckSignals(). | |||||
* | | | Issue #23836: Document functions releasing the GIL in fileutils.c | Victor Stinner | 2015-04-01 | 1 | -3/+5 | |
| | | | ||||||
* | | | Issue #23836: Add _Py_write_noraise() function | Victor Stinner | 2015-04-01 | 1 | -48/+83 | |
| | | | | | | | | | | | | | | | Helper to write() which retries write() if it is interrupted by a signal (fails with EINTR). | |||||
* | | | Issue #22117, issue #23485: Fix _PyTime_AsMilliseconds() and | Victor Stinner | 2015-04-01 | 1 | -13/+13 | |
| | | | | | | | | | | | | | | | | | | _PyTime_AsMicroseconds() rounding. Add also unit tests. |