- 16 Apr, 2018 2 commits
-
-
Andrés Delfino authored
-
anentropic authored
-
- 15 Apr, 2018 4 commits
-
-
Zackery Spytz authored
-
Alex Gaynor authored
There's no reason a cookie should _ever_ contain pickled data. That's just asking for a critical security vulnerability. Back in Python2 there were helpers for doing that, but they're no more in Python3. Now coded_value is used when the value needs to be encoded for any reason.
-
Nick Coghlan authored
Adds some working and markup fixes that I missed in the initial commit for this issue. (Follow-up to GH-6419)
-
Nick Coghlan authored
The pydoc CLI assumed -m pydoc would add the empty string to sys.path, and hence got confused when it switched to adding the full initial working directory instead. This refactors the pydoc CLI path manipulation to be more testable, and ensures it won't accidentally remove the standard library directory containing pydoc itself from sys.path.
-
- 14 Apr, 2018 2 commits
-
-
Antoine Pitrou authored
-
Steve Dower authored
-
- 13 Apr, 2018 2 commits
-
-
jdemeyer authored
`MethodType` has the exact semantics that `ExitStack` needs, so we can avoid creating a Python level closure.
-
WeizhongTu authored
-
- 11 Apr, 2018 2 commits
-
-
Serhiy Storchaka authored
- 10 Apr, 2018 2 commits
-
-
Mark Nemec authored
Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError.
-
Devon R authored
-
- 09 Apr, 2018 6 commits
-
-
Aaron Ang authored
-
Serhiy Storchaka authored
Based on patch by Oleg Krasnikov.
-
Serhiy Storchaka authored
This code doesn't have effect on the final result, but causes GCC 8 warnings and can have an undefined behavior.
-
Antoine Pitrou authored
Large shared arrays allocated using multiprocessing would remain allocated until the process ends.
-
Serhiy Storchaka authored
The protocol parameter can be any protocol supported by the pickle module.
-
Wolfgang Maier authored
When bpo-12015 got resolved by increasing the length of the random string generated by _RandomNameSequence from six to eight characters, the docstring of the class was not adjusted accordingly.
-
- 08 Apr, 2018 2 commits
-
-
Serhiy Storchaka authored
-
Raymond Hettinger authored
-
- 07 Apr, 2018 4 commits
-
-
Alex Gaynor authored
* bpo-29613: Added support for SameSite cookies Implemented as per draft https://tools.ietf.org/html/draft-west-first-party-cookies-07 * Documented SameSite And suggestions by members. * Missing space :( * Updated News and contributors * Added version changed details. * Fix in documentation * fix in documentation * Clubbed test cases for same attribute into single. * Updates * Style nits + expand tests * review feedback
-
Antoine Pitrou authored
* bpo-33201: Modernize "Extension types" doc * Split tutorial and other topics * Some small fixes * Address some review comments * Rename noddy* to custom* and shoddy to sublist * Fix markup
-
Ned Deily authored
-
Jay Crotts authored
-
- 06 Apr, 2018 4 commits
-
-
Brett Cannon authored
An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense.
-
Marcel Plch authored
-
Alex Gaynor authored
-
INADA Naoki authored
-
- 05 Apr, 2018 6 commits
-
-
Raymond Hettinger authored
-
Skip Montanaro authored
Original patch by Alexander Belopolsky. Patch by Skip Montanaro.
-
Wolfgang Maier authored
-
Eric V. Smith authored
* Add a test for frozen with unhashable field value. * Improve a comment.
-
Brett Cannon authored
-
Ivan Levkivskyi authored
This removes a hack and replaces it with a proper mapping {'list': 'List', 'dict': 'Dict', ...}.
-
- 04 Apr, 2018 4 commits
-
-
Ivan Levkivskyi authored
-
Serhiy Storchaka authored
Different paths are executed for normal exit and for leaving the 'async with' block with 'break', 'continue' or 'return'.
-
Łukasz Langa authored
This makes performance better and produces shorter pickles. This change is backwards compatible up to the oldest currently supported version of Python (3.4).
-
INADA Naoki authored
Py_UNICODE is deprecated since Python 3.3. But the deprecation is missed in the c-api/arg document.
-