aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bpo-42819, readline: Disable bracketed paste (GH-24108)Dustin Rodrigues2021-02-161-0/+23
|
* bpo-43210: Fix byteswap comment in sha512.module.c (GH-24518)Erlend Egeberg Aasland2021-02-141-1/+1
|
* bpo-43172: readline now passes its tests when built against libedit (GH-24499)Gregory P. Smith2021-02-122-12/+36
| | | | | | | bpo-43172: readline now passes its tests when built against libedit. Existing irreconcilable API differences remain in readline.get_begidx and readline.get_endidx behavior based on libreadline vs libedit use. A note about that has been documented.
* bpo-43204: Fix LibTomCrypt URL in md5module.c and sha*module.c comments ↵Erlend Egeberg Aasland2021-02-124-4/+4
| | | | | (GH-24507) Automerge-Triggered-By: GH:tiran
* bpo-40956: Fix segfault when Connection.backup is called without target ↵Erlend Egeberg Aasland2021-02-112-21/+12
| | | | (GH-24503)
* bpo-13501: allow choosing between readline and libedit (GH-24189)Roland Hieber2021-02-081-3/+7
| | | | | | | | | | | | | | | | | | | | | | | In contrast to macOS, libedit is available as its own include file and library on Linux systems to prevent file name clashes. So if both libraries are available on the system, readline is currently chosen by default; and if only libedit is available, it is not found at all. This patch adds a way to link against libedit by adding the following arguments to configure: --with-readline link against libreadline (the default) --with-readline=editline link against libeditline --with-readline=no disable building the readline module --without-readline (same) The runtime detection of libedit vs. readline was already done in commit 7105319ada2e66365902 (2019-12-04, serge-sans-paille: "bpo-38634: Allow non-apple build to cope with libedit (GH-16986)"). Fixes: GH-12076 ("bpo-13501 Build or disable readline with Editline") Fixes: bpo-13501 ("Make libedit support more generic; port readline / libedit to FreeBSD") Co-authored-by: Enji Cooper (ngie-eign) Co-authored-by: Martin Panter (vadmium) Co-authored-by: Robert Marshall (kellinm)
* bpo-43132: Fix incorrect handling of PyObject_RichCompareBool() in _zoneinfo ↵Zackery Spytz2021-02-051-6/+17
| | | | | | | (GH-24450) PyObject_RichCompareBool() returns -1 on error, but this case is not handled by the find_in_strong_cache() function. Any exception raised by PyObject_RichCompareBool() should be propagated.
* bpo-43106: Add os.O_EVTONLY/O_FSYNC/O_SYMLINK/O_NOFOLLOW_ANY (GH-24428)Dong-hee Na2021-02-041-1/+12
|
* bpo-43108: Fix a reference leak in the curses module (GH-24420)Pablo Galindo2021-02-021-1/+3
|
* bpo-42834: Fix _json internal caches for subinterpreters (GH-24121)Ken Jin2021-02-011-38/+39
| | | | Make internal caches of the _json extension module compatible with subinterpreters.
* bpo-41604: Don't decrement the reference count of the previous user_ptr when ↵Anonymous Maarten2021-01-311-1/+3
| | | | set_panel_usertpr fails (GH-21933)
* bpo-43083: Fix error handling in _sqlite3 (GH-24395)Serhiy Storchaka2021-01-312-7/+19
|
* bpo-42323: Fix math.nextafter() on AIX (GH-24381)Victor Stinner2021-01-291-2/+2
| | | math_nextafter_impl() must return a Python object, not a C double.
* bpo-42979: Enhance abstract.c assertions checking slot result (GH-24352)Victor Stinner2021-01-271-4/+15
| | | | | | | | * bpo-42979: Enhance abstract.c assertions checking slot result Add _Py_CheckSlotResult() function which fails with a fatal error if a slot function succeeded with an exception set or failed with no exception set: write the slot name, the type name and the current exception (if an exception is set).
* bpo-42979: _zoneinfo exec function checks for PyDateTime_IMPORT failure ↵Hai Shi2021-01-271-0/+3
| | | | | (GH-24333) Importing datetime can fail.
* bpo-43033: Fix the handling of PyObject_SetAttrString() in _zoneinfo.c ↵Zackery Spytz2021-01-271-1/+5
| | | | (GH-24345)
* Typo in comment (GH-24199)borispopoff2021-01-251-1/+1
| | | Automerge-Triggered-By: GH:Mariatta
* bpo-41798: Allocate the _curses._C_API on the heap memory (GH-24186)Hai Shi2021-01-221-9/+30
|
* bpo-42323: Fix math.nextafter() for NaN on AIX (GH-24265)Victor Stinner2021-01-201-0/+6
|
* bpo-41798: Allocate unicodedata CAPI on the heap (GH-24128)Erlend Egeberg Aasland2021-01-201-8/+29
|
* bpo-41995: Handle allocation failure in _tracemalloc and _zoneinfo (GH-22635)Yunlongs2021-01-201-0/+12
|
* closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes ↵Benjamin Peterson2021-01-181-32/+19
| | | | param reprs. (24239)
* bpo-42923: Dump extension modules on fatal error (GH-24207)Victor Stinner2021-01-181-0/+3
| | | | | | | The Py_FatalError() function and the faulthandler module now dump the list of extension modules on a fatal error. Add _Py_DumpExtensionModules() and _PyModule_IsExtension() internal functions.
* bpo-42923: Add Py_FatalError() test in test_capi (GH-24240)Victor Stinner2021-01-182-23/+25
| | | Move faulthandler._fatal_error() to _testcapi.fatal_error().
* bpo-39273: Expose BUTTON5_* constants in the curses module if available ↵Zackery Spytz2021-01-141-0/+8
| | | | (GH-17996)
* bpo-40956: Fix sqlite3.Cursor.fetchmany() default value (GH-24214)Erlend Egeberg Aasland2021-01-142-5/+9
|
* bpo-42866: Add traverse func to _multibytecodec.MultibyteCodec (GH-24166)Victor Stinner2021-01-081-3/+13
| | | | Convert _multibytecodec.MultibyteCodec type to a GC type and adds a traverse function.
* bpo-42866: Fix refleak in CJK getcodec() (GH-24165)Victor Stinner2021-01-081-0/+1
| | | Fix a reference leak in the getcodec() function of CJK codecs.
* bpo-42846: Convert CJK codec extensions to multiphase init (GH-24157)Victor Stinner2021-01-081-29/+39
| | | | | | | | | | | Convert the 6 CJK codec extension modules (_codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw) to the multiphase initialization API (PEP 489). Remove getmultibytecodec() local cache: always import _multibytecodec. It should be uncommon to get a codec. For example, this function is only called once per CJK codec module. Fix a reference leak in register_maps() error path.
* bpo-41798: Allocate the _datetime.datetime_CAPI on the heap memory (GH-24096)Hai Shi2021-01-061-21/+43
|
* bpo-41798: Allocate _socket module C API on the heap (GH-24126)Erlend Egeberg Aasland2021-01-062-16/+47
|
* bpo-41798: Allocate _decimal extension module C API on the heap (GH-24117)Erlend Egeberg Aasland2021-01-061-5/+20
|
* bpo-40959: Remove unused declarations from sqlite3 headers (GH-20828)Erlend Egeberg Aasland2021-01-065-16/+0
|
* bpo-40810: Require SQLite 3.7.15 (GH-24106)Erlend Egeberg Aasland2021-01-063-38/+6
|
* bpo-40956: Convert _sqlite3.Cursor to Argument Clinic (GH-24007)Erlend Egeberg Aasland2021-01-063-68/+396
|
* bpo-42681: Fix test_curses failures related to color pairs (GH-24089)Serhiy Storchaka2021-01-051-20/+40
| | | | | | | On ncurses 6.1 pair numbers are limited by SHORT_MAX-1, even with extended color support. Improve error reporting and tests for color functions.
* bpo-1635741: Convert _multibytecodec to multi-phase init (GH-24095)Erlend Egeberg Aasland2021-01-042-261/+218
| | | | Convert the _multibytecodec extension module (CJK codecs) to multi-phase initialization (PEP 489).
* bpo-1635741: Port pyexpat to multi-phase init (PEP 489) (GH-22222)Mohamed Koubaa2021-01-042-164/+177
|
* bpo-42692: fix __builtin_available check on older compilers (GH-23873)Joshua Root2021-01-041-1/+7
| | | | | | A compiler that doesn't define `__has_builtin` will error out when it is used on the same line as the check for it. Automerge-Triggered-By: GH:ronaldoussoren
* bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874)Serhiy Storchaka2021-01-032-61/+76
|
* bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)Hai Shi2021-01-031-27/+40
|
* bpo-40077: Add traverse/clear/free to arraymodule (GH-24066)Erlend Egeberg Aasland2021-01-031-6/+33
|
* bpo-40077: Convert arraymodule to use heap types and establish module state ↵Erlend Egeberg Aasland2021-01-022-159/+195
| | | | (GH-23124)
* bpo-42393: Raise OverflowError iso. DeprecationWarning on overflow in ↵Erlend Egeberg Aasland2020-12-311-26/+10
| | | | socket.ntohs and socket.htons (GH-23980)
* bpo-40137: Fix refleak in _functools_exec() (GH-24006)Victor Stinner2020-12-301-0/+1
|
* bpo-40956: Convert _sqlite3.Row to Argument Clinic (GH-23964)Erlend Egeberg Aasland2020-12-292-21/+86
|
* bpo-42655: Fix subprocess extra_groups gid conversion (GH-23762)Jakub Kulík2020-12-293-11/+7
|
* bpo-40137: Convert _functools module to use PyType_FromModuleAndSpec. (GH-23405)Hai Shi2020-12-291-222/+253
|
* Fix minor typo in comments in readline.c (GH-23911)Jero Bado2020-12-291-1/+1
|
* Fix compiler warnings regarding loss of data (GH-23983)Pablo Galindo2020-12-291-1/+1
|