- 21 Mar, 2015 5 commits
-
-
Raymond Hettinger authored
-
Serhiy Storchaka authored
and socket open until the garbage collector cleans them up. Patch by Martin Panter.
-
Serhiy Storchaka authored
and socket open until the garbage collector cleans them up. Patch by Martin Panter.
-
Serhiy Storchaka authored
-
Steve Dower authored
-
- 20 Mar, 2015 26 commits
-
-
Raymond Hettinger authored
-
Serhiy Storchaka authored
official POSIX documentation. Updated the documenttion for Python 3. Patch by Alex Shkop.
-
R David Murray authored
-
R David Murray authored
Being able to read non-python text files is not a purpose of linecache, but it does work and people use it. This changeset adjusts the language to make it clear that Python files are not treated uniquely, but does not go so far as to say reading non-python files is explicitly supported.
-
Victor Stinner authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Indexing bytes retiurns an integer, not bytes.
-
Serhiy Storchaka authored
Indexing bytes retiurns an integer, not bytes.
-
Serhiy Storchaka authored
some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed.
-
Serhiy Storchaka authored
some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed.
-
Victor Stinner authored
-
Victor Stinner authored
None on Windows. When the file is not readable, the error occurs at open on UNIX. On Windows, the error only occurs at the first operation on the open file. It would require to many changes to set __context__ to an OSError for all file operations, for a little benefit (__context__ is almost never used).
-
Victor Stinner authored
signal.sigtimedwait() if functions are missing
-
Victor Stinner authored
If Python failed, show also stdout in the assertion error.
-
Victor Stinner authored
when interrupted by a signal not in the *sigset* parameter, if the signal handler does not raise an exception. signal.sigtimedwait() recomputes the timeout with a monotonic clock when it is retried. Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't raise InterruptedError anymore if it is interrupted by a signal not in its sigset parameter.
-
Victor Stinner authored
Save and then restore errno because PyErr_CheckSignals() and PyErr_SetFromErrno() can modify it.
-
Victor Stinner authored
-
Victor Stinner authored
_Py_write() to know which test failed on the buildbot "AMD64 Snow Leop 3.x".
-
Victor Stinner authored
-
Victor Stinner authored
The module is now also "SSIZE_T clean" (for PyArg_Parse...() functions) since it switched to Py_buffer ("y*" argument format).
-
Victor Stinner authored
-
Serhiy Storchaka authored
compatible with regular files (in particular it now supports the context management protocol).
-
Serhiy Storchaka authored
codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
interrupted by a signal Add a new _PyTime_AddDouble() function and remove _PyTime_ADD_SECONDS() macro. The _PyTime_ADD_SECONDS only supported an integer number of seconds, the _PyTime_AddDouble() has subsecond resolution.
-
- 19 Mar, 2015 9 commits
-
-
Victor Stinner authored
a signal (PEP 475). Use he new _Py_read() and _Py_write() functions.
-
Ned Deily authored
-
Ned Deily authored
-
Antoine Pitrou authored
-
Victor Stinner authored
Fix typo: self->fd => fd
-
Victor Stinner authored
read() is interrupted by a signal. dev_urandom_python() now calls _Py_read() helper instead of calling directly read().
-
Victor Stinner authored
by a signal (EINTR). Modify devpoll_flush() to use _Py_write() instead of calling directly write().
-
Antoine Pitrou authored
-
Victor Stinner authored
opening /dev/urandom.
-