summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-27321 Fix email.generator.py to not replace a non-existent header. ↵Mark Sapiro2020-10-193-1/+42
| | | | | | | | | | | (GH-18074) This PR replaces #1977. The reason for the replacement is two-fold. The fix itself is different is that if the CTE header doesn't exist in the original message, it is inserted. This is important because the new CTE could be quoted-printable whereas the original is implicit 8bit. Also the tests are different. The test_nonascii_as_string_without_cte test in #1977 doesn't actually test the issue in that it passes without the fix. The test_nonascii_as_string_without_content_type_and_cte test is improved here, and even though it doesn't fail without the fix, it is included for completeness. Automerge-Triggered-By: @warsaw
* bpo-41845: Move PyObject_GenericGetDict() back into the limited API (GH22646)Zackery Spytz2020-10-194-1/+6
| | | | It was moved out of the limited API in 7d95e4072169911b228c9e42367afb5f17fd3db0. This change re-enables it from 3.10, to avoid generating invalid extension modules for earlier versions.
* bpo-40901: Describe what "interface name" means on Windows (GH-20694)Jakub Stasiak2020-10-191-0/+19
|
* bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252)Alex Gaynor2020-10-196-20/+26
|
* bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs ↵Zackery Spytz2020-10-191-4/+2
| | | | | (GH-21360) On Windows, the default asyncio event loop is ProactorEventLoop (as of 3.8).
* bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394)Jason R. Coombs2020-10-193-6/+12
| | | Co-authored-by: Christian Heimes <christian@python.org>
* bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463)Michel Samia2020-10-191-1/+1
|
* Link to the msvcrt module from the Windows FAQ (#22268)abdo2020-10-191-1/+1
|
* bpo-38320: Clarify that expectedFailure is satisfied by either failure or ↵Irit Katriel2020-10-191-5/+6
| | | | error of the test. (GH-22740)
* bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775)Barry Warsaw2020-10-194-6/+26
| | | | | ~~The only differences are in the test files.~~ Automerge-Triggered-By: @jaraco
* bpo-42084: Language aware diff headers (GH-22776)Raymond Hettinger2020-10-191-0/+10
|
* bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS ↵Ronald Oussoren2020-10-193-0/+18
| | | | (GH-22762)
* 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
|