- 09 Jan, 2018 9 commits
-
-
Serhiy Storchaka authored
-
David Carlier authored
Allow building the _uuid extension module on FreeBSD and OpenBSD.
-
Ned Deily authored
-
Ned Deily authored
-
Ned Deily authored
-
Steve Dower authored
-
Ned Deily authored
-
Ned Deily authored
-
Ned Deily authored
-
- 08 Jan, 2018 1 commit
-
-
Nick Coghlan authored
- primary change is to add a new default filter entry for 'default::DeprecationWarning:__main__' - secondary change is an internal one to cope with plain strings in the warning module's internal filter list (this avoids the need to create a compiled regex object early on during interpreter startup) - assorted documentation updates, including many more examples of configuring the warnings settings - additional tests to ensure that both the pure Python and the C accelerated warnings modules have the expected default configuration
-
- 07 Jan, 2018 7 commits
-
-
Eric V. Smith authored
-
Zachary Ware authored
-
Serhiy Storchaka authored
-
Nathaniel J. Smith authored
Third party projects may wish to hide their own internal machinery in order to present more comprehensible tracebacks to end users (e.g. Jinja2 and Trio both do this). Previously such projects have had to rely on ctypes to do so: https://github.com/pallets/jinja/blob/fe3dadacdf4cf411d0a5b6bbd4d5234697a28af2/jinja2/debug.py#L345 https://github.com/python-trio/trio/blob/1e86b1aee8c0c759f6f239ae53a05d0d3963c629/trio/_core/_multierror.py#L296 This provides a Python level API for creating and modifying real Traceback objects, allowing tracebacks to be edited at runtime. Patch by Nathaniel Smith.
-
Eric V. Smith authored
-
Zachary Ware authored
It's more trouble than it's worth, since AppVeyor only checks the HEAD commit of a PR rather than the full diff against the base branch to decide which files changed.
-
Max Bélanger authored
-
- 06 Jan, 2018 7 commits
-
-
Eric V. Smith authored
-
Eric V. Smith authored
-
Eric V. Smith authored
bpo-32499: Add dataclasses.is_dataclass(obj), which returns True if obj is a dataclass or an instance of one. (#5113)
-
Olivier Grisel authored
The picklers do no longer allocate temporary memory when dumping large bytes and str objects into a file object. Instead the data is directly streamed into the underlying file object. Previously the C implementation would buffer all content and issue a single call to file.write() at the end of the dump. With protocol 4 this behavior has changed to issue one call to file.write() per frame. The Python pickler with protocol 4 now dumps each frame content as a memoryview to an IOBytes instance that is never reused and the memoryview is no longer released after the call to write. This makes it possible for the file object to delay access to the memoryview of previous frames without forcing any additional memory copy as was already possible with the C pickler.
-
Paul Ganssle authored
-
Mario Corchero authored
Add a new argument "-m" to the pdb module to allow users to run `python -m pdb -m my_module_name`. This relies on private APIs in the runpy module to work, but we can get away with that since they're both part of the standard library and can be updated together if the runpy internals get refactored.
-
Nathaniel J. Smith authored
This module has never been enabled by default, never worked correctly on x86-64, and caused ABI problems that caused C extension compatibility. See bpo-29137 for details/discussion.
-
- 05 Jan, 2018 3 commits
-
-
Michael Felt authored
-
Thomas Moreau authored
Fix deadlocks in :class:`concurrent.futures.ProcessPoolExecutor` when task arguments or results cause pickling or unpickling errors. This should make sure that calls to the :class:`ProcessPoolExecutor` API always eventually return.
-
Benjamin Peterson authored
-
- 04 Jan, 2018 6 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Overriding flags to 0 will make the default pattern matching only lower case letters.
-
Berker Peksag authored
The comment was added in 3abca127. In d78448e9, it was changed to use PyArg_ParseTuple instead.
-
Serhiy Storchaka authored
Addition and subtraction of arbitrary numbers no longer allowed.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
- 03 Jan, 2018 1 commit
-
-
Brett Cannon authored
Otherwise the import team gets flagged for reviews any time the bytecode for importlib.h changes (e.g new bytecode, optimizations, etc.).
-
- 02 Jan, 2018 2 commits
-
-
Emily Morehouse authored
Updates documentation for generator expressions in classes tutorial: Clarify usage of ambiguous term "brackets" by replacing with "square brackets". Updated subsequent lines to respect line breaks. (#5079)
-
Serhiy Storchaka authored
-
- 01 Jan, 2018 1 commit
-
-
Serhiy Storchaka authored
Move other test to more proper place.
-
- 31 Dec, 2017 2 commits
-
-
Antoine Pitrou authored
bpo-32468: Better frame repr()
-
Benjamin Peterson authored
-
- 30 Dec, 2017 1 commit
-
-
Zachary Ware authored
-