Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Issue #22351: The nntplib.NNTP constructor no longer leaves the connection | Serhiy Storchaka | 2015-03-21 | 3 | -15/+127 | |
| | | | | | | | | | | and socket open until the garbage collector cleans them up. Patch by Martin Panter. | |||||
* | | Removed trailing tabs. | Serhiy Storchaka | 2015-03-21 | 2 | -2/+2 | |
| | | ||||||
* | | Update Wix version and fixes wxs file. | Steve Dower | 2015-03-21 | 2 | -3/+3 | |
| | | ||||||
* | | Issue 23705: Improve the performance of __contains__ checks for deques. | Raymond Hettinger | 2015-03-20 | 2 | -1/+53 | |
| | | ||||||
* | | Issue #22832: Tweaked parameter names for fcntl module to better match | Serhiy Storchaka | 2015-03-20 | 3 | -75/+73 | |
| | | | | | | | | | | official POSIX documentation. Updated the documenttion for Python 3. Patch by Alex Shkop. | |||||
* | | Merge: #11726: Make linecache docs reflect that all files are treated the same. | R David Murray | 2015-03-20 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | #11726: Make linecache docs reflect that all files are treated the same. | R David Murray | 2015-03-20 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | 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. | |||||
* | | Issue #22181: Run "aclocal; autoconf; autoheader" to regenerate configure | Victor Stinner | 2015-03-20 | 1 | -2/+132 | |
| | | ||||||
* | | Issue #23681: The -b option now affects comparisons of bytes with int. | Serhiy Storchaka | 2015-03-20 | 5 | -22/+53 | |
| | | ||||||
* | | Issue #23681: Fixed Python 2 to 3 poring bugs. | Serhiy Storchaka | 2015-03-20 | 6 | -15/+13 | |
|\ \ | |/ | | | | | Indexing bytes retiurns an integer, not bytes. | |||||
| * | Issue #23681: Fixed Python 2 to 3 poring bugs. | Serhiy Storchaka | 2015-03-20 | 5 | -14/+12 | |
| | | | | | | | | Indexing bytes retiurns an integer, not bytes. | |||||
* | | Issue #23700: NamedTemporaryFile iterator closed underlied file object in | Serhiy Storchaka | 2015-03-20 | 1 | -3/+5 | |
|\ \ | |/ | | | | | | | | | some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed. | |||||
| * | Issue #23700: NamedTemporaryFile iterator closed underlied file object in | Serhiy Storchaka | 2015-03-20 | 1 | -3/+5 | |
| | | | | | | | | | | | | some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed. | |||||
* | | Issue #23715: Fix test_script_helper | Victor Stinner | 2015-03-20 | 1 | -2/+2 | |
| | | ||||||
* | | Issue #23696: Remove test on ZipImportError.__context__ because the context is | Victor Stinner | 2015-03-20 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | 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). | |||||
* | | Issue #23715: Fix test_eintr, skip tests on signal.sigwaitinfo() and | Victor Stinner | 2015-03-20 | 1 | -0/+4 | |
| | | | | | | | | signal.sigtimedwait() if functions are missing | |||||
* | | Issue #23715: Enhance test.script_helper to investigate test_eintr failure | Victor Stinner | 2015-03-20 | 1 | -4/+23 | |
| | | | | | | | | If Python failed, show also stdout in the assertion error. | |||||
* | | Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retried | Victor Stinner | 2015-03-20 | 5 | -56/+99 | |
| | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Issue #23708: Save/restore errno in _Py_read() and _Py_write() | Victor Stinner | 2015-03-20 | 1 | -15/+21 | |
| | | | | | | | | | | Save and then restore errno because PyErr_CheckSignals() and PyErr_SetFromErrno() can modify it. | |||||
* | | Fix compiler warnings: comparison between signed and unsigned numbers | Victor Stinner | 2015-03-20 | 2 | -2/+2 | |
| | | ||||||
* | | Issue #23708: Split assertion expression in two assertions in _Py_read() and | Victor Stinner | 2015-03-20 | 1 | -2/+4 | |
| | | | | | | | | _Py_write() to know which test failed on the buildbot "AMD64 Snow Leop 3.x". | |||||
* | | Issue #23696: Chain ZipImportError to the OSError | Victor Stinner | 2015-03-20 | 2 | -2/+9 | |
| | | ||||||
* | | Issue #23709, #23001: ossaudiodev now uses Py_ssize_t for sizes instead of int | Victor Stinner | 2015-03-20 | 1 | -6/+7 | |
| | | | | | | | | | | The module is now also "SSIZE_T clean" (for PyArg_Parse...() functions) since it switched to Py_buffer ("y*" argument format). | |||||
* | | Issue #23001: Fix typo | Victor Stinner | 2015-03-20 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #22826: The result of open() in Tools/freeze/bkfile.py is now better | Serhiy Storchaka | 2015-03-20 | 4 | -87/+59 | |
| | | | | | | | | | | compatible with regular files (in particular it now supports the context management protocol). | |||||
* | | Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and | Serhiy Storchaka | 2015-03-20 | 14 | -101/+193 | |
| | | | | | | | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too. | |||||
* | | Issue #23646: Fix test_threading on Windows | Victor Stinner | 2015-03-20 | 1 | -1/+1 | |
| | | ||||||
* | | Cleanup pytime.c: add XXX_TO_YYY constants (ex: SEC_TO_US) | Victor Stinner | 2015-03-20 | 1 | -13/+19 | |
| | | ||||||
* | | Issue #23646: Enhance precision of time.sleep() and socket timeout when | Victor Stinner | 2015-03-20 | 5 | -15/+27 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | | Issue #23709: The ossaudiodev module now retries read/write when interrupted by | Victor Stinner | 2015-03-19 | 1 | -28/+22 | |
| | | | | | | | | | | | | a signal (PEP 475). Use he new _Py_read() and _Py_write() functions. | |||||
* | | Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a. | Ned Deily | 2015-03-19 | 3 | -12/+12 | |
|\ \ | |/ | ||||||
| * | Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a. | Ned Deily | 2015-03-19 | 3 | -12/+12 | |
| | | ||||||
* | | Merge | Antoine Pitrou | 2015-03-19 | 7 | -199/+219 | |
|\ \ | ||||||
| * | | Issue #23708: Fix _Py_read() compilation error on Windows | Victor Stinner | 2015-03-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | Fix typo: self->fd => fd | |||||
| * | | Issue #23707: On UNIX, os.urandom() now calls the Python signal handler when | Victor Stinner | 2015-03-19 | 1 | -19/+11 | |
| | | | | | | | | | | | | | | | | | | | | | read() is interrupted by a signal. dev_urandom_python() now calls _Py_read() helper instead of calling directly read(). | |||||
| * | | Issue #23708: select.devpoll now retries its internal write() when interrupted | Victor Stinner | 2015-03-19 | 1 | -7/+3 | |
| | | | | | | | | | | | | | | | | | | by a signal (EINTR). Modify devpoll_flush() to use _Py_write() instead of calling directly write(). | |||||
| * | | Issue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() before | Victor Stinner | 2015-03-19 | 1 | -4/+4 | |
| | | | | | | | | | | | | opening /dev/urandom. | |||||
| * | | Issue #23708: Add _Py_read() and _Py_write() functions to factorize code handle | Victor Stinner | 2015-03-19 | 5 | -169/+201 | |
| | | | | | | | | | | | | | | | | | | | | | | | | EINTR error and special cases for Windows. These functions now truncate the length to PY_SSIZE_T_MAX to have a portable and reliable behaviour. For example, read() result is undefined if counter is greater than PY_SSIZE_T_MAX on Linux. | |||||
* | | | Issue #23632: Memoryviews now allow tuple indexing (including for ↵ | Antoine Pitrou | 2015-03-19 | 4 | -51/+195 | |
|/ / | | | | | | | multi-dimensional memoryviews). | |||||
* | | Issue #22181: The availability of the getrandom() is now checked in configure, | Victor Stinner | 2015-03-19 | 5 | -140/+73 | |
| | | | | | | | | | | | | and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define. Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom(). | |||||
* | | Issue #23646: If time.sleep() is interrupted by a signal, the sleep is now | Victor Stinner | 2015-03-19 | 5 | -66/+101 | |
| | | | | | | | | | | | | | | retried with the recomputed delay, except if the signal handler raises an exception (PEP 475). Modify also test_signal to use a monotonic clock instead of the system clock. | |||||
* | | Fixed Misc/NEWS entry for issue #23136. | Serhiy Storchaka | 2015-03-19 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fixed Misc/NEWS entry for issue #23136. | Serhiy Storchaka | 2015-03-19 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #23136: _strptime now uniformly handles all days in week 0, including | Serhiy Storchaka | 2015-03-19 | 3 | -5/+26 | |
|\ \ | |/ | | | | | Jan 30 of previous year. Based on patch by Jim Carroll. | |||||
| * | Issue #23136: _strptime now uniformly handles all days in week 0, including | Serhiy Storchaka | 2015-03-19 | 3 | -5/+26 | |
| | | | | | | | | Jan 30 of previous year. Based on patch by Jim Carroll. | |||||
* | | Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to | Serhiy Storchaka | 2015-03-19 | 3 | -1/+19 | |
|\ \ | |/ | | | | | NamedTemporaryFile instance. Patch by Bohuslav Kabrda. | |||||
| * | Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to | Serhiy Storchaka | 2015-03-19 | 3 | -1/+19 | |
| | | | | | | | | NamedTemporaryFile instance. Patch by Bohuslav Kabrda. | |||||
* | | merge 3.4 | Benjamin Peterson | 2015-03-19 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | wrap properly | Benjamin Peterson | 2015-03-19 | 1 | -2/+2 | |
| | | ||||||
* | | null merge from 3.4 | Ethan Furman | 2015-03-19 | 0 | -0/+0 | |
|\ \ | |/ |