- 23 Feb, 2019 4 commits
-
-
Eric Snow authored
Ensure that the main interpreter is active (in the main thread) for signal-handling operations. This is increasingly relevant as people use subinterpreters more. https://bugs.python.org/issue35724
-
Gregory P. Smith authored
Add What's New docs about the Ctrl-C improvement. Correct the issue number in the NEWS entry.
-
Eric Snow authored
Move PyInterpreterState into the "internal" header files.
-
Pablo Galindo authored
-
- 22 Feb, 2019 5 commits
-
-
Emmanuel Arias authored
bpo-36074: Result of `asyncio.Server.sockets` after `Server.close()` after is not clear (GH-11987) [bpo-36074](https://bugs.python.org/issue36074): It becomes clear on that the None is still return for server closed. https://bugs.python.org/issue36074
-
Stéphane Wirtel authored
-
Holger Frey authored
Document usage of the existing `--prompt` option in the command line help.
-
Julien Palard authored
-
Manjusaka authored
-
- 21 Feb, 2019 12 commits
-
-
Raymond Hettinger authored
-
Joe Jevnik authored
-
Raymond Hettinger authored
* Add tests for Counter order. No behavior change. * Update docs and tests * Fix doctest output and capitalization
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Stéphane Wirtel authored
Trying to assign a value to __debug__ using the assignment operator is supposed to fail, but a missing check for forbidden names when setting the context in the ast was preventing this behaviour.
-
Sergey Fedoseev authored
-
Raymond Hettinger authored
-
Cristian Ciupitu authored
read() returns bytes for a file opened in binary mode, so b'' should be used as a sentinel instead of ''. Otherwise the loop will be infinite.
-
Zackery Spytz authored
-
Sergey Fedoseev authored
-
Gregory P. Smith authored
Explicitly reinitialize this every eval *just in case* someone is calling into an embedded Python where they don't care about an uncaught KeyboardInterrupt exception (why didn't they leave `config.install_signal_handlers` set to `0`?!?) but then later call `Py_Main()` itself (which *checks* this flag and dies with a signal after its interpreter exits). We don't want a previous embedded interpreter's uncaught exception to trigger an unexplained signal exit from a future `Py_Main()` based one.
-
- 20 Feb, 2019 4 commits
-
-
-
Stefan Behnel authored
-
Stéphane Wirtel authored
Fix a crash on fork when using subinterpreters.
-
Inada Naoki authored
-
- 19 Feb, 2019 11 commits
-
-
Pablo Galindo authored
-
-
Victor Stinner authored
Fix test_ssl for strict OpenSSL configuration like RHEL8 strict crypto policy. Use older TLS version for minimum TLS version of the server SSL context if needed, to test TLS version older than default minimum TLS version.
-
Cédric Krier authored
Allow to add HTTP headers to XML-RPC requests sent to the server.
-
-
Sanyam Khurana authored
`object.__new__` and `object.__init__` do take one argument each, they just don't take extra user supplied arguments. Patch by Sanyam Khurana.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
It checks that a SyntaxWarning is raised when compile specified statement, that it is raised only once, that it is converted to a SyntaxError when raised as exception, and that both warning and exception objects have corresponding attributes.
-
Cheryl Sabella authored
-
- 18 Feb, 2019 4 commits
-
-
tjb900 authored
bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.modules (GH-9047) Fix C implementation of pickle.loads to use importlib's locking mechanisms, and thereby avoid using partially-loaded modules.
-
animalize authored
Need to reset capturing groups between two SRE(match) callings in loops, this fixes wrong capturing groups in rare cases. Also add a missing index in re.rst.
-
Nick Coghlan authored
The wrong NEWS snippet was inadvertently included in GH-11500, this switches to the correct one. https://bugs.python.org/issue35704
-
-