- 30 Sep, 2018 1 commit
-
-
Andrew Svetlov authored
The waiting is pretty normal for any asyncio program, logging its time just adds a noise to logs without any useful information provided. https://bugs.python.org/issue34849
-
- 29 Sep, 2018 5 commits
-
-
Raymond Hettinger authored
-
Zackery Spytz authored
Switch "list" with "iterable" to match with the implementation.
-
Zackery Spytz authored
Support for threadless builds was removed in a6a4dc81.
-
방성범 (Bang Seongbeom) authored
-
Zackery Spytz authored
_pickle.Unpickler.__init__() should return -1 if Pdata_New() fails, not 1.
-
- 28 Sep, 2018 4 commits
-
-
Pablo Galindo authored
-
Victor Stinner authored
Since ProactorEventLoop is now the default in 3.8, remove examples using it explicitly on Windows. https://bugs.python.org/issue34687
-
Pablo Galindo authored
After some failures in AMD64 FreeBSD CURRENT Debug 3.x buildbots regarding tests in test_multiprocessing_spawn and after examining similar failures in test_socket, some errors in the calculation of ancillary data buffers were found in multiprocessing.reduction. CMSG_LEN() can often be used as the buffer size for recvmsg() to receive a single item of ancillary data, but RFC 3542 requires portable applications to use CMSG_SPACE() and thus include space for padding, even when the item will be the last in the buffer. The failures we experience are due to the usage of CMSG_LEN() instead of CMSG_SPACE().
-
Tal Einat authored
Improvements: 1. Include the number of valid data characters in the error message. 2. Mention "number of data characters" rather than "length". https://bugs.python.org/issue34736
-
- 27 Sep, 2018 6 commits
-
-
Zsolt Cserna authored
Report the filename to the exception when raising {gdbm,dbm.ndbm}.error in dbm.gnu.open() and dbm.ndbm.open() functions, so it gets printed when the exception is raised, and can also be obtained by the filename attribute of the exception object.
-
Yury Selivanov authored
-
Yury Selivanov authored
This fixes various compiler warnings.
-
Serhiy Storchaka authored
-
orlnub123 authored
Use a monotonic clock to compute timeouts in :meth:`Executor.map` and :func:`as_completed`, in order to prevent timeouts from deviating when the system clock is adjusted. This may not be sufficient on all systems. On POSIX for example, the actual waiting (e.g. in ``sem_timedwait``) is specified to rely on the CLOCK_REALTIME clock.
-
Pablo Galindo authored
After some failures in AMD64 FreeBSD CURRENT Debug 3.x buildbots regarding tests in test_socket that are using testFDPassSeparateMinSpace(), FreeBDS revision 337423 was pointed out to be the reason the test started to fail. A close examination of the manpage for cmsg_space(3) reveals that the number of file descriptors needs to be taken into account when using CMSG_LEN(). This commit fixes tests in test_socket to use correctly CMSG_LEN, taking into account the number of FDs.
-
- 26 Sep, 2018 4 commits
-
-
Tal Einat authored
-
Michael Lee authored
Currently, the docs state that when doing `Type[X]`, X is only allowed to be a class, a union of classes, and Any. This pull request amends that sentence to clarify X may also be a typevar (or a union involving classes, Any, and TypeVars).
-
Bjorn Andersson authored
The AF_QIPCRTR address family was introduced in Linux v4.7. Co-authored-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-
INADA Naoki authored
When dict subclass overrides order (`__iter__()`, `keys()`, and `items()`), `dict(o)` should use it instead of dict ordering. https://bugs.python.org/issue34320
-
- 25 Sep, 2018 16 commits
-
-
Cheryl Sabella authored
-
Yury Selivanov authored
-
Zackery Spytz authored
* bpo-5950: Support reading zips with comments in zipimport
-
Yury Selivanov authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Victor Stinner authored
Fix test_socket.SendmsgSCTPStreamTest: catch ENOMEM error. testSendmsgTimeout() and testSendmsgDontWait() randomly fail on Travis CI with: "OSError: [Errno 12] Cannot allocate memory".
-
Victor Stinner authored
-
-
Tal Einat authored
-
Géry Ogam authored
-
Zackery Spytz authored
The GlobalLock() call in UpdateDropDescription() was not checked for failure. https://bugs.python.org/issue34770
-
Joni Kähärä authored
-
Terry Jan Reedy authored
-
- 24 Sep, 2018 4 commits
-
-
Terry Jan Reedy authored
-
Ammar Askar authored
Also point to start of tokens in parsing errors. Fixes bpo-34683
-
Christian Heimes authored
The xml.sax and xml.dom.domreg modules now obey sys.flags.ignore_environment. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34791
-
Victor Stinner authored
Make sure that "./python script.py" does not crash if the script file doesn't exist.
-