- 11 Jun, 2017 3 commits
-
-
Zachary Ware authored
-
terryjreedy authored
-
terryjreedy authored
-
- 10 Jun, 2017 13 commits
-
-
Giampaolo Rodola authored
#30624 / selectors: use bare except clause in order to not leave the fd in a bad state in case of error (#2082)
-
Zachary Ware authored
Updates checked-in line endings on several files.
-
Ivan Levkivskyi authored
This PR contains two updates to typing module: - Support ContextManager on all versions (original PR by Jelle Zijlstra). - Add generic AsyncContextManager.
-
KatherineMichel authored
-
Victor Stinner authored
Mock os.register_at_fork() when importing the random module, since this function doesn't allow to unregister callbacks and so leaked memory.
-
Victor Stinner authored
multiprocessing.Queue.get() with a timeout now polls its reader in non-blocking mode if it succeeded to aquire the lock but the acquire took longer than the timeout. Co-Authored-By: Grzegorz Grzywacz <grzgrzgrz3@gmail.com>
-
Serhiy Storchaka authored
-
Roy Williams authored
Running our unit tests with `-bb` enabled triggered this failure.
-
Sylvain authored
The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments".
-
csabella authored
Mention that fnmatchcase does not call normcase, and fnmatch does.
-
Nikolay Kim authored
* asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error
-
Jim Fasarakis-Hilliard authored
-
Zachary Ware authored
-
- 09 Jun, 2017 17 commits
-
-
Brett Cannon authored
This will allow for centralized management of the Codecov config to prevent skew as well as easier management going forward. Closes python/core-workflow#81.
-
Yury Selivanov authored
-
Michaël Sghaïer authored
-
Nikolay Kim authored
-
Brett Cannon authored
-
Yury Selivanov authored
-
Jim Fasarakis-Hilliard authored
Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex.
-
Giampaolo Rodola authored
* #30014: make selectors.DefaultSelector.modify() faster by relying on selector's modify() method instead of un/register()ing the fd * #30014: add unit test * speedup poll/epoll/devpoll modify() method by using internal modify() call * update doc * address PR comments * update NEWS entries * use != instead of 'is not'
-
Mathieu Sornay authored
Avoid a deadlock when the waiter who is about to take the lock is cancelled Issue #27585
-
Serhiy Storchaka authored
* Fix regression in error message introduced in bpo-29951. * Add test. * Make the test more strong.
-
Jelle Zijlstra authored
contextlib.AbstractContextManager now supports anti-registration by setting __enter__ = None or __exit__ = None, following the pattern introduced in bpo-25958.
-
Victor Stinner authored
Test C functions: * _PyObject_FastCall() * _PyObject_FastCallDict() * _PyObject_FastCallKeywords()
-
Marco Buttu authored
-
Chandan Kumar authored
* RFC 1750 has been been obsoleted by RFC 4086. * RFC 3280 has been obsoleted by RFC 5280. * RFC 4366 has been obsoleted by RFC 6066.
-
Nathaniel J. Smith authored
See discussion: https://github.com/python/cpython/pull/1992#issuecomment-307024778
-
Victor Stinner authored
* Add a new option taking a filename to get a list of test names to filter tests. * support.match_tests becomes a list. * Modify run_unittest() to accept to match the whole test identifier, not just a part of a test identifier. For example, the following command only runs test_default_timeout() of the BarrierTests class of test_threading: $ ./python -m test -v test_threading -m test.test_threading.BarrierTests.test_default_timeout Remove also some empty lines from test_regrtest.py to make flake8 tool happy.
-
adisbladis authored
-
- 08 Jun, 2017 7 commits
-
-
Serhiy Storchaka authored
'invalid character in identifier' now is raised instead of 'f-string: empty expression not allowed' if a subexpression contains only whitespaces and they are not accepted by Python parser.
-
Victor Stinner authored
Fix a reference leak in _io._WindowsConsoleIO: PyUnicode_FSDecoder() always initialize decodedname when it succeed and it doesn't clear input decodedname object.
-
Victor Stinner authored
On Windows, subprocess.Popen.communicate() now also ignore EINVAL on stdin.write() if the child process is still running but closed the pipe.
-
Lisa Roach authored
The cell_contents attribute of the cell object is now writable.
-
Serhiy Storchaka authored
Error messages when pass keyword arguments to some builtins that don't support keyword arguments contained double parenthesis: "()()". The regression was introduced by bpo-30534.
-
Victor Stinner authored
Fix a reference in subinterpreters, like test_callbacks_leak() of test_atexit. warnoptions is a list used to pass options from the command line to the sys module constructor. Before this change, the list was shared by multiple interpreter which is not the expected behaviour. Each interpreter should have their own independent mutable world. This change duplicates the list in each interpreter. So each interpreter owns its own list, so each interpreter can clear its own list.
-
Stéphane Wirtel authored
Fix regressions introduced by: - bpo-22257: commits 1abcf670 and 6b4be195Co-Authored-By: Victor Stinner <victor.stinner@gmail.com> Co-Authored-By: Louie Lu <git@louie.lu>
-