summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-42051: Reject XML entity declarations in plist files (#22760)Ronald Oussoren2020-10-193-0/+28
|
* bpo-39107: Updated Tcl and Tk to 8.6.10 in Windows installer (GH-22405)Steve Dower2020-10-193-6/+6
|
* bpo-41192: Fix some broken anchors for audit event entries (#21310)Saiyang Gou2020-10-193-4/+3
|
* Correct name of bytecode in change note. (GH-22723)Mark Shannon2020-10-191-1/+1
|
* bpo-19270: Fixed sched.scheduler.cancel to cancel correct event (GH-22729)Bar Harel2020-10-193-10/+23
|
* bpo-40484: Document compiler flags under AST module (GH-19885)Batuhan Taskaya2020-10-192-20/+46
| | | | Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
* bpo-40492: Fix --outfile with relative path when the program changes it ↵Anthony Sottile2020-10-184-1/+28
| | | | working dir (GH-19910)
* bpo-28660: Make TextWrapper break long words on hyphens (GH-22721)Irit Katriel2020-10-183-2/+83
|
* 3.9 whatsnew: fix bpo issue for AST change (GH-22742)Shantanu2020-10-181-1/+1
|
* bpo-20184: Convert termios to Argument Clinic. (GH-22693)Serhiy Storchaka2020-10-182-99/+328
|
* bpo-41966: Fix pickling pure datetime.time subclasses (GH-22731)scaramallion2020-10-184-1/+7
|
* bpo-38252: Use 8-byte step to detect ASCII sequence in 64bit Windows build ↵Ma Lin2020-10-185-52/+53
| | | | (GH-16334)
* bpo-42065: Fix incorrectly formatted _codecs.charmap_decode error message ↵Max Bernstein2020-10-173-1/+16
| | | | (GH-19940)
* [doc] Add mentions of PEP 613 (TypeAlias) to docs (GH-22733)Andre Delfino2020-10-171-1/+3
|
* bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst ↵Zackery Spytz2020-10-161-21/+1
| | | | (GH-22726)
* closes bpo-42030: Remove legacy AIX dynload support (GH-22717)Kevin Adler2020-10-164-202/+3
| | | | | | | | Since c19c5a6, AIX builds have defaulted to using dynload_shlib over dynload_aix when dlopen is available. This function has been available since AIX 4.3, which went out of support in 2003, the same year the previously referenced commit was made. It has been nearly 20 years since a version of AIX has been supported which has not used dynload_shlib so there's no reason to keep this legacy code around.
* bpo-42011: Update documentation of logging.Filter.filter() (GH-22692)Necdet Can Atesman2020-10-161-2/+2
|
* bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513)Hai Shi2020-10-167-112/+16
| | | | * Move the codecs' (un)register operation to testcases. * Remove _codecs._forget_codec() and _PyCodec_Forget()
* Document that `test.support.bytecode_helper` is new in 3.9 (GH-22618)Saiyang Gou2020-10-151-0/+2
|
* bpo-1635741: Add a global module state to unicodedata (GH-22712)Victor Stinner2020-10-151-54/+107
| | | | | | Prepare unicodedata to add a state per module: start with a global "module" state, pass it to subfunctions which access &UCD_Type. This change also prepares the conversion of the UCD_Type static type to a heap type.
* bpo-42021: Fix possible ref leaks during _sqlite3 module init (GH-22673)Erlend Egeberg Aasland2020-10-154-129/+93
|
* Minor clarification (GH-22708)Raymond Hettinger2020-10-151-3/+3
|
* bpo-41894: Fix UnicodeDecodeError while loading native module (GH-22466)Kevin Adler2020-10-154-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running in a non-UTF-8 locale, if an error occurs while importing a native Python module (say because a dependent share library is missing), the error message string returned may contain non-ASCII code points causing a UnicodeDecodeError. PyUnicode_DecodeFSDefault is used for buffers which may contain filesystem paths. For consistency with os.strerror(), PyUnicode_DecodeLocale is used for buffers which contain system error messages. While the shortname parameter is always encoded in ASCII according to PEP 489, it is left decoded using PyUnicode_FromString to minimize the changes and since it should not affect the decoding (albeit _potentially_ slower). In dynload_hpux, since the error buffer contains a message generated from a static ASCII string and the module filesystem path, PyUnicode_DecodeFSDefault is used instead of PyUnicode_DecodeLocale as is used elsewhere. * bpo-41894: Fix bugs in dynload error msg handling For both dynload_aix and dynload_hpux, properly handle the possibility that decoding strings may return NULL and when such an error happens, properly decrement any previously decoded strings and return early. In addition, in dynload_aix, ensure that we pass the decoded string *object* pathname_ob to PyErr_SetImportError instead of the original pathname buffer. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-41984: GC track all user classes (GH-22701)Brandt Bucher2020-10-155-21/+52
|
* Update timings for the final release (GH-22697)Raymond Hettinger2020-10-141-27/+27
|
* bpo-39337: encodings.normalize_encoding() now ignores non-ASCII characters ↵Hai Shi2020-10-144-2/+21
| | | | (GH-22219)
* bpo-41876: Overload __repr__ for tkinter Font objects (GH-22450)Anatoliy Platonov2020-10-144-0/+12
|
* closes bpo-42029: Remove dynload_dl (GH-22687)Kevin Adler2020-10-141-23/+0
| | | | | All references to this dynamic loading method were removed in b9949db, when support for this method was dropped, but the implementation code was not dropped (seemingly in oversight).
* bpo-41939: always enable test_site.test_license_exists_at_url (GH-22688)Ned Deily2020-10-141-2/+0
|
* Improve recipe readability (GH-22685)Raymond Hettinger2020-10-131-31/+37
|
* bpo-40422: Move _Py_closerange to fileutils.c (GH-22680)Kyle Evans2020-10-137-80/+83
| | | | | | | This API is relatively lightweight and organizationally, given that it's used by multiple modules, it makes sense to move it to fileutils. Requires making sure that _posixsubprocess is compiled with the appropriate Py_BUIILD_CORE_BUILTIN macro.
* Add recipe for a version of random() with a larger population (GH-22664)Raymond Hettinger2020-10-131-2/+53
|
* bpo-41756: Export PyGen_Send and wrap it in if-defs (#22677)Vladimir Matveev2020-10-133-0/+7
|
* bpo-41995: Fix null ptr deref in tracemalloc_copy_trace() (GH-22660)Yunlongs2020-10-131-1/+1
| | | | Fix a null pointer dereference in tracemalloc_copy_trace() of _tracemalloc.
* bpo-40422: Move _Py_*_SUPPRESS_IPH bits into _Py_closerange (GH-22672)Kyle Evans2020-10-121-2/+2
| | | | | | This suppression is no longer needed in os_closerange_impl, as it just invokes the internal _Py_closerange implementation. On the other hand, consumers of _Py_closerange may not have any other reason to suppress invalid parameter issues, so narrow the scope to here.
* Fix typo in "Context manager types" section in typing.rst (GH-22676)Saiyang Gou2020-10-121-2/+2
| | | | | Fix typo in the "Context manager types" section in `typing.rst`. Automerge-Triggered-By: @gvanrossum
* bpo-42015: Reorder dereferencing calls in meth_dealloc, to make sure m_self ↵Yannick Jadoul2020-10-122-2/+7
| | | | is kept alive long enough (GH-22670)
* Delete PyGen_Send (#22663)Vladimir Matveev2020-10-127-64/+21
|
* [doc] Fix typo in the graphlib docs (GH-22661)linchiwei1232020-10-121-3/+4
| | | Automerge-Triggered-By: @pablogsal
* [doc] Remove mention of async and await as soft keywords (GH-22144)Andre Delfino2020-10-121-4/+5
|
* bpo-41739: Fix test_logging.test_race_between_set_target_and_flush() (GH-22655)Victor Stinner2020-10-112-8/+15
| | | | | | The test now waits until all threads complete to avoid leaking running threads. Also, use regular threads rather than daemon threads.
* bpo-41971: Fix test failure in test.test_tools.test_c_analyzer when mutating ↵Pablo Galindo2020-10-111-1/+3
| | | | global state (GH-22652)
* bpo-40423: Optimization: use close_range(2) if available (GH-22651)Kyle Evans2020-10-115-7/+24
| | | | | | | close_range(2) should be preferred at all times if it's available, otherwise we'll use closefrom(2) if available with a fallback to fdwalk(3) or plain old loop over fd range in order of most efficient to least. [note that this version does check for ENOSYS, but currently ignores all other errors] Automerge-Triggered-By: @pablogsal
* bpo-40422: create a common _Py_closerange API (GH-19754)Kyle Evans2020-10-114-37/+51
| | | | | | | Such an API can be used both for os.closerange and subprocess. For the latter, this yields potential improvement for platforms that have fdwalk but wouldn't have used it there. This will prove even more beneficial later for platforms that have close_range(2), as the new API will prefer that over all else if it's available. The new API is structured to look more like close_range(2), closing from [start, end] rather than the [low, high) of os.closerange(). Automerge-Triggered-By: @gpshead
* Fix .. code-block :: directives in decimal.rst (GH-22571)Anthony Sottile2020-10-111-3/+3
|
* Fix typo in listobject.h (GH-22588)chilaxan2020-10-111-1/+1
|
* Fix typo (GH-22582)Gaurav Kamath2020-10-111-1/+1
| | | | | /af/of/s Automerge-Triggered-By: @Mariatta
* bpo-41993: Fix possible issues in remove_module() (GH-22631)Serhiy Storchaka2020-10-112-10/+15
| | | | | | * PyMapping_HasKey() is not safe because it silences all exceptions and can return incorrect result. * Informative exceptions from PyMapping_DelItem() are overridden with RuntimeError and the original exception raised before calling remove_module() is lost. * There is a race condition between PyMapping_HasKey() and PyMapping_DelItem().
* bpo-42002: Clean up initialization of the sys module. (GH-22642)Serhiy Storchaka2020-10-111-107/+45
| | | Makes the code clearer and make errors handling more correct.
* Fix typo in typing.rst (GH-22625)abdo2020-10-111-1/+1
|