- 18 Mar, 2015 9 commits
-
-
Victor Stinner authored
Detect also earlier PyMarshal_Read*() errors in zipimport.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
the caller can replace the directory with a different file kind. The bottom-up way, os.walk(topdown=False), still uses entry.is_symlink(), and so can be faster than Python 3.4.
-
Victor Stinner authored
Retry open()/fopen() if it fails with EINTR and the Python signal handler doesn't raise an exception.
-
Serhiy Storchaka authored
Setting attributes key, value and coded_value directly now is deprecated. update() and setdefault() now transform and check keys. Comparing for equality now takes into account attributes key, value and coded_value. copy() now returns a Morsel, not a dict. repr() now contains all attributes. Optimized checking keys and quoting values. Added new tests. Original patch by Demian Brecht.
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Victor Stinner authored
* If fopen() fails, OSError is raised with the original filename object. * The GIL is now released while calling fopen()
-
- 17 Mar, 2015 10 commits
-
-
Victor Stinner authored
* _Py_open() now raises exceptions on error. If open() fails, it raises an OSError with the filename. * _Py_open() now releases the GIL while calling open() * Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not held
-
Victor Stinner authored
Disable completly pyatomic.h on C++, because <stdatomic.h> is not compatible with C++. <pyatomic.h> is only needed by the optimized PyThreadState_GET() macro in pystate.h. Instead, declare PyThreadState_GET() as an alias to PyThreadState_Get(), as done for limited API.
-
Robert Collins authored
-
Robert Collins authored
This allows manual selection of a specific unit such as usecs rather than the use of a heuristic. This is intended to aid machine processing of timeit output. Patch by Serhiy Storchaka.
-
Victor Stinner authored
_codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw modules. pyexpat.c doesn't need to redeclare PyMODINIT_FUNC, it's already declared in Include/pyport.h.
-
Ned Deily authored
-
Ned Deily authored
-
Victor Stinner authored
Sorry, it was a mistake, the patch is still under review: issue #23646.
-
Berker Peksag authored
Patch by Thomas Kluyver.
-
Berker Peksag authored
Patch by Thomas Kluyver.
-
- 16 Mar, 2015 9 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Victor Stinner authored
test_io. Allocate the large data before scheduling an alarm in 1 second. On very slow computer, the alarm rings sometimes during the memory allocation.
-
Victor Stinner authored
of test_io. Allocate the large data before scheduling an alarm in 1 second. On very slow computer, the alarm rings sometimes during the memory allocation.
-
Victor Stinner authored
PyEval_CallObjectWithKeywords() Sorry Serhiy, I missed your explanation because the review email was moved to my Spam folder :-(
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Robert Collins authored
-
Robert Collins authored
-
- 15 Mar, 2015 4 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Eli Bendersky authored
Merge 3.4 The current documentation only mentions heap[0] as the smallest element in the beginning, and not in any of the methods' docs. There's no method to access the minimal element without popping it, and the documentation of nsmallest is confusing because it may suggest that min() is the way to go for n==1.
-
Eli Bendersky authored
The current documentation only mentions heap[0] as the smallest element in the beginning, and not in any of the methods' docs. There's no method to access the minimal element without popping it, and the documentation of nsmallest is confusing because it may suggest that min() is the way to go for n==1.
-
- 14 Mar, 2015 8 commits
-
-
Berker Peksag authored
Patch by Håkan Lövdahl.
-
Berker Peksag authored
Patch by Håkan Lövdahl.
-
Berker Peksag authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Steve Dower authored
-
Steve Dower authored
-
Steve Dower authored
-