109826c | Pablo Galindo | 20 October 2020, 05:22:44 UTC | bpo-42093: Add opcode cache for LOAD_ATTR (GH-22803) | 20 October 2020, 05:22:44 UTC |
871934d | Raymond Hettinger | 20 October 2020, 05:04:01 UTC | bpo-4356: Add key function support to the bisect module (GH-20556) | 20 October 2020, 05:04:01 UTC |
de73d43 | Justin Turner Arthur | 20 October 2020, 01:18:57 UTC | 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 | Ruben Vorderman | 19 October 2020, 23:30:02 UTC | 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 | Mark Sapiro | 19 October 2020, 22:49:19 UTC | 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 | Zackery Spytz | 19 October 2020, 22:47:37 UTC | 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 | Jakub Stasiak | 19 October 2020, 22:30:58 UTC | bpo-40901: Describe what "interface name" means on Windows (GH-20694) | 19 October 2020, 22:30:58 UTC |
3a8fdb2 | Alex Gaynor | 19 October 2020, 22:17:50 UTC | bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252) | 19 October 2020, 22:17:50 UTC |
4dfb190 | Zackery Spytz | 19 October 2020, 22:08:34 UTC | 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 | Jason R. Coombs | 19 October 2020, 22:06:05 UTC | 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 | Michel Samia | 19 October 2020, 22:02:43 UTC | bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463) | 19 October 2020, 22:02:43 UTC |
5d9e657 | abdo | 19 October 2020, 21:46:21 UTC | Link to the msvcrt module from the Windows FAQ (#22268) | 19 October 2020, 21:46:21 UTC |
fa87482 | Irit Katriel | 19 October 2020, 21:27:16 UTC | 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 | Barry Warsaw | 19 October 2020, 21:14:21 UTC | 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 | Raymond Hettinger | 19 October 2020, 19:13:01 UTC | bpo-42084: Language aware diff headers (GH-22776) | 19 October 2020, 19:13:01 UTC |
93a1cca | Ronald Oussoren | 19 October 2020, 18:16:21 UTC | bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS (GH-22762) | 19 October 2020, 18:16:21 UTC |
05ee790 | Ronald Oussoren | 19 October 2020, 18:13:49 UTC | bpo-42051: Reject XML entity declarations in plist files (#22760) | 19 October 2020, 18:13:49 UTC |
985f0ab | Steve Dower | 19 October 2020, 15:55:10 UTC | bpo-39107: Updated Tcl and Tk to 8.6.10 in Windows installer (GH-22405) | 19 October 2020, 15:55:10 UTC |
ebc8c38 | Saiyang Gou | 19 October 2020, 14:52:42 UTC | bpo-41192: Fix some broken anchors for audit event entries (#21310) | 19 October 2020, 14:52:42 UTC |
b580ed1 | Mark Shannon | 19 October 2020, 12:20:33 UTC | Correct name of bytecode in change note. (GH-22723) | 19 October 2020, 12:20:33 UTC |
5368c2b | Bar Harel | 19 October 2020, 07:33:43 UTC | bpo-19270: Fixed sched.scheduler.cancel to cancel correct event (GH-22729) | 19 October 2020, 07:33:43 UTC |
1559389 | Batuhan Taskaya | 19 October 2020, 01:14:11 UTC | 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 | Anthony Sottile | 18 October 2020, 20:48:31 UTC | bpo-40492: Fix --outfile with relative path when the program changes it working dir (GH-19910) | 18 October 2020, 20:48:31 UTC |
b81c833 | Irit Katriel | 18 October 2020, 17:01:15 UTC | bpo-28660: Make TextWrapper break long words on hyphens (GH-22721) | 18 October 2020, 17:01:15 UTC |
67f0487 | Shantanu | 18 October 2020, 15:39:26 UTC | 3.9 whatsnew: fix bpo issue for AST change (GH-22742) | 18 October 2020, 15:39:26 UTC |
1bcaa81 | Serhiy Storchaka | 18 October 2020, 14:54:06 UTC | bpo-20184: Convert termios to Argument Clinic. (GH-22693) | 18 October 2020, 14:54:06 UTC |
c304c9a | scaramallion | 18 October 2020, 14:49:48 UTC | bpo-41966: Fix pickling pure datetime.time subclasses (GH-22731) | 18 October 2020, 14:49:48 UTC |
a0c603c | Ma Lin | 18 October 2020, 14:48:38 UTC | bpo-38252: Use 8-byte step to detect ASCII sequence in 64bit Windows build (GH-16334) | 18 October 2020, 14:48:38 UTC |
3635388 | Max Bernstein | 17 October 2020, 20:38:21 UTC | bpo-42065: Fix incorrectly formatted _codecs.charmap_decode error message (GH-19940) | 17 October 2020, 20:38:21 UTC |
975d10a | Andre Delfino | 17 October 2020, 02:34:01 UTC | [doc] Add mentions of PEP 613 (TypeAlias) to docs (GH-22733) | 17 October 2020, 02:34:01 UTC |
a22a19f | Zackery Spytz | 16 October 2020, 18:44:17 UTC | bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst (GH-22726) | 16 October 2020, 18:44:17 UTC |
1dd6d95 | Kevin Adler | 16 October 2020, 18:03:28 UTC | 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 | Necdet Can Atesman | 16 October 2020, 14:14:07 UTC | bpo-42011: Update documentation of logging.Filter.filter() (GH-22692) | 16 October 2020, 14:14:07 UTC |
c9f696c | Hai Shi | 16 October 2020, 08:34:15 UTC | 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 | Saiyang Gou | 15 October 2020, 19:06:23 UTC | Document that `test.support.bytecode_helper` is new in 3.9 (GH-22618) | 15 October 2020, 19:06:23 UTC |
e6b8c52 | Victor Stinner | 15 October 2020, 14:22:19 UTC | 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 | Erlend Egeberg Aasland | 15 October 2020, 12:20:15 UTC | bpo-42021: Fix possible ref leaks during _sqlite3 module init (GH-22673) | 15 October 2020, 12:20:15 UTC |
b67cbbd | Raymond Hettinger | 15 October 2020, 06:41:55 UTC | Minor clarification (GH-22708) | 15 October 2020, 06:41:55 UTC |
2d2af32 | Kevin Adler | 15 October 2020, 01:53:27 UTC | 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 | Brandt Bucher | 15 October 2020, 01:44:07 UTC | bpo-41984: GC track all user classes (GH-22701) | 15 October 2020, 01:44:07 UTC |
302b616 | Raymond Hettinger | 14 October 2020, 17:04:04 UTC | Update timings for the final release (GH-22697) | 14 October 2020, 17:04:04 UTC |
c5b049b | Hai Shi | 14 October 2020, 15:43:31 UTC | bpo-39337: encodings.normalize_encoding() now ignores non-ASCII characters (GH-22219) | 14 October 2020, 15:43:31 UTC |
b4d8953 | Anatoliy Platonov | 14 October 2020, 10:02:51 UTC | bpo-41876: Overload __repr__ for tkinter Font objects (GH-22450) | 14 October 2020, 10:02:51 UTC |
0cafcd3 | Kevin Adler | 14 October 2020, 01:49:24 UTC | 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 | Ned Deily | 14 October 2020, 01:38:56 UTC | bpo-41939: always enable test_site.test_license_exists_at_url (GH-22688) | 14 October 2020, 01:38:56 UTC |
f2bd04f | Raymond Hettinger | 13 October 2020, 23:41:26 UTC | Improve recipe readability (GH-22685) | 13 October 2020, 23:41:26 UTC |
7992579 | Kyle Evans | 13 October 2020, 20:04:44 UTC | 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 | Raymond Hettinger | 13 October 2020, 18:54:21 UTC | Add recipe for a version of random() with a larger population (GH-22664) | 13 October 2020, 18:54:21 UTC |
cfb0f57 | Vladimir Matveev | 13 October 2020, 17:26:51 UTC | bpo-41756: Export PyGen_Send and wrap it in if-defs (#22677) | 13 October 2020, 17:26:51 UTC |
66c28f5 | Yunlongs | 13 October 2020, 06:46:31 UTC | 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 | Kyle Evans | 12 October 2020, 23:53:16 UTC | 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 | Saiyang Gou | 12 October 2020, 23:34:33 UTC | 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 | Yannick Jadoul | 12 October 2020, 21:06:19 UTC | 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 |
24a54c0 | Vladimir Matveev | 12 October 2020, 19:10:42 UTC | Delete PyGen_Send (#22663) | 12 October 2020, 19:10:42 UTC |
abe244c | linchiwei123 | 12 October 2020, 14:33:34 UTC | [doc] Fix typo in the graphlib docs (GH-22661) Automerge-Triggered-By: @pablogsal | 12 October 2020, 14:33:34 UTC |
8adf8d1 | Andre Delfino | 12 October 2020, 13:52:30 UTC | [doc] Remove mention of async and await as soft keywords (GH-22144) | 12 October 2020, 13:52:30 UTC |
13ff396 | Victor Stinner | 11 October 2020, 22:37:20 UTC | bpo-41739: Fix test_logging.test_race_between_set_target_and_flush() (GH-22655) The test now waits until all threads complete to avoid leaking running threads. Also, use regular threads rather than daemon threads. | 11 October 2020, 22:37:20 UTC |
47ecfd8 | Pablo Galindo | 11 October 2020, 20:34:51 UTC | bpo-41971: Fix test failure in test.test_tools.test_c_analyzer when mutating global state (GH-22652) | 11 October 2020, 20:34:51 UTC |
1800c60 | Kyle Evans | 11 October 2020, 20:18:53 UTC | bpo-40423: Optimization: use close_range(2) if available (GH-22651) 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 | 11 October 2020, 20:18:53 UTC |
c230fde | Kyle Evans | 11 October 2020, 18:54:11 UTC | bpo-40422: create a common _Py_closerange API (GH-19754) 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 | 11 October 2020, 18:54:11 UTC |
d5752aa | Anthony Sottile | 11 October 2020, 18:26:50 UTC | Fix .. code-block :: directives in decimal.rst (GH-22571) | 11 October 2020, 18:26:50 UTC |
10c98db | chilaxan | 11 October 2020, 18:21:51 UTC | Fix typo in listobject.h (GH-22588) | 11 October 2020, 18:21:51 UTC |
8197a93 | Gaurav Kamath | 11 October 2020, 18:13:43 UTC | Fix typo (GH-22582) /af/of/s Automerge-Triggered-By: @Mariatta | 11 October 2020, 18:13:43 UTC |
8287aad | Serhiy Storchaka | 11 October 2020, 13:51:07 UTC | bpo-41993: Fix possible issues in remove_module() (GH-22631) * 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(). | 11 October 2020, 13:51:07 UTC |
fa1d83d | Serhiy Storchaka | 11 October 2020, 12:30:43 UTC | bpo-42002: Clean up initialization of the sys module. (GH-22642) Makes the code clearer and make errors handling more correct. | 11 October 2020, 12:30:43 UTC |
0ff8a3b | abdo | 11 October 2020, 06:10:21 UTC | Fix typo in typing.rst (GH-22625) | 11 October 2020, 06:10:21 UTC |
22220ae | Batuhan Taskaya | 10 October 2020, 22:19:46 UTC | bpo-38605: bump the magic number for 'annotations' future (#22630) | 10 October 2020, 22:19:46 UTC |
98c4433 | Serhiy Storchaka | 10 October 2020, 19:23:42 UTC | bpo-41991: Remove _PyObject_HasAttrId (GH-22629) It can silence arbitrary exceptions. | 10 October 2020, 19:23:42 UTC |
02a1603 | Batuhan Taskaya | 10 October 2020, 17:14:59 UTC | bpo-42000: Cleanup the AST related C-code (GH-22641) - Use the proper asdl sequence when creating empty arguments - Remove reduntant casts (thanks to new typed asdl_sequences) - Remove MarshalPrototypeVisitor and some utilities from asdl generator - Fix the header of `Python/ast.c` (kept from pgen times) Automerge-Triggered-By: @pablogsal | 10 October 2020, 17:14:59 UTC |
637a09b | Serhiy Storchaka | 10 October 2020, 14:09:45 UTC | bpo-41986: Add Py_FileSystemDefaultEncodeErrors and Py_UTF8Mode back to limited API (GH-22621) | 10 October 2020, 14:09:45 UTC |
a427593 | Xie Yanbo | 10 October 2020, 02:38:43 UTC | Fix incorrect parameter name (GH-22613) Automerge-Triggered-By: @Mariatta | 10 October 2020, 02:38:43 UTC |
037245c | Vladimir Matveev | 10 October 2020, 00:15:15 UTC | bpo-41756: Add PyIter_Send function (#22443) | 10 October 2020, 00:15:15 UTC |
9975cc5 | Serhiy Storchaka | 09 October 2020, 20:00:45 UTC | bpo-41985: Add _PyLong_FileDescriptor_Converter and AC converter for "fildes". (GH-22620) | 09 October 2020, 20:00:45 UTC |
b2c0a43 | Saiyang Gou | 09 October 2020, 20:00:15 UTC | bpo-39481: Fix duplicate SimpleQueue type in test_genericalias.py (GH-22619) There are two different `SimpleQueue` types imported (from `multiprocessing.queues` and `queue`) in `Lib/test/test_genericalias.py`, the second one shadowing the first one, making the first one not actually tested. Fix by using different names. Automerge-Triggered-By: @gvanrossum | 09 October 2020, 20:00:15 UTC |
eb38c6b | Serhiy Storchaka | 09 October 2020, 19:57:34 UTC | bpo-41831: Restore str implementation of __str__ in tkinter.EventType (GH-22355) | 09 October 2020, 19:57:34 UTC |
f25323a | Serhiy Storchaka | 09 October 2020, 18:45:46 UTC | bpo-41831: Add tests for tkinter.Event.__repr__ (GH-22354) | 09 October 2020, 18:45:46 UTC |
e2ec0b2 | Serhiy Storchaka | 09 October 2020, 11:14:37 UTC | bpo-41974: Remove complex.__float__, complex.__floordiv__, etc (GH-22593) Remove complex special methods __int__, __float__, __floordiv__, __mod__, __divmod__, __rfloordiv__, __rmod__ and __rdivmod__ which always raised a TypeError. | 09 October 2020, 11:14:37 UTC |
48f305f | Batuhan Taskaya | 09 October 2020, 09:56:48 UTC | bpo-41979: Accept star-unpacking on with-item targets (GH-22611) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 09 October 2020, 09:56:48 UTC |
666f583 | Nishit | 09 October 2020, 09:32:15 UTC | Updated README for python 3.10 (GH-22605) Updated python version and link to the release schedule | 09 October 2020, 09:32:15 UTC |
77f0a23 | Mikhail Golubev | 08 October 2020, 21:38:36 UTC | Fix the attribute names in the docstring of GenericAlias (GH-22594) | 08 October 2020, 21:38:36 UTC |
3f34237 | Hai Shi | 08 October 2020, 19:20:57 UTC | bpo-39337: Add a test case for normalizing of codec names (GH-19069) | 08 October 2020, 19:20:57 UTC |
bfe6e03 | Erlend Egeberg Aasland | 08 October 2020, 18:40:27 UTC | bpo-41557: Update Windows installer to use SQLite 3.33.0 (GH-21960) | 08 October 2020, 18:40:27 UTC |
27ac19c | Pablo Galindo | 08 October 2020, 18:31:19 UTC | bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598) | 08 October 2020, 18:31:19 UTC |
aecf036 | E-Paine | 08 October 2020, 13:30:13 UTC | bpo-41306: Allow scale value to not be rounded (GH-21715) This fixes the test failure with Tk 6.8.10 which is caused by changes to how Tk rounds the `from`, `to` and `tickinterval` arguments. This PR uses `noconv` if the patchlevel is greater than or equal to 8.6.10 (credit to Serhiy for this idea as it is much simpler than what I previously proposed). Going into more detail for those who want it, the Tk change was made in [commit 591f68c](https://github.com/tcltk/tk/commit/591f68cb382525b72664c6fecaab87742b6cc87a) and means that the arguments listed above are rounded relative to the value of `from`. However, when rounding the `from` argument ([line 623](https://github.com/tcltk/tk/blob/591f68cb382525b72664c6fecaab87742b6cc87a/generic/tkScale.c#L623)), it is rounded relative to itself (i.e. rounding `0`) and therefore the assigned value for `from` is always what is given (no matter what values of `from` and `resolution`). Automerge-Triggered-By: @pablogsal | 08 October 2020, 13:30:13 UTC |
4a9f82f | Pablo Galindo | 08 October 2020, 13:24:28 UTC | bpo-41970: Avoid test failure in test_lib2to3 if the module is already imported (GH-22595) … Automerge-Triggered-By: @pablogsal | 08 October 2020, 13:24:28 UTC |
35f041d | Phil Elson | 08 October 2020, 06:37:46 UTC | bpo-41376: Fix the documentation of `site.getusersitepackages()` (GH-21602) `site.getusersitepackages()` returns the location of the user-specific site-packages directory even when the user-specific site-packages is disabled. ``` $ python -s -m site sys.path = [ '/home/user/conda/lib/python37.zip', '/home/user/conda/lib/python3.7', '/home/user/conda/lib/python3.7/lib-dynload', '/home/user/conda/lib/python3.7/site-packages', ] USER_BASE: '/home/user/.local' (exists) USER_SITE: '/home/user/.local/lib/python3.7/site-packages' (doesn't exist) ENABLE_USER_SITE: False ``` It was not practical to prevent the function from returning None if user-specific site-packages are disabled, since there are other uses of the function which are relying on this behaviour (e.g. `python -m site`). | 08 October 2020, 06:37:46 UTC |
4e0ce82 | Raymond Hettinger | 07 October 2020, 23:43:44 UTC | Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)" (GH-22584) This reverts commit 58a7da9e125422323f79c4ee95ac5549989d8162. | 07 October 2020, 23:43:44 UTC |
4f3c250 | Mikhail Golubev | 07 October 2020, 21:44:31 UTC | bpo-41923: PEP 613: Add TypeAlias to typing module (#22532) This special marker annotation is intended to help in distinguishing proper PEP 484-compliant type aliases from regular top-level variable assignments. | 07 October 2020, 21:44:31 UTC |
f90dc36 | Stefan Pochmann | 07 October 2020, 14:12:52 UTC | Fix comment about PyObject_IsTrue. (GH-22343) The `for` statement doesn't use a condition and this function, the `while` statement does. | 07 October 2020, 14:12:52 UTC |
044a104 | Batuhan Taskaya | 06 October 2020, 20:03:02 UTC | bpo-38605: Make 'from __future__ import annotations' the default (GH-20434) The hard part was making all the tests pass; there are some subtle issues here, because apparently the future import wasn't tested very thoroughly in previous Python versions. For example, `inspect.signature()` returned type objects normally (except for forward references), but strings with the future import. We changed it to try and return type objects by calling `typing.get_type_hints()`, but fall back on returning strings if that function fails (which it may do if there are future references in the annotations that require passing in a specific namespace to resolve). | 06 October 2020, 20:03:02 UTC |
bef7d29 | Ben Avrahami | 06 October 2020, 17:40:50 UTC | bpo-41905: Add abc.update_abstractmethods() (GH-22485) This function recomputes `cls.__abstractmethods__`. Also update `@dataclass` to use it. | 06 October 2020, 17:40:50 UTC |
a8bf44d | Florian Bruhin | 06 October 2020, 14:21:56 UTC | bpo-41944: No longer call eval() on content received via HTTP in the UnicodeNames tests (GH-22575) Similarly to GH-22566, those tests called eval() on content received via HTTP in test_named_sequences_full. This likely isn't exploitable because unicodedata.lookup(seqname) is called before self.checkletter(seqname, None) - thus any string which isn't a valid unicode character name wouldn't ever reach the checkletter method. Still, it's probably better to be safe than sorry. | 06 October 2020, 14:21:56 UTC |
2ef5caa | Serhiy Storchaka | 06 October 2020, 12:14:51 UTC | bpo-41944: No longer call eval() on content received via HTTP in the CJK codec tests (GH-22566) | 06 October 2020, 12:14:51 UTC |
91e3339 | Pablo Galindo | 05 October 2020, 20:16:35 UTC | Post 3.10.0a1 | 05 October 2020, 20:16:35 UTC |
8e9afaf | Pablo Galindo | 05 October 2020, 17:24:54 UTC | Python 3.10.0a1 | 05 October 2020, 17:30:18 UTC |
d02d824 | Brett Cannon | 05 October 2020, 16:42:21 UTC | bpo-41584: clarify when the reflected method of a binary arithemtic operator is called (#22505) | 05 October 2020, 16:42:21 UTC |
1fce240 | Victor Stinner | 05 October 2020, 16:24:00 UTC | bpo-41939: Fix test_site.test_license_exists_at_url() (#22559) Call urllib.request.urlcleanup() to reset the global urllib.request._opener. | 05 October 2020, 16:24:00 UTC |
060937d | Terry Jan Reedy | 05 October 2020, 14:31:44 UTC | bpo-41774: Tweak new programming FAQ entry (GH-22562) Remove mention of space in "remove multiple items from list". | 05 October 2020, 14:31:44 UTC |
dcc5421 | Serhiy Storchaka | 05 October 2020, 09:32:00 UTC | bpo-41936. Remove macros Py_ALLOW_RECURSION/Py_END_ALLOW_RECURSION (GH-22552) | 05 October 2020, 09:32:00 UTC |
9a76426 | Erlend Egeberg Aasland | 05 October 2020, 08:09:16 UTC | bpo-41557: Update macOS installer to use SQLite 3.33.0 (GH-21959) https://sqlite.org/releaselog/3_33_0.html | 05 October 2020, 08:09:16 UTC |