- 22 Feb, 2019 4 commits
-
-
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 5 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
-
-
Pablo Galindo authored
bpo-35942: Improve the error message if __fspath__ returns invalid types in path_converter (GH-11831) The error message emitted when returning invalid types from __fspath__ in interfaces that allow passing PathLike objects has been improved and now it does explain the origin of the error.
-
- 17 Feb, 2019 3 commits
-
-
Ivan Levkivskyi authored
Not using `__class_getitem__()` fallback if there is a non-subcriptable metaclass was caused by a certain asymmetry between how `PySequenceMethods` and `PyMappingMethods` are used in `PyObject_GetItem`. This PR removes this asymmetry. No tests failed, so I assume it was not intentional.
-
Michael Felt authored
Fix Modules/_testmultiphase.c so that it exits with non-zero status on AIX just as other systems do (non zero exit status, e.g. as result of a segmentation fault) when a NULL pointer is accessed for data. https://bugs.python.org/issue34720
-
Gregory P. Smith authored
It makes the existing smaller test more readable and robust at the same time. The execution of a shell in interactive mode from CI and buildbot test automation wasn't working out. What would work locally in our terminals would only work within a fraction of automation systems. The integration test was a nice to have. painful. deleting. :)
-
- 16 Feb, 2019 1 commit
-
-
Raymond Hettinger authored
-