- 09 Jun, 2018 1 commit
-
-
Andrés Delfino authored
-
- 08 Jun, 2018 23 commits
-
-
Alexander Belopolsky authored
Since implementation of bpo-25283, the objects returned by time.localtime always have tm_zone and tm_gmtoff attributes. Remove code that anticipates their absence.
-
Alexander Belopolsky authored
* Added a test case for strftime("%z"). The added test checks a case with UTC offest expressed in an integer number of seconds. * Added a test comparing naive and aware datetimes. Check that a greater than comparison of a naive datetime instance with an aware one raises a TypeError. * Test datetime in fold or in gap comparison both ways.
-
Yury Selivanov authored
Supersedes https://github.com/python/cpython/pull/2490
-
Andrés Delfino authored
-
Thomas Kluyver authored
More consistent with how other parts of Python find the filename (e.g. tracebacks and pdb).
-
Andrés Delfino authored
-
Dong-hee Na authored
-
Suriyaa ✌️️ authored
-
Elvis Pranskevichus authored
-
Andrés Delfino authored
-
Łukasz Langa authored
This solves a regression in logging config due to changes in BPO-23835.
-
wim glenn authored
- bugfix and test for fragile metavar handling in argparse (see bpo-24089, bpo-14046, bpo-25058, bpo-11874) - also fixes some incorrect tests that did not make 1-element tuples correctly
-
Victor Stinner authored
_feed_data_to_bufferred_proto() renamed to _feed_data_to_buffered_proto() ("bufferred" => "buffered"). Typo spotted by Nathaniel J. Smith.
-
Victor Stinner authored
If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE then SUCCESS") to show that some failing tests have been re-run. Add also test_regrtest.test_rerun_fail() test.
-
Andrés Delfino authored
-
Terry Jan Reedy authored
-
Cheryl Sabella authored
-
Dong-hee Na authored
-
atg7000 authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Victor Stinner authored
The test does crash on multiple CIs causing many troubles. For example, the test prevents to get results of the two Refleak 3.x buildbots.
-
- 07 Jun, 2018 10 commits
-
-
Terry Jan Reedy authored
-
Victor Stinner authored
The cancellation of an overlapped WSARecv() has a race condition which causes data loss because of the current implementation of proactor in asyncio. No longer cancel overlapped WSARecv() in _ProactorReadPipeTransport to work around the race condition. Remove the optimized recv_into() implementation to get simple implementation of pause_reading() using the single _pending_data attribute. Move _feed_data_to_bufferred_proto() to protocols.py. Remove set_protocol() method which became useless.
-
Neil Schemenauer authored
A few wording improvements to dict ordering documentation.
-
Eric V. Smith authored
-
Benjamin Peterson authored
Followup to 4705ea38c900f068fd262aca02943896d1123544 and bpo-33778.
-
Anthony Sottile authored
-
Scott Sanderson authored
-
Zackery Spytz authored
-
arikrupnik authored
* bpo-33274: Compliance with DOM L1: return removed attribute * Update 2018-06-06-22-01-33.bpo-33274.teYqv8.rst
-
Benjamin Peterson authored
Also, standardize indentation of generated tables.
-
- 06 Jun, 2018 6 commits
-
-
Victor Stinner authored
Fix "<CoroWrapper ...> was never yielded from" warning in PyTask_PyFuture_Tests.test_error_in_call_soon() of test_asyncio.test_tasks. Close manually the coroutine on error.
-
Victor Stinner authored
Hide PendingDeprecationWarning in test__register_task_3().
-
Victor Stinner authored
* Close sockets and streams to fix ResourceWarning warnings * Catch also OSError to hide a traceback on an expected handshake error
-
Victor Stinner authored
Document that the default value of repeat changed from 3 to 5 in Python 3.7.
-
Victor Stinner authored
Substract one because listdir() opens internally a file descriptor to list the content of the /proc/self/fd/ directory. Add test_support.test_fd_count(). Move also MAXFD code before msvcrt.CrtSetReportMode(), to make sure that the report mode is always restored on failure.
-
Victor Stinner authored
Move the floor() call into fbound() to call floor() on a double rather than an int. The change should enhance the rounding. Document also (int)double rounding mode.
-