Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-37372: Fix error unpickling datetime.time objects from Python 2 with ↵ | Justin Blanchard | 2019-08-29 | 4 | -10/+22 |
| | | | | seconds>=24. (GH-14307) | ||||
* | bpo-37950: Fix ast.dump() when call with incompletely initialized node. ↵ | Serhiy Storchaka | 2019-08-29 | 4 | -19/+59 |
| | | | | (GH-15510) | ||||
* | bpo-37960: Silence only necessary errors in repr() of buffered and text ↵ | Serhiy Storchaka | 2019-08-29 | 4 | -22/+22 |
| | | | | streams. (GH-15543) | ||||
* | bpo-35946: Improve assert_called_with documentation (GH-11796) | Rémi Lapeyre | 2019-08-29 | 2 | -3/+3 |
| | |||||
* | bpo-36871: Ensure method signature is used when asserting mock calls to a ↵ | Xtreak | 2019-08-29 | 3 | -1/+86 |
| | | | | | | | | | | | | | | | | method (GH13261) * Fix call_matcher for mock when using methods * Add NEWS entry * Use None check and convert doctest to unittest * Use better name for mock in tests. Handle _SpecState when the attribute was not accessed and add tests. * Use reset_mock instead of reinitialization. Change inner class constructor signature for check * Reword comment regarding call object lookup logic | ||||
* | bpo-25777: Wording describes a lookup, not a call (GH-15573) | Raymond Hettinger | 2019-08-29 | 1 | -1/+1 |
| | |||||
* | bpo-36167: fix an incorrect capitalization (GH-14482) | avinassh | 2019-08-29 | 1 | -1/+1 |
| | |||||
* | bpo-37964: Make sure test works if TESTFN is in a non-ASCII directory. ↵ | Benjamin Peterson | 2019-08-29 | 1 | -3/+3 |
| | | | | (GH-15568) | ||||
* | bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename ↵ | Ronald Oussoren | 2019-08-29 | 3 | -0/+41 |
| | | | | (GH-14736) | ||||
* | Raise a RuntimeError when tee iterator is consumed from different threads ↵ | HongWeipeng | 2019-08-29 | 3 | -1/+12 |
| | | | | (GH-15567) | ||||
* | closes bpo-37964: add F_GETPATH command to fcntl (GH-15550) | Vinay Sharma | 2019-08-29 | 4 | -0/+14 |
| | | | | | | | https://bugs.python.org/issue37964 Automerge-Triggered-By: @benjaminp | ||||
* | bpo-23878: Remove an unneeded fseek() call in _Py_FindEnvConfigValue() ↵ | Zackery Spytz | 2019-08-28 | 1 | -1/+0 |
| | | | | (GH-15424) | ||||
* | closes bpo-37965: Fix compiler warning of distutils CCompiler.test_function. ↵ | Anonymous Maarten | 2019-08-28 | 2 | -1/+3 |
| | | | | | | | | | | | | (GH-15560) https://bugs.python.org/issue37965 https://bugs.python.org/issue37965 Automerge-Triggered-By: @benjaminp | ||||
* | bpo-36582: Make collections.UserString.encode() return bytes, not str (GH-13138) | Daniel Fortunov | 2019-08-28 | 4 | -6/+20 |
| | |||||
* | bpo-37951: Lift subprocess's fork() restriction (GH-15544) | Christian Heimes | 2019-08-27 | 4 | -2/+19 |
| | |||||
* | Add Florian Ernst to ACKS (GH-15524) | Ethan Furman | 2019-08-27 | 1 | -0/+1 |
| | |||||
* | bpo-37936: Remove some .gitignore rules that were intended locally. (GH-15542) | Greg Price | 2019-08-27 | 1 | -7/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | These appeared in commit c5ae169e1. The comment on them, as well as the presence among them of a rule for the .gitignore file itself, indicate that the author intended these lines to remain only in their own local working tree -- not to get committed even to their own repo, let alone merged upstream. They did nevertheless get committed, because it turns out that Git takes no notice of what .gitignore says about files that it's already tracking... for example, this .gitignore file itself. Give effect to these lines' original intention, by deleting them. :-) Git tip, for reference: the `.git/info/exclude` file is a handy way to do exactly what these lines were originally intended to do. A related handy file is `~/.config/git/ignore`. See gitignore(5), aka `git help ignore`, for details. https://bugs.python.org/issue37936 Automerge-Triggered-By: @zware | ||||
* | Fix unused variable and signed/unsigned warnings (GH-15537) | Raymond Hettinger | 2019-08-27 | 3 | -3/+9 |
| | |||||
* | bpo-36205: Fix the rusage implementation of time.process_time() (GH-15538) | vrajivk | 2019-08-27 | 2 | -1/+2 |
| | |||||
* | bpo-37328: remove deprecated HTMLParser.unescape (GH-14186) | Inada Naoki | 2019-08-27 | 3 | -15/+2 |
| | | | It is deprecated since Python 3.4. | ||||
* | bpo-36763: Make Py_BytesMain() public (GH-15532) | Victor Stinner | 2019-08-26 | 2 | -2/+2 |
| | | | | Declare Py_BytesMain() in Include/pylifecycle.h, rather in Include/internal/pycore_pylifecycle.h. | ||||
* | Fix an invalid assertEqual() call in test_descr.py (GH-15318) | Zackery Spytz | 2019-08-26 | 1 | -5/+1 |
| | |||||
* | Make PyXXX_Fini() functions private (GH-15531) | Victor Stinner | 2019-08-26 | 14 | -36/+38 |
| | | | | | For example, rename PyTuple_Fini() to _PyTuple_Fini(). These functions are only declared in the internal C API. | ||||
* | bpo-37925: Mention --embed in python-config usage (GH-15458) | Batuhan Taşkaya | 2019-08-26 | 1 | -1/+1 |
| | |||||
* | bpo-37798: Minor code formatting and comment clean-ups. (GH-15526) | Raymond Hettinger | 2019-08-26 | 1 | -13/+22 |
| | |||||
* | bpo-37664: Update ensurepip bundled wheels, again (GH-15483) | Pradyun Gedam | 2019-08-26 | 4 | -3/+3 |
| | | | | | | | | | | | | /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 | ||||
* | bpo-37055: fix warnings in _blake2 module (GH-14646) | Inada Naoki | 2019-08-26 | 3 | -19/+0 |
| | | | | | | | https://bugs.python.org/issue37055 Automerge-Triggered-By: @tiran | ||||
* | correct roman numeral VII description (GH-15523) | Ethan Furman | 2019-08-26 | 1 | -1/+1 |
| | |||||
* | Fix typo: Pyssize_t => Py_ssize_t (GH-15411) | Sergey Fedoseev | 2019-08-26 | 1 | -1/+1 |
| | |||||
* | bpo-37954: Fix reference leak in the symtable (GH-15514) | Pablo Galindo | 2019-08-26 | 1 | -1/+3 |
| | |||||
* | Remove leftovers from the times when long long wasn't required (GH-15501) | Sergey Fedoseev | 2019-08-26 | 2 | -4/+4 |
| | | | | In a38e9d139929a227e3899fbb638bc46c6cc6d8ba pyconfig.h.in was manually edited and that edit was overwritten when running autoreconf. | ||||
* | bpo-37947: Adjust correctly the recursion level in symtable for named ↵ | Pablo Galindo | 2019-08-26 | 2 | -1/+5 |
| | | | | expressions (GH-15499) | ||||
* | bpo-34679: Restore instantiation Windows IOCP event loop from non-main ↵ | Andrew Svetlov | 2019-08-26 | 3 | -1/+24 |
| | | | | | | | | thread (#15492) * Restore running proactor event loop from non-main thread Co-Authored-By: Kyle Stanley <aeros167@gmail.com> | ||||
* | bpo-27575: port set intersection logic into dictview intersection (GH-7696) | Forest Gregg | 2019-08-26 | 3 | -4/+93 |
| | |||||
* | bpo-36917: Add default implementation of ast.NodeVisitor.visit_Constant(). ↵ | Serhiy Storchaka | 2019-08-26 | 5 | -0/+99 |
| | | | | | | | (GH-15490) It emits a deprecation warning and calls corresponding method visit_Num(), visit_Str(), etc. | ||||
* | bpo-37805: Add tests for json.dump(..., skipkeys=True) (GH-15489) | Dong-hee Na | 2019-08-26 | 2 | -0/+11 |
| | | | | | | | https://bugs.python.org/issue37805 Automerge-Triggered-By: @methane | ||||
* | bpo-15542: Documentation incorrectly suggests __init__ called after direct ↵ | Joannah Nanjekye | 2019-08-26 | 1 | -4/+4 |
| | | | | __new__ call (GH-15478) | ||||
* | bpo-37824: Properly handle user input warnings in IDLE shell. (GH-15500) | Terry Jan Reedy | 2019-08-26 | 3 | -14/+11 |
| | | | Cease turning SyntaxWarnings into SyntaxErrors. | ||||
* | Doc: Keep the venv/* exclude pattern. (GH-15229) | Julien Palard | 2019-08-26 | 1 | -2/+4 |
| | | | In case it has been previously created. | ||||
* | bpo-29553: Fix ArgumentParser.format_usage() for mutually exclusive groups ↵ | Flavian Hautbois | 2019-08-25 | 3 | -2/+50 |
| | | | | | (GH-14976) Co-authored-by: Andrew Nester <andrew.nester.dev@gmail.com> | ||||
* | bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15131) | Nick Coghlan | 2019-08-25 | 10 | -76/+191 |
| | | | | | | | | | | | | | | | - 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) | ||||
* | bpo-34880: Add the LOAD_ASSERTION_ERROR opcode. (GH-15073) | Zackery Spytz | 2019-08-25 | 14 | -2626/+2663 |
| | | | | Fix assert statement misbehavior if AssertionError is shadowed. | ||||
* | bpo-37905: Improve docs for NormalDist (GH-15486) | Raymond Hettinger | 2019-08-25 | 1 | -20/+7 |
| | |||||
* | bpo-37929: IDLE: avoid Squeezer-related config dialog crashes (GH-15452) | Tal Einat | 2019-08-25 | 4 | -50/+27 |
| | | | | | | | | | 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. | ||||
* | bpo-37942: Improve argument clinic float converter (GH-15470) | Raymond Hettinger | 2019-08-25 | 10 | -112/+317 |
| | |||||
* | bpo-19072: Make @classmethod support chained decorators (GH-8405) | Berker Peksag | 2019-08-24 | 5 | -2/+71 |
| | |||||
* | Fix typo and rearrange words in IDLE news item (GH-15471) | Terry Jan Reedy | 2019-08-24 | 1 | -1/+1 |
| | | | Redo of #15402 by GeeTransit and Kyle Stanley. | ||||
* | Clarify argument types in datetime docs. (GH-15459) | Jürgen Gmach | 2019-08-24 | 1 | -3/+3 |
| | | | | | | | | | | | | "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 | ||||
* | bpo-14112: Allow beginners to explore shallowness in greater depth ;-) ↵ | Raymond Hettinger | 2019-08-24 | 2 | -1/+3 |
| | | | | (GH-15465) | ||||
* | Revert "(TH-15402)" (#15468) | Terry Jan Reedy | 2019-08-24 | 1 | -1/+1 |
| | | | This reverts commit a50f0a4c2bd997e4534162ecc1853cb54c7ae902. |