- 19 Mar, 2015 11 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Jan 30 of previous year. Based on patch by Jim Carroll.
-
Serhiy Storchaka authored
Jan 30 of previous year. Based on patch by Jim Carroll.
-
Serhiy Storchaka authored
NamedTemporaryFile instance. Patch by Bohuslav Kabrda.
-
Serhiy Storchaka authored
NamedTemporaryFile instance. Patch by Bohuslav Kabrda.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Ethan Furman authored
-
Ethan Furman authored
add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method
-
Ethan Furman authored
add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method
-
- 18 Mar, 2015 28 commits
-
-
Antoine Pitrou authored
Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable.
-
Antoine Pitrou authored
Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
broken after converting instance attributes to properies in issue #2211.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
available, syscall introduced in the Linux kernel 3.17. It is more reliable and more secure, because it avoids the need of a file descriptor and waits until the kernel has enough entropy.
-
Victor Stinner authored
-
Victor Stinner authored
Use a Python source file (linecache.__file__) instead of /etc/passwd. Modify also linecache docstrings to clarify the linecache is written to cache Python source files, not any text files.
-
Victor Stinner authored
-
Victor Stinner authored
source files, even if "it works" with other text files encoded to UTF-8.
-
Victor Stinner authored
Use None as a sentinel to stop a worker.
-
Victor Stinner authored
-
Victor Stinner authored
PyMarshal_ReadShortFromFile() can fail.
-
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 1 commit
-
-
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
-