summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-35766: compile(): rename feature_version parameter (GH-13994)Victor Stinner2019-06-124-10/+16
| | | | | | Rename compile() feature_version parameter to _feature_version and convert it to a keyword-only parameter. Update also test_type_comments to pass feature_version as a tuple.
* bpo-35766: Change format for feature_version to (major, minor) (GH-13992)Guido van Rossum2019-06-124-10/+19
| | | | | | | (A single int is still allowed, but undocumented.) https://bugs.python.org/issue35766
* bpo-37238: Enable building for Windows using Visual Studio 2019 (GH-13988)Paul Monson2019-06-112-1/+2
|
* bpo-35766: What's new in the ast and typing modules (#13984)Guido van Rossum2019-06-111-0/+46
|
* Fix test_posix if RWF_HIPRI is defined but not preadv2. (GH-13980)Benjamin Peterson2019-06-111-0/+2
| | | If preadv2 is not available, preadv will raise NotImplementedError.
* closes bpo-33758: Skip test_get_type_hints_modules_forwardref. (GH-13977)Benjamin Peterson2019-06-111-2/+2
| | | This test "works" if things are run in the right order, so it's better to use @skip than @expectedFailure here.
* bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-13971)Andrew Svetlov2019-06-112-6/+34
| | | | | | | If internal tasks weak set is changed by another thread during iteration. https://bugs.python.org/issue36607
* bpo-37219: Remove erroneous optimization for differencing an empty set ↵Raymond Hettinger2019-06-113-8/+7
| | | | | | (GH-13965)
* closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup parsing ↵aaronpaulhurst2019-06-111-1/+1
| | | | | | | | of pyexpat line in Setup. (GH-13064) When the line is uncommented, the equals character causes it to be incorrectly interpreted as a macro definition by makesetup. This results in invalid Makefile output. The expat code only requires XML_POOR_ENTROPY to be defined; the value is unnecessary.
* bpo-37223: test_io: silence destructor errors (GH-13954)Victor Stinner2019-06-111-0/+10
| | | Implement also MockNonBlockWriterIO.seek() method.
* bpo-18748: Fix _pyio.IOBase destructor (closed case) (GH-13952)Victor Stinner2019-06-112-0/+12
| | | | _pyio.IOBase destructor now does nothing if getting the closed attribute fails to better mimick _io.IOBase finalizer.
* bpo-37215: Fix dtrace issue introduce by bpo-36842 (GH-13940)Christian Heimes2019-06-102-5/+6
| | | | | | Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue37215
* Do not use explicit inheritance from object in the documentation. (GH-13936)Serhiy Storchaka2019-06-103-14/+14
|
* bpo-36785: PEP 574 What's New entry (#13931)Antoine Pitrou2019-06-091-1/+17
|
* Add some placeholder notes for major 3.8 features (GH-13927)Nick Coghlan2019-06-091-0/+7
|
* bpo-11122: fix hardcoded path checking for rpmbuild in bdist_rpm.py (GH-10594)Marcin Niemira2019-06-082-4/+2
|
* bpo-37178: Allow a one argument form of math.perm() (GH-13905)Raymond Hettinger2019-06-086-9/+34
|
* bpo-34886: Fix subprocess.run handling of exclusive arguments (GH-11727)Rémi Lapeyre2019-06-082-2/+7
| | | | | | Fix an unintended ValueError from :func:`subprocess.run` when checking for conflicting `input` and `stdin` or `capture_output` and `stdout` or `stderr` args when they were explicitly provided but with `None` values within a passed in `**kwargs` dict rather than as passed directly by name.
* bpo-29505: Fix interpreter in fuzzing targets to be relocatable (GH-13907)Ammar Askar2019-06-081-0/+8
|
* bpo-37173: Show passed class in inspect.getfile error (GH-13861)Philipp A2019-06-083-3/+22
| | | | | | | | | | | | | Currently, inspect.getfile(str) will report nonsense: ```pytb >>> inspect.getfile(str) TypeError: <module 'builtins' (built-in)> is a built-in class ``` This fixes that https://bugs.python.org/issue37173
* cross port importlib-metadata PR #76 (#13903)Anthony Sottile2019-06-074-0/+4
| | | https://gitlab.com/python-devs/importlib_metadata/merge_requests/76
* bpo-37150: Throw ValueError if FileType class object was passed in ↵zygocephalus2019-06-073-0/+23
| | | | | | | | | | | | | | add_argument (GH-13805) There is a possibility that someone (like me) accidentally will omit parentheses with `FileType` arguments after `FileType`, and parser will contain wrong file until someone will try to use it. Example: ```python parser = argparse.ArgumentParser() parser.add_argument('-x', type=argparse.FileType) ``` https://bugs.python.org/issue37150
* bpo-37138: fix undefined behaviour with memcpy() on NULL array (GH-13867)Jeroen Demeyer2019-06-071-1/+5
|
* bpo-37181: Fix test_regrtest failures on Windows arm64 (GH-13872)Paul Monson2019-06-073-3/+8
|
* bpo-37191: Move TestPEP590 from test_capi to test_call (GH-13892)Victor Stinner2019-06-072-115/+123
|
* bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888)Victor Stinner2019-06-073-27/+30
| | | | | Replace two Python function calls with a single one to ensure that no memory allocation is done between the invalid object is created and when _PyObject_IsFreed() is called.
* bpo-37151: simplify classmethoddescr_call (GH-13340)Jeroen Demeyer2019-06-072-30/+18
|
* Use assertEqual(). (#13883)Stefan Krah2019-06-071-2/+2
|
* IDLE: Standardize naming convention for DummyEditwin in tests (GH-13876)Cheryl Sabella2019-06-071-2/+2
| | | * Change from Dummy_Editwin to DummyEditwin to match other tests.
* bpo-37188: Fix a divide-by-zero in arrays of size-0 objects (#13881)Eric Wieser2019-06-072-1/+16
|
* bpo-37177: make IDLE's search dialogs transient (GH-13869)Tal Einat2019-06-073-5/+10
| | | This avoids the search dialogs being hidden behind the editor window.
* bpo-37134: Add PEP570 notation to the signature of byte{array}.translate ↵Pablo Galindo2019-06-061-2/+2
| | | | (GH-13874)
* bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860)Zackery Spytz2019-06-064-4/+29
|
* bpo-36520: Email header folded incorrectly (#13608)websurfer52019-06-063-0/+133
| | | | | | | | | | | | | | | | | * bpo-36520: reset the encoded word offset when starting a new line during an email header folding operation * 📜🤖 Added by blurb_it. * bpo-36520: add an additional test case, and provide descriptive comments for the test_folding_with_utf8_encoding_* tests * bpo-36520: fix whitespace issue * bpo-36520: changes per reviewer request -- remove extraneous backslashes; add whitespace between terminating quotes and line-continuation backslashes; use "bpo-" instead of "issue #" in comments
* bpo-37156: Fix libssl DLL tag in MSI sources (GH-13866)Steve Dower2019-06-061-2/+3
|
* bpo-36763, _testembed: enable assert() in release mode (GH-13857)Victor Stinner2019-06-061-2/+5
|
* bpo-2661: Make mapping tests better usable for custom mapping classes. ↵Walter Dörwald2019-06-061-3/+5
| | | | | | | | | | | | | | | (GH-11157) In test_fromkeys() the derived test class now supports all arguments in its constructor so that the class to be tested can use its own constructor in its fromkeys() implementation. In test_mutatingiteration() the test fails as soon as iterating over a dictionary with one entry and adding new entries in the loop iterates more than once (to avoid endless loops in faulty implementations). https://bugs.python.org/issue2661
* bpo-35551: remove mac_centeuro encoding (GH-13856)Inada Naoki2019-06-061-307/+0
| | | It is alias to mac_latin2 now.
* Add importlib.metadata to what's new. (#13855)Barry Warsaw2019-06-061-1/+4
|
* bpo-37134: Use PEP570 syntax for sum() (GH-13851)Pablo Galindo2019-06-051-3/+3
|
* bpo-37165: Convert _count_elements to the argument clinic (GH-13848)Raymond Hettinger2019-06-053-12/+49
|
* bpo-35551: encodings update (GH-11446)Ashwin Ramaswami2019-06-053-4/+6
|
* bpo-37134: Add PEP570 notation to the documentation (GH-13743)Pablo Galindo2019-06-052-3/+3
|
* bpo-33725, multiprocessing doc: rephase warning against fork on macOS (GH-13841)Victor Stinner2019-06-051-2/+3
| | | Co-Authored-By: Barry Warsaw <barry@python.org>
* bpo-21315: Fix parsing of encoded words with missing leading ws. (#13425)Abhilash Raj2019-06-054-3/+49
| | | | | | | | | | | | * bpo-21315: Fix parsing of encoded words with missing leading ws. Because of missing leading whitespace, encoded word would get parsed as unstructured token. This patch fixes that by looking for encoded words when splitting tokens with whitespace. Missing trailing whitespace around encoded word now register a defect instead. Original patch suggestion by David R. Murray on bpo-21315.
* [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)Serhiy Storchaka2019-06-0530-330/+45
| | | Turn deprecation warnings added in 3.8 into TypeError.
* bpo-37158: Simplify and speed-up statistics.fmean() (GH-13832)Raymond Hettinger2019-06-052-4/+5
|
* bpo-26836: Document os.memfd_create() name parameter (GH-13838)Victor Stinner2019-06-051-0/+7
| | | https://bugs.python.org/issue26836
* bpo-34767: Do not always create a collections.deque() in asyncio.Lock() ↵Zackery Spytz2019-06-052-2/+8
| | | | | (GH-13834) https://bugs.python.org/issue34767
* Fix documentation (GH-13721)Benjamin Yeh2019-06-051-0/+4
| | | Based on the source code https://github.com/python/cpython/blob/4a686504eb2bbf69adf78077458508a7ba131667/Lib/multiprocessing/pool.py#L755 AsyncResult.successful() raises a ValueError, not an AssertionError.