- 26 Aug, 2019 14 commits
-
-
Pradyun Gedam authored
/cc @ambv since this needs to be included in 3.8 -- see https://github.com/pypa/pip/issues/6885. Sorry about the last minute PR! https://bugs.python.org/issue37664 Automerge-Triggered-By: @zooba
-
Inada Naoki authored
https://bugs.python.org/issue37055 Automerge-Triggered-By: @tiran
-
Ethan Furman authored
-
Sergey Fedoseev authored
-
Pablo Galindo authored
-
Sergey Fedoseev authored
In a38e9d13 pyconfig.h.in was manually edited and that edit was overwritten when running autoreconf.
-
Pablo Galindo authored
-
Andrew Svetlov authored
* Restore running proactor event loop from non-main thread Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
-
Forest Gregg authored
-
Serhiy Storchaka authored
It emits a deprecation warning and calls corresponding method visit_Num(), visit_Str(), etc.
-
Dong-hee Na authored
https://bugs.python.org/issue37805 Automerge-Triggered-By: @methane
-
Joannah Nanjekye authored
-
Terry Jan Reedy authored
Cease turning SyntaxWarnings into SyntaxErrors.
-
Julien Palard authored
In case it has been previously created.
-
- 25 Aug, 2019 6 commits
-
-
Flavian Hautbois authored
Co-authored-by: Andrew Nester <andrew.nester.dev@gmail.com>
-
Nick Coghlan authored
- drop TargetScopeError in favour of raising SyntaxError directly as per the updated PEP 572 - comprehension iteration variables are explicitly local, but named expression targets in comprehensions are nonlocal or global. Raise SyntaxError as specified in PEP 572 - named expression targets in the outermost iterable of a comprehension have an ambiguous target scope. Avoid resolving that question now by raising SyntaxError. PEP 572 originally required this only for cases where the bound name conflicts with the iteration variable in the comprehension, but CPython can't easily restrict the exception to that case (as it doesn't know the target variable names when visiting the outermost iterator expression)
-
Zackery Spytz authored
Fix assert statement misbehavior if AssertionError is shadowed.
-
Raymond Hettinger authored
-
Tal Einat authored
These were caused by keeping around a reference to the Squeezer instance and calling it's load_font() upon config changes, which sometimes happened even if the shell window no longer existed. This change completely removes that mechanism, instead having the editor window properly update its width attribute, which can then be used by Squeezer.
-
Raymond Hettinger authored
-
- 24 Aug, 2019 16 commits
-
-
Berker Peksag authored
-
Terry Jan Reedy authored
Redo of #15402 by GeeTransit and Kyle Stanley.
-
Jürgen Gmach authored
"Arguments may be integers... " could be misunderstand as they also could be strings. New wording makes it clear that arguments have to be integers. modified: Doc/library/datetime.rst Automerge-Triggered-By: @pganssle
-
Raymond Hettinger authored
-
Terry Jan Reedy authored
This reverts commit a50f0a4c.
-
Shashi Ranjan authored
Co-Authored-By: Antoine <43954001+awecx@users.noreply.github.com>
-
Dong-hee Na authored
-
Raymond Hettinger authored
-
Greg Price authored
-
GeeTransit authored
-
shireenrao authored
* fix Path._add_implied_dirs to include all implied directories * fix Path._add_implied_dirs to include all implied directories * Optimize code by using sets instead of lists *
📜 🤖 Added by blurb_it. * fix Path._add_implied_dirs to include all implied directories * Optimize code by using sets instead of lists *📜 🤖 Added by blurb_it. * Add tests to zipfile.Path.iterdir() fix * Update test for zipfile.Path.iterdir() * remove whitespace from test file * Rewrite NEWS blurb to describe the user-facing impact and avoid implementation details. * remove redundant [] within set comprehension * Update to use unique_everseen to maintain order and other suggestions in review * remove whitespace and add back add_dirs in tests * Add new standalone function parents using posixpath to get parents of a directory * removing whitespace (sorry) * Remove import pathlib from zipfile.py * Rewrite _parents as a slice on a generator of the ancestry of a path. * Remove check for '.' and '/', now that parents no longer returns those. * Separate calculation of implied dirs from adding those * Re-use _implied_dirs in tests for generating zipfile with dir entries. * Replace three fixtures (abcde, abcdef, abde) with one representative example alpharep. * Simplify implementation of _implied_dirs by collapsing the generation of parent directories for each name. -
Serhiy Storchaka authored
Fix compilation of "break" and "continue" in the "finally" block when the corresponding "try" block contains "return" with a non-constant value.
-
Serhiy Storchaka authored
-
Raymond Hettinger authored
-
Ned Deily authored
-
Antoine authored
Fix typo in description of link to mozilla bug report writing guidelines. Though the URL is misleading, we're indeed trying to write bug _reports_, not to add bugs. Automerge-Triggered-By: @ned-deily
-
- 23 Aug, 2019 4 commits
-
-
Dong-hee Na authored
-
Zackery Spytz authored
-
Raymond Hettinger authored
-
Victor Stinner authored
PyConfig_Read() is now responsible to handle early calls to PySys_AddXOption() and PySys_AddWarnOption(). Options added by PySys_AddXOption() are now handled the same way than PyConfig.xoptions and command line -X options. For example, PySys_AddXOption(L"faulthandler") enables faulthandler as expected.
-