Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
7801514 Add Mark Shannon to CODEOWNERS. (#22914) 23 October 2020, 12:05:48 UTC
da6f098 bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT (GH-20088) shutil.which will not return None anymore for empty str in PATHEXT Empty PATHEXT will now be defaulted to _WIN_DEFAULT_PATHEXT 23 October 2020, 10:08:24 UTC
345cd37 bpo-36876: Fix the C analyzer tool. (GH-22841) The original tool wasn't working right and it was simpler to create a new one, partially re-using some of the old code. At this point the tool runs properly on the master. (Try: ./python Tools/c-analyzer/c-analyzer.py analyze.) It take ~40 seconds on my machine to analyze the full CPython code base. Note that we'll need to iron out some OS-specific stuff (e.g. preprocessor). We're okay though since this tool isn't used yet in our workflow. We will also need to verify the analysis results in detail before activating the check in CI, though I'm pretty sure it's close. https://bugs.python.org/issue36876 23 October 2020, 00:42:51 UTC
ec388cf bpo-38486: Fix dead qmail links in the mailbox docs (GH-22239) 22 October 2020, 23:33:28 UTC
facb522 bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433) 22 October 2020, 19:14:35 UTC
e76b8fc Add CODEOWNERS for the Grammar file (GH-22898) 22 October 2020, 18:26:14 UTC
c6d7e82 bpo-38980: Only apply -fno-semantic-interposition if available (GH-22892) 22 October 2020, 16:11:53 UTC
b37c994 bpo-42086: Document AST operator nodes acts as a singleton (GH-22896) Automerge-Triggered-By: GH:gvanrossum 22 October 2020, 16:02:43 UTC
b52432c bpo-42057: Add regression test to master. (GH-22893) 22 October 2020, 15:42:26 UTC
b6f2fc9 bpo-25655: Improve Win DLL loading failures doc (GH-22372) Add documentation to help diagnose CDLL dependent DLL loading errors on windows for OSError with message: "[WinError 126] The specified module could not be found" This error is otherwise difficult to diagnose. 22 October 2020, 15:39:18 UTC
283f9a2 Remove 3.5 from Doc version switcher in master. (#22886) 22 October 2020, 13:16:21 UTC
dde91b1 bpo-1635741: Fix NULL ptr deref in multiprocessing (GH-22880) Commit 1d541c25c8019f7a0b80b3e1b437abe171e40b65 introduced a NULL pointer dereference in error path. Signed-off-by: Christian Heimes <christian@python.org> 22 October 2020, 10:20:36 UTC
8a9463f _testmultiphase: Fix possible ref leak (GH-22881) This is just test code, but sometimes external contributors reference the code snippets from test code. `PyModule_AddObject` should be handled in the proper way. https://docs.python.org/3/c-api/module.html#c.PyModule_AddObject 22 October 2020, 09:44:18 UTC
c8ba47b Delete TaskWakeupMethWrapper_Type and use PyCFunction instead (#22875) 22 October 2020, 00:49:10 UTC
3c69f0c bpo-41910: specify the default implementations of object.__eq__ and object.__ne__ (GH-22874) See Objects/typeobject.c:object_richcompare() for the implementation of this in CPython. Automerge-Triggered-By: GH:brettcannon 21 October 2020, 23:24:38 UTC
b451b0e bpo-38980: Add -fno-semantic-interposition when building with optimizations (GH-22862) 21 October 2020, 21:46:52 UTC
27f1bd8 bpo-35181: Correct importlib documentation for some module attributes (GH-15190) @ericsnowcurrently This PR will change the following: In the library documentation importlib.rst: - `module.__package__` can be `module.__name__` for packages; - `spec.parent` can be `spec.__name__` for packages; - `spec.loader` is not `None` for namespaces packages. In the language documentation import.rst: - `spec.loader` is not `None` for namespace packages. Automerge-Triggered-By: GH:warsaw 21 October 2020, 21:17:35 UTC
f8b1ccd Fix bpo-39416: Change "Numeric" to lower case; an english word, not a class name (GH-22867) This is a trivial fix to [bpo-39416](), which didn't come up until it was already committed ``` Change "Numeric" to "numeric". I believe this is trivial enough to not need an issue or a NEWS entry, although I'm unclear on what branches the original pull request received backports. ``` Automerge-Triggered-By: GH:merwok 21 October 2020, 20:34:15 UTC
2e5ca9e bpo-41746: Cast to typed seqs in CHECK macros to avoid type erasure (GH-22864) 21 October 2020, 19:53:14 UTC
caff293 bpo-41959: Fix grammar around class asyncio.MultiLoopChildWatcher text (GH-22580) While translating the following document to Spanish we found there is a grammar issue on the original documentation. 21 October 2020, 19:05:48 UTC
c60394c bpo-39416: Document some restrictions on the default string representations of numeric classes (GH-18111) [bpo-39416](): Document string representations of the Numeric classes This is a change to the specification of the Python language. The idea here is to put sane minimal limits on the Python language's default representations of its Numeric classes. That way "Marty's Robotic Massage Parlor and Python Interpreter" implementation of Python won't do anything too crazy. Some discussion in the email thread: Subject: Documenting Python's float.__str__() https://mail.python.org/archives/list/python-dev@python.org/thread/FV22TKT3S2Q3P7PNN6MCXI6IX3HRRNAL/ 21 October 2020, 17:13:50 UTC
c7437e2 bpo-41747: Ensure all dataclass methods uses their parents' qualname (GH-22155) * bpo-41747: Ensure all dataclass methods uses their parents' qualname Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 21 October 2020, 13:49:22 UTC
9a1ad2c Update tzdata to 2020.3 (GH-22856) TBH I had forgotten that we pin this 😅, and it's been updated quite a few times since we added this. 21 October 2020, 13:40:43 UTC
cb115e3 Doc: Fix a typo/error in the docs for cached bytecode (GH-22445) 21 October 2020, 08:36:03 UTC
fb2e946 Doc: Do not suggest `s[::-1]` for reversed order (GH-22457) 21 October 2020, 08:25:07 UTC
eba109a Doc: Remove old Python version from future stmt (GH-21802) 21 October 2020, 05:45:13 UTC
4642ccd Doc: Do not encourage using a base class name in a derived class (GH-22177) 21 October 2020, 05:25:05 UTC
c0f22fb bpo-41902: Micro optimization for range.index if step is 1 (GH-22479) 21 October 2020, 02:29:56 UTC
5f22741 bpo-23706: Add newline parameter to pathlib.Path.write_text (GH-22420) (GH-22420) * Add _newline_ parameter to `pathlib.Path.write_text()` * Update documentation of `pathlib.Path.write_text()` * Add test case for `pathlib.Path.write_text()` calls with _newline_ parameter passed Automerge-Triggered-By: GH:methane 21 October 2020, 02:08:19 UTC
25492a5 bpo-41902: Micro optimization for compute_item of range (GH-22492) 21 October 2020, 01:29:14 UTC
a460d45 Update idlelib/help.html to current Sphinx output (GH-22833) idle.rst is unchanged 21 October 2020, 00:56:01 UTC
786addd bpo-41586: Attempt to make the pipesize tests more robust. (GH-22839) Several buildbots are failing on these, likely due to an inability to set the pipe size to the desired test value. 21 October 2020, 00:37:20 UTC
7cdf30f bpo-42010: [docs] Clarify subscription of types (GH-22822) 20 October 2020, 23:38:08 UTC
2d55aa9 bpo-29981: Add examples and update index for set, dict, and generator comprehensions'(GH-20272) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> 20 October 2020, 21:27:07 UTC
5ab27cc bpo-42041: Clarify how subprocess searches for the executable (GH-22715) Clarify in the subprocess documentation how searching for the executable to run works, noting that ``sys.executable`` is the recommended way to find the current interpreter. 20 October 2020, 20:02:24 UTC
3393624 Minor tweaks to typing union objects doc (GH-22741) Automerge-Triggered-By: @merwok 20 October 2020, 20:00:56 UTC
3f7e990 bpo-41192: Add documentation of undocumented audit events (GH-21308) 20 October 2020, 19:23:15 UTC
1d34699 bpo-38144: Re-add accidentally removed audition for glob. (GH-22805) 20 October 2020, 16:45:38 UTC
6d883fb bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clover (GH-22817) 20 October 2020, 14:54:13 UTC
0c37269 bpo-41192: Clarify the sys module's description of the auditing feature (GH-22768) Co-authored-by: Éric Araujo <merwok@netwok.org> 20 October 2020, 14:41:02 UTC
ec42789 bpo-39693: mention KeyError in tarfile extractfile documentation (GH-18639) Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com> 20 October 2020, 14:05:01 UTC
faddc74 bpo-38439: Add 256px IDLE icon to the .ico, drop gifs from it (GH-19648) 20 October 2020, 12:21:08 UTC
ff1ae3d bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281) 20 October 2020, 12:01:12 UTC
f231203 bpo-38324: Fix test__locale.py Windows failures (GH-20529) Use wide-char _W_* fields of lconv structure on Windows Remove "ps_AF" from test__locale.known_numerics on Windows 20 October 2020, 11:39:52 UTC
d5d0521 md5module: Fix doc strings variable names (GH-22722) 20 October 2020, 09:10:43 UTC
5b57fa6 Doc: Add missing spaces after period for `posix_spawn` (GH-22730) 20 October 2020, 09:08:58 UTC
3185267 bpo-41491: plistlib: accept hexadecimal integer values in xml plist files (GH-22764) 20 October 2020, 07:26:33 UTC
109826c bpo-42093: Add opcode cache for LOAD_ATTR (GH-22803) 20 October 2020, 05:22:44 UTC
871934d bpo-4356: Add key function support to the bisect module (GH-20556) 20 October 2020, 05:04:01 UTC
de73d43 bpo-38912: fix close before connect callback in test_asyncio SSL tests (GH-22691) Reduces the rate at which the ENV CHANGED failure occurs in test_asyncio SSL tests (due to unclosed transport), but does not 100% resolve it. 20 October 2020, 01:18:57 UTC
23c0fb8 bpo-41586: Add pipesize parameter to subprocess & F_GETPIPE_SZ and F_SETPIPE_SZ to fcntl. (GH-21921) * Add F_SETPIPE_SZ and F_GETPIPE_SZ to fcntl module * Add pipesize parameter for subprocess.Popen class This will allow the user to control the size of the pipes. On linux the default is 64K. When a pipe is full it blocks for writing. When a pipe is empty it blocks for reading. On processes that are very fast this can lead to a lot of wasted CPU cycles. On a typical Linux system the max pipe size is 1024K which is much better. For high performance-oriented libraries such as xopen it is nice to be able to set the pipe size. The workaround without this feature is to use my_popen_process.stdout.fileno() in conjuction with fcntl and 1031 (value of F_SETPIPE_SZ) to acquire this behavior. 19 October 2020, 23:30:02 UTC
bf83822 bpo-27321 Fix email.generator.py to not replace a non-existent header. (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 19 October 2020, 22:49:19 UTC
1438c2a bpo-41845: Move PyObject_GenericGetDict() back into the limited API (GH22646) 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. 19 October 2020, 22:47:37 UTC
f85658a bpo-40901: Describe what "interface name" means on Windows (GH-20694) 19 October 2020, 22:30:58 UTC
3a8fdb2 bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252) 19 October 2020, 22:17:50 UTC
4dfb190 bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs (GH-21360) On Windows, the default asyncio event loop is ProactorEventLoop (as of 3.8). 19 October 2020, 22:08:34 UTC
5456e78 bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394) Co-authored-by: Christian Heimes <christian@python.org> 19 October 2020, 22:06:05 UTC
33242a9 bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463) 19 October 2020, 22:02:43 UTC
5d9e657 Link to the msvcrt module from the Windows FAQ (#22268) 19 October 2020, 21:46:21 UTC
fa87482 bpo-38320: Clarify that expectedFailure is satisfied by either failure or error of the test. (GH-22740) 19 October 2020, 21:27:16 UTC
96ddc58 bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775) ~~The only differences are in the test files.~~ Automerge-Triggered-By: @jaraco 19 October 2020, 21:14:21 UTC
95ad890 bpo-42084: Language aware diff headers (GH-22776) 19 October 2020, 19:13:01 UTC
93a1cca bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS (GH-22762) 19 October 2020, 18:16:21 UTC
05ee790 bpo-42051: Reject XML entity declarations in plist files (#22760) 19 October 2020, 18:13:49 UTC
985f0ab bpo-39107: Updated Tcl and Tk to 8.6.10 in Windows installer (GH-22405) 19 October 2020, 15:55:10 UTC
ebc8c38 bpo-41192: Fix some broken anchors for audit event entries (#21310) 19 October 2020, 14:52:42 UTC
b580ed1 Correct name of bytecode in change note. (GH-22723) 19 October 2020, 12:20:33 UTC
5368c2b bpo-19270: Fixed sched.scheduler.cancel to cancel correct event (GH-22729) 19 October 2020, 07:33:43 UTC
1559389 bpo-40484: Document compiler flags under AST module (GH-19885) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> 19 October 2020, 01:14:11 UTC
3c0ac18 bpo-40492: Fix --outfile with relative path when the program changes it working dir (GH-19910) 18 October 2020, 20:48:31 UTC
b81c833 bpo-28660: Make TextWrapper break long words on hyphens (GH-22721) 18 October 2020, 17:01:15 UTC
67f0487 3.9 whatsnew: fix bpo issue for AST change (GH-22742) 18 October 2020, 15:39:26 UTC
1bcaa81 bpo-20184: Convert termios to Argument Clinic. (GH-22693) 18 October 2020, 14:54:06 UTC
c304c9a bpo-41966: Fix pickling pure datetime.time subclasses (GH-22731) 18 October 2020, 14:49:48 UTC
a0c603c bpo-38252: Use 8-byte step to detect ASCII sequence in 64bit Windows build (GH-16334) 18 October 2020, 14:48:38 UTC
3635388 bpo-42065: Fix incorrectly formatted _codecs.charmap_decode error message (GH-19940) 17 October 2020, 20:38:21 UTC
975d10a [doc] Add mentions of PEP 613 (TypeAlias) to docs (GH-22733) 17 October 2020, 02:34:01 UTC
a22a19f bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst (GH-22726) 16 October 2020, 18:44:17 UTC
1dd6d95 closes bpo-42030: Remove legacy AIX dynload support (GH-22717) 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. 16 October 2020, 18:03:28 UTC
e9959c7 bpo-42011: Update documentation of logging.Filter.filter() (GH-22692) 16 October 2020, 14:14:07 UTC
c9f696c bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513) * Move the codecs' (un)register operation to testcases. * Remove _codecs._forget_codec() and _PyCodec_Forget() 16 October 2020, 08:34:15 UTC
cf693e5 Document that `test.support.bytecode_helper` is new in 3.9 (GH-22618) 15 October 2020, 19:06:23 UTC
e6b8c52 bpo-1635741: Add a global module state to unicodedata (GH-22712) 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. 15 October 2020, 14:22:19 UTC
644e942 bpo-42021: Fix possible ref leaks during _sqlite3 module init (GH-22673) 15 October 2020, 12:20:15 UTC
b67cbbd Minor clarification (GH-22708) 15 October 2020, 06:41:55 UTC
2d2af32 bpo-41894: Fix UnicodeDecodeError while loading native module (GH-22466) 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> 15 October 2020, 01:53:27 UTC
c13b847 bpo-41984: GC track all user classes (GH-22701) 15 October 2020, 01:44:07 UTC
302b616 Update timings for the final release (GH-22697) 14 October 2020, 17:04:04 UTC
c5b049b bpo-39337: encodings.normalize_encoding() now ignores non-ASCII characters (GH-22219) 14 October 2020, 15:43:31 UTC
b4d8953 bpo-41876: Overload __repr__ for tkinter Font objects (GH-22450) 14 October 2020, 10:02:51 UTC
0cafcd3 closes bpo-42029: Remove dynload_dl (GH-22687) 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). 14 October 2020, 01:49:24 UTC
6a48518 bpo-41939: always enable test_site.test_license_exists_at_url (GH-22688) 14 October 2020, 01:38:56 UTC
f2bd04f Improve recipe readability (GH-22685) 13 October 2020, 23:41:26 UTC
7992579 bpo-40422: Move _Py_closerange to fileutils.c (GH-22680) 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. 13 October 2020, 20:04:44 UTC
8b2ff4c Add recipe for a version of random() with a larger population (GH-22664) 13 October 2020, 18:54:21 UTC
cfb0f57 bpo-41756: Export PyGen_Send and wrap it in if-defs (#22677) 13 October 2020, 17:26:51 UTC
66c28f5 bpo-41995: Fix null ptr deref in tracemalloc_copy_trace() (GH-22660) Fix a null pointer dereference in tracemalloc_copy_trace() of _tracemalloc. 13 October 2020, 06:46:31 UTC
64eb259 bpo-40422: Move _Py_*_SUPPRESS_IPH bits into _Py_closerange (GH-22672) 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. 12 October 2020, 23:53:16 UTC
ba06a70 Fix typo in "Context manager types" section in typing.rst (GH-22676) Fix typo in the "Context manager types" section in `typing.rst`. Automerge-Triggered-By: @gvanrossum 12 October 2020, 23:34:33 UTC
04b8631 bpo-42015: Reorder dereferencing calls in meth_dealloc, to make sure m_self is kept alive long enough (GH-22670) 12 October 2020, 21:06:19 UTC
back to top