Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-30 | 3 | -3/+55 |
| | |||||
* | merge 3.5 | Benjamin Peterson | 2015-05-28 | 1 | -1/+0 |
|\ | |||||
| * | remove STORE_MAP, since it's unused | Benjamin Peterson | 2015-05-28 | 1 | -1/+0 |
| | | |||||
* | | Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc. | Yury Selivanov | 2015-05-28 | 1 | -6/+3 |
|\ \ | |/ | |||||
| * | Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc. | Yury Selivanov | 2015-05-28 | 1 | -6/+3 |
| | | |||||
* | | Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs. | Serhiy Storchaka | 2015-05-27 | 1 | -115/+115 |
|\ \ | |/ | |||||
| * | Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs. | Serhiy Storchaka | 2015-05-27 | 1 | -115/+115 |
| | | |||||
* | | Version bump for trunk to 3.6.0a0. Welcome to the future! | Larry Hastings | 2015-05-25 | 1 | -4/+4 |
|/ | |||||
* | Post-release fixes for 3.5.0b1. | Larry Hastings | 2015-05-24 | 1 | -1/+1 |
| | |||||
* | Version bump for 3.5.0b1.v3.5.0b1 | Larry Hastings | 2015-05-24 | 1 | -3/+3 |
| | |||||
* | Issue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def ↵ | Steve Dower | 2015-05-23 | 1 | -1/+1 |
| | | | | (stable ABI) | ||||
* | PEP 489: Multi-phase extension module initialization | Nick Coghlan | 2015-05-23 | 2 | -24/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | 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 #24221: Small optimizations for heapq. | Raymond Hettinger | 2015-05-22 | 1 | -0/+1 |
| | | | | | | | Replaces the PyList_GET_ITEM and PyList_SET_ITEM macros with normal array accesses. Replace the siftup unpredicatable branch with arithmetic. Replace the rc == -1 tests with rc < 0. Gives nicer looking assembly with both Clang and GCC-4.9. Also gives a small performance both for both. | ||||
* | Issue #22486: Added the math.gcd() function. The fractions.gcd() function ↵ | Serhiy Storchaka | 2015-05-12 | 1 | -0/+3 |
| | | | | | | now is deprecated. Based on patch by Mark Dickinson. | ||||
* | 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 | 11 | -152/+229 |
| | |||||
* | PEP 479: Change StopIteration handling inside generators. | Yury Selivanov | 2015-05-09 | 3 | -1/+4 |
| | | | | Closes issue #22906. | ||||
* | PEP 448: additional unpacking generalizations (closes #2292) | Benjamin Peterson | 2015-05-06 | 3 | -12/+15 |
| | | | | Patch by Neil Girdhar. | ||||
* | remove the concept of an unoptimized function scope from the compiler, since ↵ | Benjamin Peterson | 2015-04-28 | 1 | -5/+0 |
| | | | | it can't happen anymore | ||||
* | Add the files missing from c9f1630cf2b1 for issue9951. | Gregory P. Smith | 2015-04-26 | 1 | -0/+17 |
| | | | | hg status should be my friend more often... | ||||
* | Merge Python 3.5.0a4 release engineering commits. | Larry Hastings | 2015-04-20 | 1 | -6/+0 |
|\ | |||||
| * | Issue #23908: os functions now reject paths with embedded null character | Serhiy Storchaka | 2015-04-20 | 1 | -6/+0 |
| |\ | | | | | | | | | | | | | | | | on Windows instead of silently truncate them. Removed no longer used _PyUnicode_HasNULChars(). | ||||
* | | | Post-release updates for Python 3.5.0a4. | Larry Hastings | 2015-04-20 | 1 | -1/+1 |
| | | | |||||
* | | | Version number bump for Python 3.5.0a4.v3.5.0a4 | Larry Hastings | 2015-04-19 | 1 | -2/+2 |
|/ / | |||||
* | | Issue #23943: Fix typos. Patch by Piotr Kasprzyk. | Berker Peksag | 2015-04-14 | 2 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #23943: Fix typos. Patch by Piotr Kasprzyk. | Berker Peksag | 2015-04-14 | 2 | -2/+2 |
| | | |||||
| * | Merge 3.4.3 release engineering changes back into 3.4. | Larry Hastings | 2015-02-26 | 1 | -1/+1 |
| |\ | |||||
| * | | Post-release changes for 3.4.3. | Larry Hastings | 2015-02-26 | 1 | -1/+1 |
| | | | |||||
| * | | Release bump for 3.4.3 final. | Larry Hastings | 2015-02-23 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #23524: Replace _PyVerify_fd function with calls to ↵ | Steve Dower | 2015-04-12 | 2 | -1/+21 |
| | | | | | | | | | | | | _set_thread_local_invalid_parameter_handler. | ||||
* | | | Issue #23834: Fix the default socket timeout | Victor Stinner | 2015-04-09 | 1 | -1/+6 |
| | | | | | | | | | | | | Use -1 second by default, not -1 nanosecond. | ||||
* | | | Removed trailing whitespaces in miscalenous files. | Serhiy Storchaka | 2015-04-03 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #22117: Add a new _PyTime_FromSeconds() function | Victor Stinner | 2015-04-03 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | Fix also _Py_InitializeEx_Private(): initialize time before initializing import, import_init() uses the _PyTime API (for thread locks). | ||||
* | | | Issue #23836: Add _Py_write_noraise() function | Victor Stinner | 2015-04-01 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | Helper to write() which retries write() if it is interrupted by a signal (fails with EINTR). | ||||
* | | | Issue #23485: Add _PyTime_FromMillisecondsObject() function | Victor Stinner | 2015-03-30 | 1 | -1/+7 |
| | | | |||||
* | | | Fix PY_VERSION in Include/patchlevel.h to reflect our post-3.5.0a3 state. | Larry Hastings | 2015-03-30 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 3.5.0a3 release engineering changes back into trunk. | Larry Hastings | 2015-03-30 | 2 | -56/+56 |
|\ \ \ | |||||
| * | | | Issue #23752: _Py_fstat() is now responsible to raise the Python exception | Victor Stinner | 2015-03-30 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | Add _Py_fstat_noraise() function when a Python exception is not welcome. | ||||
| * | | | Issue #22117: Remove _PyTime_ROUND_DOWN and _PyTime_ROUND_UP rounding methods | Victor Stinner | 2015-03-30 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | Use _PyTime_ROUND_FLOOR and _PyTime_ROUND_CEILING instead. | ||||
| * | | | Issue #22117: Add _PyTime_ROUND_CEILING rounding method for timestamps | Victor Stinner | 2015-03-30 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | Add also more tests for ROUNd_FLOOR. | ||||
| * | | | Issue #22117: Fix usage of _PyTime_AsTimeval() | Victor Stinner | 2015-03-30 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | Add _PyTime_AsTimeval_noraise() function. Call it when it's not possible (or not useful) to raise a Python exception on overflow. | ||||
| * | | | Issue #22117: Cleanup pytime.c/.h | Victor Stinner | 2015-03-29 | 1 | -37/+37 |
| | | | | |||||
| * | | | Issue #22117: Use the _PyTime_t API in _datetime.datetime() constructor | Victor Stinner | 2015-03-29 | 1 | -14/+6 |
| | | | | | | | | | | | | | | | | | | | | * Remove _PyTime_gettimeofday() * Add _PyTime_GetSystemClock() | ||||
* | | | | Release bump for Python 3.5.0a3.v3.5.0a3 | Larry Hastings | 2015-03-29 | 1 | -2/+2 |
|/ / / | |||||
* | | | Issue #22117: Add the new _PyTime_ROUND_FLOOR rounding method for the datetime | Victor Stinner | 2015-03-28 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | module. time.clock_settime() now uses this rounding method instead of _PyTime_ROUND_DOWN to handle correctly dates before 1970. | ||||
* | | | Issue #22117: Use the _PyTime_t API for time.clock_settime() | Victor Stinner | 2015-03-28 | 1 | -5/+0 |
| | | | | | | | | | | | | Remove also the now unused _PyTime_AddDouble() function. | ||||
* | | | Issue #22117: Use the new _PyTime_t API in the select module | Victor Stinner | 2015-03-28 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #22117: The thread module uses the new _PyTime_t timestamp API | Victor Stinner | 2015-03-28 | 1 | -18/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add also a new _PyTime_AsMicroseconds() function. threading.TIMEOUT_MAX is now be smaller: only 292 years instead of 292,271 years on 64-bit system for example. Sorry, your threads will hang a *little bit* shorter. Call me if you want to ensure that your locks wait longer, I can share some tricks with you. | ||||
* | | | Issue #22117: remove _PyTime_INTERVAL() macro | Victor Stinner | 2015-03-28 | 1 | -10/+0 |
| | | | |||||
* | | | Issue #22117: Write unit tests for _PyTime_AsTimeval() | Victor Stinner | 2015-03-28 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | * _PyTime_AsTimeval() now ensures that tv_usec is always positive * _PyTime_AsTimespec() now ensures that tv_nsec is always positive * _PyTime_AsTimeval() now returns an integer on overflow instead of raising an exception |