summaryrefslogtreecommitdiff
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458)Serhiy Storchaka2020-07-131-0/+2
| | | Automerge-Triggered-By: @tiran
* bpo-37765: Add keywords to IDLE tab completions (GH-15138)Terry Jan Reedy2020-07-091-0/+2
| | | | | | | Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key. Rewrite Completions doc. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* Remove trailing >>> in enum docs (GH-21358)E-Paine2020-07-091-0/+1
| | | The >>> as the last line serve no purpose and are not colored correctly by Sphinx.
* bpo-29590: fix stack trace for gen.throw() with yield from (#19896)Chris Jerdonek2020-07-091-0/+2
| | | | | | | | * Add failing test. * bpo-29590: fix stack trace for gen.throw() with yield from (GH-NNNN) When gen.throw() is called on a generator after a "yield from", the intermediate stack trace entries are lost. This commit fixes that.
* bpo-41252: Fix incorrect refcounting in _ssl.c's _servername_callback() ↵Zackery Spytz2020-07-091-0/+1
| | | | (GH-21407)
* bpo-40597: Allow email.contextmanager set_content() to set a null string. ↵Mark Sapiro2020-07-081-0/+1
| | | | (GH-20542)
* bpo-41175: Guard against a NULL pointer dereference within bytearrayobject ↵stratakis2020-07-081-0/+2
| | | | | | | (GH-21240) The issue is triggered by the bytearray() + bytearray() operation. Detected by GCC 10 static analysis tool.
* bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-21401)Tony Solomonik2020-07-081-0/+2
| | | | | | | | | The running loop holder cache variable was always set to NULL when calling set_running_loop. Now set_running_loop saves the newly created running loop holder in the cache variable for faster access in get_running_loop. Automerge-Triggered-By: @1st1
* Revert "bpo-40170: PyType_HasFeature() now always calls PyType_GetFlags() ↵Victor Stinner2020-07-081-0/+4
| | | | | (GH-19378)" (GH-21390) This partially reverts commit 45ec5b99aefa54552947049086e87ec01bc2fc9a.
* closes bpo-41235: Fix the error handling in SSLContext.load_dh_params() ↵Zackery Spytz2020-07-071-0/+1
| | | | (GH-21385)
* bpo-41207 In distutils.spawn, rewrite FileNotFound (GH-21359)Jason R. Coombs2020-07-071-0/+1
| | | Automerge-Triggered-By: @jaraco
* bpo-41218: Only mark async code with CO_COROUTINE. (#21357)Matthias Bussonnier2020-07-061-0/+4
| | | | | 3.8.3 had a regression where compiling with ast.PyCF_ALLOW_TOP_LEVEL_AWAIT woudl agressively mark things are coroutine even if there were not.
* bpo-41215: Don't use NULL by default in the PEG parser keyword list (GH-21355)Pablo Galindo2020-07-061-0/+2
| | | Automerge-Triggered-By: @lysnikolaou
* bpo-29778: Ensure python3.dll is loaded from correct locations when Python ↵Steve Dower2020-07-061-0/+2
| | | | | | is embedded (GH-21297) Also enables using debug build of `python3_d.dll` Reference: CVE-2020-15523
* bpo-29727: Register array.array as a MutableSequence (GH-21338)Pablo Galindo2020-07-051-0/+2
|
* bpo-36346: Undeprecate private function _PyUnicode_AsUnicode(). (GH-21336)Serhiy Storchaka2020-07-051-1/+1
|
* bpo-39168: Remove the __new__ method of typing.Generic (GH-21327)Zackery Spytz2020-07-041-0/+1
| | | Automerge-Triggered-By: @gvanrossum
* bpo-41162: Clear audit hooks later during finalization (GH-21222)Konge2020-07-031-0/+1
|
* bpo-1635741: Port faulthandler module to multiphase initialization (GH-21294)Dong-hee Na2020-07-041-0/+1
|
* bpo-41194: The _ast module cannot be loaded more than once (GH-21290)Victor Stinner2020-07-031-0/+2
| | | | | | | | Fix a crash in the _ast module: it can no longer be loaded more than once. It now uses a global state rather than a module state. * Move _ast module state: use a global state instead. * Set _astmodule.m_size to -1, so the extension cannot be loaded more than once.
* bpo-1635741: Port sha256 module to multiphase init (PEP 489) (GH-21189)Mohamed Koubaa2020-07-031-0/+1
|
* bpo-39960: Allow heap types in the "Carlo Verre" hack check that override ↵scoder2020-07-021-0/+2
| | | | | "tp_setattro()" (GH-21092) Automerge-Triggered-By: @gvanrossum
* bpo-41193: Ignore OSError in readline write_history() (GH-21279)Victor Stinner2020-07-021-0/+4
| | | | | The write_history() atexit function of the readline completer now ignores any OSError to ignore error if the filesystem is read-only, instead of only ignoring FileNotFoundError and PermissionError.
* bpo-40967: Remove deprecated asyncio.Task.current_task() and ↵Rémi Lapeyre2020-07-011-0/+2
| | | | asyncio.Task.all_tasks() (GH-20874)
* bpo-39385: Add an assertNoLogs context manager to unittest.TestCase (GH-18067)Kit Choi2020-07-011-0/+3
| | | Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
* bpo-41161 Add news entry for libmpdec-2.5.0 (GH-21243)Stefan Krah2020-06-301-0/+2
|
* bpo-39314: Closes parenthesis when autocompleting for functions that take no ↵Rémi Lapeyre2020-06-301-0/+3
| | | | arguments (GH-20562)
* bpo-41100: fix _decimal for arm64 Mac OS (GH-21228)Lawrence D'Anna2020-06-301-0/+1
| | | Patch by Lawrence Danna.
* bpo-41142: Add support of non-ASCII paths for CAB files. (GH-21195)Serhiy Storchaka2020-06-301-0/+2
| | | | * The path to the CAB file can be non-ASCII. * Paths of added files can be non-ASCII.
* bpo-36346: Raise DeprecationWarning when creating legacy Unicode (GH-20933)Inada Naoki2020-06-301-0/+2
|
* bpo-41123: Remove PyUnicode_AsUnicodeCopy (GH-21209)Inada Naoki2020-06-301-0/+1
|
* bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)Serhiy Storchaka2020-06-291-0/+2
|
* bpo-23427: Add sys.orig_argv attribute (GH-20729)Victor Stinner2020-06-301-0/+2
| | | | | | | Add sys.orig_argv attribute: the list of the original command line arguments passed to the Python executable. Rename also PyConfig._orig_argv to PyConfig.orig_argv and document it.
* bpo-40924: Ensure importlib.resources.path returns an extant path (GH-20857)Jason R. Coombs2020-06-291-0/+3
|
* Fix typo in Object/listobject.c (GH-21079)Jeong Ukjae2020-06-291-1/+1
|
* bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interface ↵Ravi Teja P2020-06-291-0/+1
| | | | | | | | (GH-21033) The __hash__() methods of classes IPv4Interface and IPv6Interface had issue of generating constant hash values of 32 and 128 respectively causing hash collisions. The fix uses the hash() function to generate hash values for the objects instead of XOR operation
* bpo-41048: mimetypes should read the rule file using UTF-8, not the locale ↵Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2020-06-292-0/+3
| | | | encoding (GH-20998)
* bpo-41123: Remove PyLong_FromUnicode() (GH-21204)Inada Naoki2020-06-291-0/+1
|
* bpo-41123: Remove PyUnicode_GetMax() (GH-21192)Inada Naoki2020-06-291-0/+1
|
* bpo-40874 Update the required libmpdec version for the decimal module (GH-21202)Stefan Krah2020-06-281-0/+1
|
* bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177)Serhiy Storchaka2020-06-281-0/+2
| | | | Fix also a resource warning when store counts and module info.
* bpo-31082: Use "iterable" in the docstring for functools.reduce() (GH-20796)Zackery Spytz2020-06-281-0/+1
|
* bpo-41144: Fix IDLE open module error (#21182)E-Paine2020-06-281-0/+1
| | | | | Could not open os.path. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (#21021)Guido van Rossum2020-06-271-0/+3
|
* bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054)Lysandros Nikolaou2020-06-281-0/+1
| | | This commit changes the parsing of f-string expressions with the new parser. The parser gets pre-fed with the location of the expression itself (not the f-string, which was what we were doing before). This allows us to completely skip the shifting of the AST nodes after the parsing is completed.
* bpo-41123: Remove Py_UNICODE_str* functions (GH-21164)Inada Naoki2020-06-271-0/+1
| | | They are undocumented and deprecated since Python 3.3.
* bpo-41100: clarify NEWS item about macOS 11 support (GH-21174)Ned Deily2020-06-271-1/+7
|
* bpo-41084: Adjust message when an f-string expression causes a SyntaxError ↵Lysandros Nikolaou2020-06-261-0/+1
| | | | | (GH-21084) Prefix the error message with `fstring: `, when parsing an f-string expression throws a `SyntaxError`.
* bpo-41103: Remove old buffer protocol support (#21117)Inada Naoki2020-06-261-0/+4
| | | They are deprecated since Python 3.0.
* bpo-41069: Make TESTFN and the CWD for tests containing non-ascii ↵Serhiy Storchaka2020-06-251-0/+2
| | | | characters. (GH-21035)