Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly ↵ | Steve Dower | 2022-03-07 | 1 | -0/+2 |
| | | | | uses the install path during repair (GH-31726) | ||||
* | bpo-46933: Make pwd module optional (GH-31700) | Christian Heimes | 2022-03-07 | 1 | -0/+1 |
| | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | bpo-46940: Don't override existing AttributeError suggestion information ↵ | Pablo Galindo Salgado | 2022-03-07 | 1 | -0/+2 |
| | | | | | | | | | | | | (GH-31710) When an exception is created in a nested call to PyObject_GetAttr, any external calls will override the context information of the AttributeError that we have already placed in the most internal call. This will cause the suggestions we create to nor work properly as the attribute name and object that we will be using are the incorrect ones. To avoid this, we need to check first if these attributes are already set and bail out if that's the case. | ||||
* | bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696) | Jacob Walls | 2022-03-07 | 2 | -0/+3 |
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-14156: Make argparse.FileType work correctly for binary file modes when ↵ | MojoVampire | 2022-03-06 | 1 | -0/+4 |
| | | | | | | | argument is '-' (GH-13165) Also made modes containing 'a' or 'x' act the same as a mode containing 'w' when argument is '-' (so 'a'/'x' return sys.stdout like 'w', and 'ab'/'xb' return sys.stdout.buffer like 'wb'). | ||||
* | bpo-46921: Vectorcall support for `super()` (GH-31687) | Ken Jin | 2022-03-06 | 1 | -0/+1 |
| | | | Co-Authored-By: Dong-hee Na <donghee.na@python.org> | ||||
* | bpo-46864: Deprecate PyBytesObject.ob_shash. (GH-31598) | Inada Naoki | 2022-03-06 | 1 | -0/+1 |
| | |||||
* | bpo-46927: Include the type's name in the error message for subscripting ↵ | Serhiy Storchaka | 2022-03-05 | 1 | -0/+2 |
| | | | | non-generic types (GH-31694) | ||||
* | bpo-46841: Fix BINARY_OP's handling of inline caches (GH-31671) | Brandt Bucher | 2022-03-04 | 1 | -0/+2 |
| | |||||
* | bpo-46841: Fix error message hacks in `GET_AWAITABLE` (GH-31664) | Brandt Bucher | 2022-03-04 | 1 | -0/+2 |
| | |||||
* | bpo-46903: Handle str-subclasses in virtual instance dictionaries. (GH-31658) | Mark Shannon | 2022-03-04 | 1 | -0/+2 |
| | |||||
* | bpo-46744: Move Windows ARM64 installation directory to correct ProgramFiles ↵ | Steve Dower | 2022-03-04 | 1 | -0/+3 |
| | | | | (GH-31677) | ||||
* | bpo-46841: Use inline caching for attribute accesses (GH-31640) | Brandt Bucher | 2022-03-03 | 1 | -0/+2 |
| | |||||
* | bpo-46913: Fix test_faulthandler.test_sigfpe() on UBSAN (GH-31662) | Victor Stinner | 2022-03-03 | 1 | -0/+3 |
| | | | | Disable undefined behavior sanitizer (UBSAN) on faulthandler_sigfpe(). | ||||
* | bpo-46841: Improve the failure stats for COMPARE_OP (GH-31663) | Brandt Bucher | 2022-03-03 | 1 | -0/+2 |
| | |||||
* | bpo-46877: export unittest.doModuleCleanups in unittest package (#31613) | Kumar Aditya | 2022-03-03 | 1 | -0/+1 |
| | |||||
* | bpo-46891: Fix creating a new instance of a module subclass with slots ↵ | Mark Shannon | 2022-03-03 | 1 | -0/+3 |
| | | | | (GH-31643) | ||||
* | bpo-46643: fix NEWS entry (GH-31651) | Jelle Zijlstra | 2022-03-03 | 1 | -1/+3 |
| | |||||
* | bpo-40116: dict: Add regression test for iteration order. (GH-31550) | Inada Naoki | 2022-03-03 | 2 | -1/+3 |
| | |||||
* | bpo-46643: Fix stringized P.args/P.kwargs with get_type_hints (GH-31238) | Gregory Beauregard | 2022-03-03 | 1 | -0/+1 |
| | |||||
* | bpo-46860: Respect `--with-suffix` on case-insensitive file systems (GH-31593) | Brett Cannon | 2022-03-02 | 1 | -0/+1 |
| | | | Previously, case-insensitive file systems were forced to use `.exe` as the file suffix no matter what `--with-suffix` was set to. | ||||
* | bpo-46195: Do not add `Optional` in `get_type_hints` (GH-30304) | Nikita Sobolev | 2022-03-02 | 1 | -0/+3 |
| | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | bpo-46848: Use stringlib/fastsearch in mmap (GH-31625) | Dennis Sweeney | 2022-03-02 | 1 | -0/+3 |
| | | | Speed up mmap.find(). Add _PyBytes_Find() and _PyBytes_ReverseFind(). | ||||
* | bpo-46845: Reduce dict size when all keys are Unicode (GH-31564) | Inada Naoki | 2022-03-01 | 1 | -0/+3 |
| | |||||
* | bpo-46841: Use inline cache for `BINARY_SUBSCR`. (GH-31618) | Mark Shannon | 2022-03-01 | 1 | -0/+1 |
| | |||||
* | bpo-46311: Clean up PyLong_FromLong and PyLong_FromLongLong (GH-30496) | Mark Dickinson | 2022-03-01 | 1 | -0/+3 |
| | |||||
* | bpo-46841: Use inline caching for `COMPARE_OP` (GH-31622) | Brandt Bucher | 2022-03-01 | 1 | -0/+1 |
| | |||||
* | bpo-46841: Move the cache for `LOAD_GLOBAL` inline. (GH-31575) | Mark Shannon | 2022-02-28 | 1 | -0/+1 |
| | |||||
* | bpo-46567: Add Tcl/Tk build for Windows ARM64 (GH-31574) | Steve Dower | 2022-02-28 | 1 | -0/+2 |
| | |||||
* | bpo-46841: Use inline caching for `UNPACK_SEQUENCE` (GH-31591) | Brandt Bucher | 2022-02-28 | 1 | -0/+1 |
| | |||||
* | bpo-46786: Make ElementTree write the HTML tags embed, source, track, wbr as ↵ | Jannis Vajen | 2022-02-27 | 1 | -0/+2 |
| | | | | | | empty tags (GH-31406) See https://html.spec.whatwg.org/multipage/syntax.html#void-elements for reference. | ||||
* | bpo-45735: Promise the long-time truth that `args=list` works (GH-30982) | Charlie Zhao | 2022-02-26 | 1 | -0/+1 |
| | | | | | | 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> | ||||
* | bpo-46852: Remove the float.__set_format__() method (GH-31585) | Victor Stinner | 2022-02-25 | 1 | -0/+4 |
| | | | | | | 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." | ||||
* | bpo-46712: Share global string identifiers in deepfreeze (GH-31261) | Kumar Aditya | 2022-02-25 | 1 | -0/+1 |
| | | | Where appropriate, deepfreeze.c now uses `&_Py_ID(blah)` references instead of locally defining constants. This saves some space. | ||||
* | bpo-46808: remove NEXT_BLOCK() from compile.c (GH-31448) | Irit Katriel | 2022-02-25 | 1 | -0/+1 |
| | |||||
* | bpo-46841: Use *inline* caching for `BINARY_OP` (GH-31543) | Brandt Bucher | 2022-02-25 | 1 | -0/+2 |
| | |||||
* | bpo-46836: Move PyFrameObject to pycore_frame.h (GH-31530) | Victor Stinner | 2022-02-25 | 1 | -0/+2 |
| | | | | Move the PyFrameObject type definition (struct _frame) to the internal C API pycore_frame.h header file. | ||||
* | bpo-46756: Fix authorization check in urllib.request (GH-31353) | Serhiy Storchaka | 2022-02-25 | 1 | -0/+5 |
| | | | | | | 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". | ||||
* | bpo-46748: Don't import <stdbool.h> in public headers (GH-31553) | Petr Viktorin | 2022-02-25 | 1 | -0/+2 |
| | | | | | | | <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 | ||||
* | bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) | Victor Stinner | 2022-02-25 | 1 | -0/+3 |
| | | | | | | | | | | | 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. | ||||
* | bpo-46656: Remove Py_NO_NAN macro (GH-31160) | Victor Stinner | 2022-02-25 | 2 | -3/+4 |
| | | | | Building Python now requires support for floating point Not-a-Number (NaN): remove the Py_NO_NAN macro. | ||||
* | bpo-46656: Building Python now requires a C11 compiler (GH-31557) | Victor Stinner | 2022-02-25 | 1 | -0/+2 |
| | | | | See PEP 7: https://python.github.io/peps/pep-0007/#c-dialect | ||||
* | bpo-46623: Skip two test_zlib tests on s390x (GH-31096) | Victor Stinner | 2022-02-24 | 1 | -0/+2 |
| | | | | Skip test_pair() and test_speech128() of test_zlib on s390x since they fail if zlib uses the s390x hardware accelerator. | ||||
* | bpo-45898: Remove duplicate symbols from _ctypes/cfield.c (GH-29791) | Christian Heimes | 2022-02-24 | 1 | -0/+2 |
| | |||||
* | bpo-45107: Specialize `LOAD_METHOD` for instances with dict. (GH-31531) | Mark Shannon | 2022-02-24 | 1 | -0/+1 |
| | |||||
* | bpo-46430: Fix memory leak in interned strings of deep-frozen modules (GH-31549) | Kumar Aditya | 2022-02-24 | 1 | -0/+1 |
| | |||||
* | bpo-46823: Implement LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE superinstruction ↵ | Dennis Sweeney | 2022-02-24 | 1 | -0/+1 |
| | | | | (GH-31484) | ||||
* | bpo-44337: Shrink the LOAD_ATTR/STORE_ATTR caches (GH-31517) | Brandt Bucher | 2022-02-23 | 1 | -0/+2 |
| | |||||
* | closes bpo-46736: SimpleHTTPRequestHandler now uses HTML5. (GH-31533) | Dong-hee Na | 2022-02-23 | 1 | -0/+2 |
| | | | Co-authored-by: Oleg Iarygin <dralife@yandex.ru> | ||||
* | bpo-45412: Add _PY_SHORT_FLOAT_REPR macro (GH-31171) | Victor Stinner | 2022-02-23 | 1 | -0/+2 |
| | | | | | | | | | | 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. |