088dd76 | Dong-hee Na | 28 February 2022, 07:06:58 UTC | bpo-46541: Remove unnecessary Py_VISIT (GH-31608) | 28 February 2022, 07:06:58 UTC |
345572a | Jannis Vajen | 27 February 2022, 14:25:54 UTC | bpo-46786: Make ElementTree write the HTML tags embed, source, track, wbr as empty tags (GH-31406) See https://html.spec.whatwg.org/multipage/syntax.html#void-elements for reference. | 27 February 2022, 14:25:54 UTC |
5a1c637 | Victor Stinner | 27 February 2022, 00:12:33 UTC | bpo-46852: Restore test_getformat() test (GH-31601) | 27 February 2022, 00:12:33 UTC |
ad56919 | Victor Stinner | 26 February 2022, 23:28:24 UTC | bpo-46857: Fix refleak in OSError INIT_ALIAS() (GH-31594) _Py_GetRefTotal() no longer decrements _PySet_Dummy refcount. | 26 February 2022, 23:28:24 UTC |
e182c66 | Kumar Aditya | 26 February 2022, 23:25:46 UTC | bpo-46748: Fix ctypes test_frozentable() (GH-31600) | 26 February 2022, 23:25:46 UTC |
e02c475 | Victor Stinner | 26 February 2022, 23:14:28 UTC | bpo-46606: os.getgroups() doesn't overallocate (GH-31569) | 26 February 2022, 23:14:28 UTC |
fc44b81 | Yuxin Wu | 26 February 2022, 18:29:51 UTC | [doc] Add a note in howto/logging.rst about "do not log to root logger in libraries" (GH-31271) | 26 February 2022, 18:29:51 UTC |
0d9b565 | Kumar Aditya | 26 February 2022, 16:35:03 UTC | Propagate errors (however unlikely) from _Py_Deepfreeze_Init() (GH-31596) | 26 February 2022, 16:35:03 UTC |
edbee56 | Tin Tvrtković | 26 February 2022, 16:18:48 UTC | Taskgroup tweaks (GH-31559) Now uses .cancel()/.uncancel(), for even fewer broken edge cases. | 26 February 2022, 16:18:48 UTC |
41ddcd3 | Kumar Aditya | 26 February 2022, 13:06:43 UTC | bpo-44011: Document ssl_shutdown_timeout added by revisited asyncio SSL implementation (GH-31597) | 26 February 2022, 13:06:43 UTC |
b57dbe5 | Thomas Grainger | 26 February 2022, 12:05:20 UTC | bpo-38415: Remove redundant AsyncContextDecorator.__call__ override from _AsyncGeneratorContextManager (GH-30233) | 26 February 2022, 12:05:20 UTC |
e466faa | Charlie Zhao | 26 February 2022, 04:17:13 UTC | bpo-45735: Promise the long-time truth that `args=list` works (GH-30982) For threads, and for multiprocessing, it's always been the case that ``args=list`` works fine when passed to ``Process()`` or ``Thread()``, and such code is common in the wild. But, according to the docs, only a tuple can be used. This brings the docs into synch with reality. Doc changes by Charlie Zhao. Co-authored-by: Tim Peters <tim.peters@gmail.com> | 26 February 2022, 04:17:13 UTC |
5ab745f | Victor Stinner | 25 February 2022, 23:53:27 UTC | bpo-46852: Remove the float.__set_format__() method (GH-31585) Remove the undocumented private float.__set_format__() method, previously known as float.__set_format__() in Python 3.7. Its docstring said: "You probably don't want to use this function. It exists mainly to be used in Python's test suite." | 25 February 2022, 23:53:27 UTC |
4060111 | Oleg Iarygin | 25 February 2022, 23:16:59 UTC | bpo-46816: Remove declarations for non-__STDC__ compilers (GH-31466) After Python switched to C11, there is a guarantee that every compiler conforms to ISO C so checks of __STDC__ have no sense. | 25 February 2022, 23:16:59 UTC |
eb002db | Kumar Aditya | 25 February 2022, 18:05:24 UTC | bpo-46712: Share global string identifiers in deepfreeze (GH-31261) Where appropriate, deepfreeze.c now uses `&_Py_ID(blah)` references instead of locally defining constants. This saves some space. | 25 February 2022, 18:05:24 UTC |
ea9612a | Victor Stinner | 25 February 2022, 17:24:25 UTC | bpo-46857: Fix test_embed.test_no_memleak() on Windows (GH-31589) Tolerate a leak of 1 reference and 1 memory block until it's fixed. | 25 February 2022, 17:24:25 UTC |
dd69f73 | Kumar Aditya | 25 February 2022, 16:41:19 UTC | bpo-26897: Clarify Popen stdin, stdout, stderr file object docs (GH-30231) | 25 February 2022, 16:41:19 UTC |
87af12b | Victor Stinner | 25 February 2022, 15:22:00 UTC | bpo-46836: Rename InterpreterFrame to _PyInterpreterFrame (GH-31583) Rename also struct _interpreter_frame to struct _PyInterpreterFrame. Reduce risk of name conflicts if a project includes pycore_frame.h. | 25 February 2022, 15:22:00 UTC |
f780d96 | Victor Stinner | 25 February 2022, 15:19:30 UTC | bpo-45316: Move _PyArg_Fini() to internal C API (GH-31580) Move the private unexported _PyArg_Fini() function to the internal C API: to the pycore_pylifecycle.h header file. | 25 February 2022, 15:19:30 UTC |
8f2a337 | Victor Stinner | 25 February 2022, 15:07:14 UTC | bpo-45316: Move private functions to internal C API (GH-31579) Move the unexported private functions to the internal C API: * pycore_frame.h: _PyFrame_New_NoTrack() * pycore_function.h: _PyFunction_GetVersionForCurrentState() * pycore_genobject.h: _PyAsyncGenValueWrapperNew() * pycore_genobject.h: _PyCoro_GetAwaitableIter() * pycore_genobject.h: _PyGen_yf() | 25 February 2022, 15:07:14 UTC |
26aba29 | Raymond Hettinger | 25 February 2022, 14:49:53 UTC | Update dict/OrderedDict differences with code equivalents. (GH-31563) | 25 February 2022, 14:49:53 UTC |
8ddbdd9 | Victor Stinner | 25 February 2022, 14:41:55 UTC | bpo-45316: Move private PyDict functions to internal C API (GH-31577) Move the following private unexported functions to the internal C API headers: * _PyDictKeys_GetVersionForCurrentState() * _PyDictKeys_StringLookup() * _PyDict_FromKeys() * _PyDict_GetItemHint() * _PyDict_KeysSize() * _PyDict_LoadGlobal() * _PyDict_NewKeysForClass() * _PyDict_Pop_KnownHash() * _PyDict_SetItem_Take2() * _PyObjectDict_SetItem() * _PyObject_MakeDictFromInstanceAttributes() * _Py_dict_lookup() | 25 February 2022, 14:41:55 UTC |
4a0c7a1 | Victor Stinner | 25 February 2022, 14:41:32 UTC | bpo-45316: Move private PyCode C API to internal C API (GH-31576) Rename private functions (no exported), add an underscore prefix: * PyLineTable_InitAddressRange() => _PyLineTable_InitAddressRange() * PyLineTable_NextAddressRange() => _PyLineTable_NextAddressRange() * PyLineTable_PreviousAddressRange() => _PyLineTable_PreviousAddressRange() Move private functions to the internal C API: * _PyCode_Addr2EndLine() * _PyCode_Addr2EndOffset() * _PyCode_Addr2Offset() * _PyCode_InitAddressRange() * _PyCode_InitEndAddressRange( * _PyLineTable_InitAddressRange() * _PyLineTable_NextAddressRange() * _PyLineTable_PreviousAddressRange() No longer export the following internal functions: * _PyCode_GetVarnames() * _PyCode_GetCellvars() * _PyCode_GetFreevars() * _Py_GetSpecializationStats() Add "extern" to pycore_code.h functions to identify them more easiliy (they are still not exported). | 25 February 2022, 14:41:32 UTC |
c579243 | Irit Katriel | 25 February 2022, 12:17:50 UTC | bpo-46808: remove NEXT_BLOCK() from compile.c (GH-31448) | 25 February 2022, 12:17:50 UTC |
0f41aac | Brandt Bucher | 25 February 2022, 12:11:34 UTC | bpo-46841: Use *inline* caching for `BINARY_OP` (GH-31543) | 25 February 2022, 12:11:34 UTC |
18b5dd6 | Victor Stinner | 25 February 2022, 11:53:19 UTC | bpo-46836: Move PyFrameObject to pycore_frame.h (GH-31530) Move the PyFrameObject type definition (struct _frame) to the internal C API pycore_frame.h header file. | 25 February 2022, 11:53:19 UTC |
4657bf7 | Victor Stinner | 25 February 2022, 11:34:00 UTC | bpo-1635741: Fix winreg reference leaks (GH-31560) Clear also the PyHKEY_Type static type at exit. | 25 February 2022, 11:34:00 UTC |
e2e7256 | Serhiy Storchaka | 25 February 2022, 11:31:03 UTC | bpo-46756: Fix authorization check in urllib.request (GH-31353) Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which allowed to bypass authorization. For example, access to URI "example.org/foobar" was allowed if the user was authorized for URI "example.org/foo". | 25 February 2022, 11:31:03 UTC |
53ecf9e | slateny | 25 February 2022, 11:07:52 UTC | bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547) | 25 February 2022, 11:07:52 UTC |
2c228a7 | Petr Viktorin | 25 February 2022, 08:25:54 UTC | bpo-46748: Don't import <stdbool.h> in public headers (GH-31553) <stdbool.h> is the standard/modern way to define embedd/extends Python free to define bool, true and false, but there are existing applications that use slightly different redefinitions, which fail if the header is included. It's OK to use stdbool outside the public headers, though. https://bugs.python.org/issue46748 | 25 February 2022, 08:25:54 UTC |
98c3bea | Serhiy Storchaka | 25 February 2022, 08:25:12 UTC | bpo-46820: Refactor tests for ambiguous end of numerical literal (GH-31494) | 25 February 2022, 08:25:12 UTC |
ad6c700 | Inada Naoki | 25 February 2022, 05:13:14 UTC | bpo-46606: Remove redundant +1. (GH-31561) | 25 February 2022, 05:13:14 UTC |
7d03c8b | Victor Stinner | 25 February 2022, 02:05:25 UTC | bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) Rename the private undocumented float.__set_format__() method to float.__setformat__() to fix a typo introduced in Python 3.7. The method is only used by test_float. The change enables again test_float tests on the float format which were previously skipped because of the typo. The typo was introduced in Python 3.7 by bpo-20185 in commit b5c51d3dd95bbfde533655fb86ac0f96f771ba7b. | 25 February 2022, 02:05:25 UTC |
1b2611e | Victor Stinner | 25 February 2022, 00:32:57 UTC | bpo-46656: Remove Py_NO_NAN macro (GH-31160) Building Python now requires support for floating point Not-a-Number (NaN): remove the Py_NO_NAN macro. | 25 February 2022, 00:32:57 UTC |
5f8b5e2 | Victor Stinner | 25 February 2022, 00:31:30 UTC | bpo-46656: Building Python now requires a C11 compiler (GH-31557) See PEP 7: https://python.github.io/peps/pep-0007/#c-dialect | 25 February 2022, 00:31:30 UTC |
9475dc0 | Victor Stinner | 24 February 2022, 23:32:02 UTC | bpo-46623: Skip two test_zlib tests on s390x (GH-31096) Skip test_pair() and test_speech128() of test_zlib on s390x since they fail if zlib uses the s390x hardware accelerator. | 24 February 2022, 23:32:02 UTC |
c9c178f | Victor Stinner | 24 February 2022, 23:03:20 UTC | bpo-1635741: test_embed cheks that Python does not leak (GH-31555) | 24 February 2022, 23:03:20 UTC |
38f331d | Christian Heimes | 24 February 2022, 19:51:57 UTC | bpo-45898: Remove duplicate symbols from _ctypes/cfield.c (GH-29791) | 24 February 2022, 19:51:57 UTC |
2a6ece5 | Mark Shannon | 24 February 2022, 19:34:57 UTC | bpo-45107: Specialize `LOAD_METHOD` for instances with dict. (GH-31531) | 24 February 2022, 19:34:57 UTC |
4dc7463 | Kumar Aditya | 24 February 2022, 16:54:06 UTC | bpo-46430: Fix memory leak in interned strings of deep-frozen modules (GH-31549) | 24 February 2022, 16:54:06 UTC |
042f31d | Victor Stinner | 24 February 2022, 16:51:59 UTC | bpo-45459: C API uses type names rather than structure names (GH-31528) Thanks to the new pytypedefs.h, it becomes to use type names like PyObject rather like structure names like "struct _object". | 24 February 2022, 16:51:59 UTC |
ec091bd | Victor Stinner | 24 February 2022, 16:07:12 UTC | bpo-45459: Add pytypedefs.h header file (GH-31527) Move forward declarations of Python C API types to a new pytypedefs.h header file to solve interdependency issues between header files. pytypedefs.h contains forward declarations of the following types: * PyCodeObject * PyFrameObject * PyGetSetDef * PyInterpreterState * PyLongObject * PyMemberDef * PyMethodDef * PyModuleDef * PyObject * PyThreadState * PyTypeObject | 24 February 2022, 16:07:12 UTC |
a52d252 | Dennis Sweeney | 24 February 2022, 14:55:59 UTC | bpo-46823: Implement LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE superinstruction (GH-31484) | 24 February 2022, 14:55:59 UTC |
4fccf91 | Victor Stinner | 24 February 2022, 13:29:08 UTC | bpo-46659: Enhance LocaleTextCalendar for C locale (GH-31214) If the LC_TIME locale is "C", use the user preferred locale. | 24 February 2022, 13:29:08 UTC |
ae3adbe | Mark Shannon | 24 February 2022, 12:10:53 UTC | Add (undocumented) _co_quickened attribute for code object. (GH-31552) | 24 February 2022, 12:10:53 UTC |
7fce106 | Tin Tvrtković | 24 February 2022, 02:17:00 UTC | bpo-46771: Implement task cancel requests counter (GH-31513) This changes cancelling() and uncancel() to return the count of pending cancellations. This can be used to avoid bugs in certain edge cases (e.g. two timeouts going off at the same time). | 24 February 2022, 02:17:00 UTC |
6e117e7 | dependabot[bot] | 23 February 2022, 21:16:47 UTC | build(deps): bump actions/upload-artifact from 2.2.4 to 2.3.1 (GH-30325) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.4 to 2.3.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.4...v2.3.1) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 23 February 2022, 21:16:47 UTC |
8a716bc | Victor Stinner | 23 February 2022, 19:20:03 UTC | bpo-40421: What's New in Python 3.11: PyFrameObject.f_lasti (GH-31536) Suggest replacing PyCode_Addr2Line() with PyFrame_GetLineNumber(). | 23 February 2022, 19:20:03 UTC |
281ea9c | Brandt Bucher | 23 February 2022, 18:53:24 UTC | bpo-44337: Shrink the LOAD_ATTR/STORE_ATTR caches (GH-31517) | 23 February 2022, 18:53:24 UTC |
78859e5 | Victor Stinner | 23 February 2022, 18:49:21 UTC | bpo-40421: Fix PyFrame_GetCode() documentation (GH-31535) Fix PyFrame_GetBack() and PyFrame_GetCode() return type in the documentation. | 23 February 2022, 18:49:21 UTC |
0bb40a4 | Dong-hee Na | 23 February 2022, 17:59:32 UTC | closes bpo-46736: SimpleHTTPRequestHandler now uses HTML5. (GH-31533) Co-authored-by: Oleg Iarygin <dralife@yandex.ru> | 23 February 2022, 17:59:32 UTC |
9bbdde2 | Victor Stinner | 23 February 2022, 17:16:23 UTC | bpo-45412: Add _PY_SHORT_FLOAT_REPR macro (GH-31171) Remove the HAVE_PY_SET_53BIT_PRECISION macro (moved to the internal C API). * Move HAVE_PY_SET_53BIT_PRECISION macro to pycore_pymath.h. * Replace PY_NO_SHORT_FLOAT_REPR macro with _PY_SHORT_FLOAT_REPR macro which is always defined. gcc -Wundef emits a warning when using _PY_SHORT_FLOAT_REPR but the macro is not defined, if pycore_pymath.h include was forgotten. | 23 February 2022, 17:16:23 UTC |
375a56b | Brandt Bucher | 23 February 2022, 11:06:25 UTC | bpo-45885: Don't un-adapt `COMPARE_OP` when collecting stats (GH-31516) | 23 February 2022, 11:06:25 UTC |
424023e | Brandt Bucher | 23 February 2022, 11:00:28 UTC | bpo-46329: Fix test failure when `Py_STATS` is enabled (GH-31511) | 23 February 2022, 11:00:28 UTC |
288af84 | Eric V. Smith | 23 February 2022, 05:14:35 UTC | bpo-46757: Add a test to verify dataclass's __post_init__ isn't being automatically added. (GH-31523) | 23 February 2022, 05:14:35 UTC |
43cf44d | Jelle Zijlstra | 23 February 2022, 04:34:17 UTC | Minor fixes to C API docs (GH-31501) * C API docs: move PyErr_SetImportErrorSubclass docs It was in the section about warnings, but it makes more sense to put it with PyErr_SetImportError. * C API docs: document closeit argument to PyRun_AnyFileExFlags It was already documented for PyRun_SimpleFileExFlags. * textual fixes to unicode docs * Move paragraph about tp_dealloc into tp_dealloc section * __aiter__ returns an async iterator, not an awaitable | 23 February 2022, 04:34:17 UTC |
1935e1c | Dong-hee Na | 23 February 2022, 01:40:30 UTC | bpo-46794: Bump up the libexpat version into 2.4.6 (GH-31487) | 23 February 2022, 01:40:30 UTC |
9b12b1b | Thomas Grainger | 23 February 2022, 00:25:00 UTC | bpo-46522: fix concurrent.futures and io AttributeError messages (GH-30887) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | 23 February 2022, 00:25:00 UTC |
1f45536 | Eric Snow | 23 February 2022, 00:23:51 UTC | bpo-46765: Replace Locally Cached Strings with Statically Initialized Objects (gh-31366) https://bugs.python.org/issue46765 | 23 February 2022, 00:23:51 UTC |
cff4d5c | Andrew Svetlov | 22 February 2022, 23:39:24 UTC | Inherit asyncio proactor datagram transport from asyncio.DatagramTransport (#31512) | 22 February 2022, 23:39:24 UTC |
66b3cd7 | Victor Stinner | 22 February 2022, 22:11:48 UTC | bpo-45459: Rename buffer.h to pybuffer.h (#31201) Rename Include/buffer.h header file to Include/pybuffer.h to avoid conflicts with projects having an existing "buffer.h" header file. * Incude pybuffer.h before object.h in Python.h. * Remove #include "buffer.h" from Include/cpython/object.h. * Add a forward declaration of the PyObject type in pybuffer.h to fix an inter-dependency issue. | 22 February 2022, 22:11:48 UTC |
b899126 | Victor Stinner | 22 February 2022, 21:06:43 UTC | bpo-46659: Deprecate locale.getdefaultlocale() (GH-31206) The locale.getdefaultlocale() function is deprecated and will be removed in Python 3.13. Use locale.setlocale(), locale.getpreferredencoding(False) and locale.getlocale() functions instead. | 22 February 2022, 21:06:43 UTC |
ccbe804 | Victor Stinner | 22 February 2022, 21:04:07 UTC | bpo-46659: Fix the MBCS codec alias on Windows (GH-31218) | 22 February 2022, 21:04:07 UTC |
8fb9489 | Thomas Grainger | 22 February 2022, 20:35:57 UTC | bpo-46827: pass sock.type to getaddrinfo in sock_connect (GH-31499) Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | 22 February 2022, 20:35:57 UTC |
38b5acf | Irit Katriel | 22 February 2022, 18:28:58 UTC | bpo-46729: add number of sub-exceptions in str() of BaseExceptionGroup (GH-31294) | 22 February 2022, 18:28:58 UTC |
bba8008 | vidhya | 22 February 2022, 18:06:41 UTC | bpo-20923 : [doc] Explain ConfigParser 'valid section name' and .SECTCRE (GH-31413) | 22 February 2022, 18:06:41 UTC |
9a0d941 | slateny | 22 February 2022, 17:36:13 UTC | bpo-36557: Updated wording for using/windows (GH-31457) | 22 February 2022, 17:36:13 UTC |
7fb94fd | Pablo Galindo Salgado | 22 February 2022, 17:26:46 UTC | bpo-46725: Document starred expressions in for statements (GH-31481) Automerge-Triggered-By: GH:pablogsal | 22 February 2022, 17:26:46 UTC |
09487c1 | Mark Shannon | 22 February 2022, 17:18:10 UTC | Fix reporting of specialization stats. (GH-31503) | 22 February 2022, 17:18:10 UTC |
77f31a9 | Steve Dower | 22 February 2022, 16:25:05 UTC | bpo-46822: Increase timeout for test_create_server_ssl_over_ssl to match underlying timeouts (GH-31502) | 22 February 2022, 16:25:05 UTC |
1320d56 | Mark Shannon | 22 February 2022, 15:44:31 UTC | Remove pair-counts from specialization stats. (GH-31500) | 22 February 2022, 15:44:31 UTC |
9058a35 | Mark Shannon | 22 February 2022, 14:57:01 UTC | Move call specializations from CALL to PRECALL. (GH-31496) | 22 February 2022, 14:57:01 UTC |
1e34468 | Inada Naoki | 22 February 2022, 11:03:15 UTC | dict: Add dk_log2_index_bytes (GH-31439) | 22 February 2022, 11:03:15 UTC |
090e5c4 | Serhiy Storchaka | 22 February 2022, 07:51:51 UTC | bpo-46820: Fix a SyntaxError in a numeric literal followed by "not in" (GH-31479) Fix parsing a numeric literal immediately (without spaces) followed by "not in" keywords, like in "1not in x". Now the parser only emits a warning, not a syntax error. | 22 February 2022, 07:51:51 UTC |
74127b8 | Inada Naoki | 22 February 2022, 02:59:27 UTC | bpo-46606: Reduce stack usage of getgroups and setgroups (GH-31073) NGROUPS_MAX was 32 before Linux 2.6.4 but 65536 since Linux 2.6.4. | 22 February 2022, 02:59:27 UTC |
4140bcb | Andrew Svetlov | 21 February 2022, 20:59:04 UTC | bpo-45390: Propagate CancelledError's message from cancelled task to its awaiter (GH-31383) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 21 February 2022, 20:59:04 UTC |
59585d6 | Mark Shannon | 21 February 2022, 18:26:47 UTC | bpo-46329: Streamline calling sequence a bit. (GH-31465) * Move handling of bound-methods to PRECALL. * Remove call_shape.postcall_shrink * Remove call_shape.callable * Remove call_shape.callable. Change CALL oparg to match PRECALL oparg. * Move KW_NAMES before PRECALL. * Update opcode docs in dis.rst | 21 February 2022, 18:26:47 UTC |
0a222db | Jelle Zijlstra | 21 February 2022, 15:42:27 UTC | fix __bool__ docstring (GH-31301) | 21 February 2022, 15:42:27 UTC |
2cae938 | Sebastian Pipping | 21 February 2022, 14:48:32 UTC | bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) Curly brackets were never allowed in namespace URIs according to RFC 3986, and so-called namespace-validating XML parsers have the right to reject them a invalid URIs. libexpat >=2.4.5 has become strcter in that regard due to related security issues; with ET.XML instantiating a namespace-aware parser under the hood, this test has no future in CPython. References: - https://datatracker.ietf.org/doc/html/rfc3968 - https://www.w3.org/TR/xml-names/ Also, test_minidom.py: Support Expat >=2.4.5 | 21 February 2022, 14:48:32 UTC |
2b86616 | Dong-hee Na | 21 February 2022, 14:46:52 UTC | bpo-46541: Remove usage of _Py_IDENTIFIER from pyexpat (GH-31468) | 21 February 2022, 14:46:52 UTC |
195a46d | Serhiy Storchaka | 21 February 2022, 11:25:52 UTC | bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431) | 21 February 2022, 11:25:52 UTC |
be095f6 | Christian Heimes | 20 February 2022, 20:42:31 UTC | bpo-46232: Fix parsing of certs with bit string in DN (GH-30351) | 20 February 2022, 20:42:31 UTC |
b77158b | Lital Natan | 20 February 2022, 16:02:10 UTC | bpo-39327: Close file descriptors as soon as possible in shutil.rmtree (GH-31384) It fixes the "Text File Busy" OSError when using 'rmtree' on a windows-managed filesystem in via the VirtualBox shared folder (and possible other scenarios like a windows-managed network file system). | 20 February 2022, 16:02:10 UTC |
a3fcca4 | Josh Smith | 20 February 2022, 12:31:09 UTC | replace `self` param with more appropriate `cls` in classmethods (GH-31402) | 20 February 2022, 12:31:09 UTC |
1f9d4c9 | Andrew Svetlov | 20 February 2022, 12:17:15 UTC | Raise TypeError if SSLSocket is passed to asyncio transport-based methods (GH-31442) | 20 February 2022, 12:17:15 UTC |
4ab8167 | Nikita Sobolev | 20 February 2022, 10:24:00 UTC | bpo-46672: fix `NameError` in `asyncio.gather` if type check fails (GH-31187) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | 20 February 2022, 10:24:00 UTC |
e7130c2 | Andrew Svetlov | 20 February 2022, 10:07:00 UTC | bpo-46752: Uniform TaskGroup.__repr__ (GH-31409) | 20 February 2022, 10:07:00 UTC |
12a2e41 | Raymond Hettinger | 20 February 2022, 05:02:30 UTC | Improve discussion about how __getattr__ is invoked. (GH-31435) | 20 February 2022, 05:02:30 UTC |
0a8a8e7 | Jelle Zijlstra | 20 February 2022, 01:44:51 UTC | bpo-46066: Check DeprecationWarning in test_typing (GH-31428) | 20 February 2022, 01:44:51 UTC |
7a4791e | Dennis Sweeney | 19 February 2022, 05:57:36 UTC | Use raw string to avoid deprecation warning (GH-31427) | 19 February 2022, 05:57:36 UTC |
5543d9c | Inada Naoki | 19 February 2022, 04:15:20 UTC | dict: Use DK_LOG_SIZE in hot loop. (GH-31405) DK_LOG_SIZE(key) < 8 is faster than DK_SIZE(key) <= 0xff, at least on GCC. | 19 February 2022, 04:15:20 UTC |
99331fc | Charles Brunet | 19 February 2022, 02:23:53 UTC | Counter doc mentions three methods, but lists four (GH-30706) Was probably caused by the addition of the `total()` method | 19 February 2022, 02:23:53 UTC |
32e3e0b | Nikita Sobolev | 19 February 2022, 01:56:30 UTC | bpo-46685: improve test coverage of `Self` and `Never` in `typing` (GH-31222) | 19 February 2022, 01:56:30 UTC |
25c0b9d | Nikita Sobolev | 19 February 2022, 01:54:01 UTC | bpo-46603: improve coverage of `typing._strip_annotations` (GH-31063) | 19 February 2022, 01:54:01 UTC |
395029b | Nikita Sobolev | 19 February 2022, 01:53:29 UTC | bpo-46571: improve `typing.no_type_check` to skip foreign objects (GH-31042) There are several changes: 1. We now don't explicitly check for any base / sub types, because new name check covers it 2. I've also checked that `no_type_check` do not modify foreign functions. It was the same as with `type`s 3. I've also covered `except TypeError` in `no_type_check` with a simple test case, it was not covered at all 4. I also felt like adding `lambda` test is a good idea: because `lambda` is a bit of both in class bodies: a function and an assignment <!-- issue-number: [bpo-46571](https://bugs.python.org/issue46571) --> https://bugs.python.org/issue46571 <!-- /issue-number --> | 19 February 2022, 01:53:29 UTC |
f80a97b | Jörn Heissler | 19 February 2022, 01:49:04 UTC | [docs] Correct typos in SSLContext.sni_callback (GH-30623) Co-authored-by: Jörn Heissler <nosuchaddress@joern-heissler.de> | 19 February 2022, 01:49:04 UTC |
6312c10 | Yilei "Dolee" Yang | 18 February 2022, 22:33:06 UTC | bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) The libexpat 2.4.1 upgrade from introduced the following new exported symbols: * `testingAccountingGetCountBytesDirect` * `testingAccountingGetCountBytesIndirect` * `unsignedCharToPrintable` * `XML_SetBillionLaughsAttackProtectionActivationThreshold` * `XML_SetBillionLaughsAttackProtectionMaximumAmplification` We need to adjust [Modules/expat/pyexpatns.h](https://github.com/python/cpython/blob/master/Modules/expat/pyexpatns.h) (The newer libexpat upgrade has no new symbols). Automerge-Triggered-By: GH:gpshead | 18 February 2022, 22:33:06 UTC |
892ff93 | Hugo van Kemenade | 18 February 2022, 19:28:12 UTC | Process more stale PRs, oldest first (GH-31407) | 18 February 2022, 19:28:12 UTC |
91cc5fd | Brandt Bucher | 18 February 2022, 18:57:02 UTC | "Own" pattern matching and peepholing (GH-31412) | 18 February 2022, 18:57:02 UTC |
80a9ba5 | Guido van Rossum | 18 February 2022, 17:28:56 UTC | Reduce flakiness of taskgroups test 13 (GH-31411) | 18 February 2022, 17:28:56 UTC |