- 18 Jan, 2019 6 commits
-
-
Christian Heimes authored
Make ssl tests less strict and also accept TLSv1 as system default. The changes unbreaks test_min_max_version on Fedora 29. Signed-off-by: Christian Heimes <christian@python.org>
-
Dong-hee Na authored
-
Terry Jan Reedy authored
'Untitled' violates the PEP 8 standard for .py files
-
Serhiy Storchaka authored
-
Tal Einat authored
-
Terry Jan Reedy authored
Tix was deprecated in 3.6 and the doc is wrong. New users should use ttk.
-
- 17 Jan, 2019 6 commits
-
-
Terry Jan Reedy authored
-
Timo Furrer authored
-
David H authored
Added test for weakreferencing a uuid.UUID object.
-
Dong-hee Na authored
Add a deprecated warning for the threading.Thread.isAlive() method.
-
Slam authored
Typo fix for method doc, I'm pretty sure coro is meant, because there's no consumer threads for thread-unsafe queue. Most probably this piece of doc was copied from `queue.Queue` There's not BPO bug for this, afaik.
-
Nick Coghlan authored
While the introduction of ModuleNotFoundError was fully backwards compatible on the import API consumer side, folks providing alternative implementations of `__import__` need to make an update to be forward compatible with clients that start relying on the new subclass. https://bugs.python.org/issue35486
-
- 16 Jan, 2019 3 commits
-
-
Victor Stinner authored
This reverts commit 07858894.
-
Victor Stinner authored
The subprocess module can now use the os.posix_spawnp() function, if it is available, to locate the program in the PATH.
-
Joannah Nanjekye authored
Add a new os.posix_spawnp() function.
-
- 15 Jan, 2019 9 commits
-
-
Victor Stinner authored
The subprocess module can now use the os.posix_spawn() function in some cases for better performance. Currently, it is only used on macOS and Linux (using glibc 2.24 or newer) if all these conditions are met: * executable path contains a directory * close_fds=False * preexec_fn, pass_fds, cwd, stdin, stdout, stderr and start_new_session parameters are not set Co-authored-by: Joannah Nanjekye <nanjekyejoannah@gmail.com>
-
Christian Heimes authored
Fix a NULL pointer deref in ssl module. The cert parser did not handle CRL distribution points with empty DP or URI correctly. A malicious or buggy certificate can result into segfault. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue35746
-
Victor Stinner authored
asyncio.ProactorEventLoop now catchs and logs send errors when the self-pipe is full: BaseProactorEventLoop._write_to_self() now catchs and logs OSError exceptions, as done by BaseSelectorEventLoop._write_to_self().
-
Serhiy Storchaka authored
Handle the case of an empty module name in PYTHONBREAKPOINT. Fixes a regression introduced in bpo-34756.
-
Victor Stinner authored
Add repr(self) to the log to display the number of pending overlapped in the log.
-
Victor Stinner authored
IocpProactor.close() now uses time to decide when to log: wait 1 second before the first log, then log every second. Log also the number of seconds since close() was called.
-
Henry Chen authored
Show correct number of repeats.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
- 14 Jan, 2019 2 commits
-
-
Serhiy Storchaka authored
-
MichaelSaah authored
Previously, calling the strftime() method on a datetime object with a trailing '%' in the format string would result in an exception. However, this only occured when the datetime C module was being used; the python implementation did not match this behavior. Datetime is now PEP-399 compliant, and will not throw an exception on a trailing '%'.
-
- 13 Jan, 2019 3 commits
-
-
Terry Jan Reedy authored
IDLE's test_squeezer.SqueezerTest.test_reload, added for issue 35196, failed on both Gentoo buildbots.
-
Tal Einat authored
The new functionality of Squeezer.reload() is also tested, along with some general re-working of the tests in test_squeezer.py.
-
Anthony Sottile authored
-
- 12 Jan, 2019 8 commits
-
-
Alexey Izbyshev authored
-
Serhiy Storchaka authored
Format characters "%s" and "%V" in PyUnicode_FromFormat() and "%s" in PyBytes_FromFormat() no longer read memory past the limit if precision is specified.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat() with empty result.
-
Serhiy Storchaka authored
Use the fast call convention for math functions atan2(), copysign(), hypot() and remainder() and inline unpacking arguments. This sped up them by 1.3--2.5 times.
-
Serhiy Storchaka authored
Inline PyArg_UnpackTuple() and _PyArg_UnpackStack() in performance sensitive code in the builtins and operator modules.
-
Ammar Askar authored
Argument clinic now generates fast inline code for positional parsing, so the manually implemented type check in math.dist can be removed.
-
- 11 Jan, 2019 3 commits
-
-
Eric Snow authored
This change separates the signal handling trigger in the eval loop from the "pending calls" machinery. There is no semantic change and the difference in performance is insignificant. The change makes both components less confusing. It also eliminates the risk of changes to the pending calls affecting signal handling. This is particularly relevant for some upcoming pending calls changes I have in the works.
-
Michael Felt authored
This fixes ShareableTypeTests.test_int() in Lib/test/test__xxsubinterpreters.py.
-
Serhiy Storchaka authored
Use _PyArg_CheckPositional() and inlined code instead of PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters are positional and use the "object" converter.
-