summaryrefslogtreecommitdiffstats
path: root/Modules/clinic
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43172: readline now passes its tests when built against libedit (GH-24499)Gregory P. Smith2021-02-121-4/+6
| | | | | | | 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-1635741: Port pyexpat to multi-phase init (PEP 489) (GH-22222)Mohamed Koubaa2021-01-041-69/+50
|
* bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874)Serhiy Storchaka2021-01-031-16/+17
|
* bpo-40077: Convert arraymodule to use heap types and establish module state ↵Erlend Egeberg Aasland2021-01-021-2/+23
| | | | (GH-23124)
* bpo-41625: Do not add os.splice on AIX due to compatibility issues (GH-23608)Pablo Galindo2020-12-021-3/+3
|
* bpo-38200: Add itertools.pairwise() (GH-23549)Raymond Hettinger2020-12-011-1/+32
|
* bpo-1635741: Port select module to multiphase init (GH-23409)Christian Heimes2020-11-211-3/+3
|
* bpo-1635741: Convert _sre types to heap types and establish module state ↵Erlend Egeberg Aasland2020-11-201-285/+93
| | | | (PEP 384) (GH-23393)
* bpo-42333: Port _ssl extension module to heap types (GH-23392)Christian Heimes2020-11-201-8/+8
| | | All types in _ssl module are now heap types.
* bpo-1635741: Port _struct to multiphase initialization (GH-23398)Christian Heimes2020-11-191-5/+5
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-41625: Expose the splice() system call in the os module (GH-21947)Pablo Galindo2020-11-171-1/+105
|
* bpo-41001: Add os.eventfd() (#20930)Christian Heimes2020-11-131-1/+141
| | | Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-40077: Convert _queuemodule to use heap types (GH-23136)Erlend Egeberg Aasland2020-11-071-31/+27
| | | @vstinner / @corona10, would you mind reviewing this?
* Add _PyType_GetModuleByDef (GH-22835)Petr Viktorin2020-11-031-2/+5
| | | | | See https://mail.python.org/archives/list/capi-sig@python.org/thread/T3P2QNLNLBRFHWSKYSTPMVEIL2EEKFJU/ for discussion. https://bugs.python.org/issue42100
* bpo-42208: Add _locale._get_locale_encoding() (GH-23052)Victor Stinner2020-10-311-1/+19
| | | | | | * Add a new _locale._get_locale_encoding() function to get the current locale encoding. * Modify locale.getpreferredencoding() to use it. * Remove the _bootlocale module.
* bpo-42161: Modules/ uses _PyLong_GetZero() and _PyLong_GetOne() (GH-22998)Victor Stinner2020-10-271-3/+3
| | | | | | Use _PyLong_GetZero() and _PyLong_GetOne() in Modules/ directory. _cursesmodule.c and zoneinfo.c are now built with Py_BUILD_CORE_MODULE macro defined.
* bpo-41052: Fix pickling heap types implemented in C with protocols 0 and 1 ↵Serhiy Storchaka2020-10-243-88/+3
| | | | (GH-22870)
* bpo-4356: Add key function support to the bisect module (GH-20556)Raymond Hettinger2020-10-201-29/+73
|
* bpo-20184: Convert termios to Argument Clinic. (GH-22693)Serhiy Storchaka2020-10-181-0/+225
|
* bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513)Hai Shi2020-10-161-38/+1
| | | | * Move the codecs' (un)register operation to testcases. * Remove _codecs._forget_codec() and _PyCodec_Forget()
* bpo-41985: Add _PyLong_FileDescriptor_Converter and AC converter for ↵Serhiy Storchaka2020-10-093-20/+20
| | | | "fildes". (GH-22620)
* bpo-41842: Add codecs.unregister() function (GH-22360)Hai Shi2020-09-281-1/+12
| | | | Add codecs.unregister() and PyCodec_Unregister() functions to unregister a codec search function.
* bpo-1635741: Port _lsprof extension to multi-phase init (PEP 489) (GH-22220)Mohamed Koubaa2020-09-231-5/+16
|
* bpo-1635741: Convert an _lsprof method to argument clinic (GH-22240)Mohamed Koubaa2020-09-211-0/+44
|
* bpo-1635741: Convert _sha256 types to heap types (GH-22134)Mohamed Koubaa2020-09-081-5/+16
| | | Convert the _sha256 extension module types to heap types.
* bpo-1635741 port _curses_panel to multi-phase init (PEP 489) (GH-21986)Mohamed Koubaa2020-09-071-41/+117
|
* bpo-1635741 port zlib module to multi-phase init (GH-21995)Mohamed Koubaa2020-09-071-95/+141
| | | Port the zlib extension module to multi-phase initialization (PEP 489).
* bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818)Mohamed Koubaa2020-09-063-15/+48
| | | | Port the _sha1, _sha512, and _md5 extension modules to multi-phase initialization API (PEP 489).
* bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536)Hans Petter Jansson2020-08-041-195/+55
| | | Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>
* bpo-20183: Convert _locale to the Argument Clinic (GH-14201)Zackery Spytz2020-07-151-0/+587
|
* bpo-41146: Convert signal.default_int_handler() to Argument Clinic (GH-21197)Serhiy Storchaka2020-07-121-1/+37
|
* bpo-20181: Convert the readline module to the Argument Clinic (#14326)Zackery Spytz2020-07-121-0/+686
|
* bpo-36346: Make using the legacy Unicode C API optional (GH-21437)Serhiy Storchaka2020-07-101-11/+53
| | | | Add compile time option USE_UNICODE_WCHAR_CACHE. Setting it to 0 makes the interpreter not using the wchar_t cache and the legacy Unicode C API.
* bpo-20179: Convert the _overlapped module to the Argument Clinic (GH-14275)Zackery Spytz2020-07-101-0/+908
|
* bpo-36346: Undeprecate private function _PyUnicode_AsUnicode(). (GH-21336)Serhiy Storchaka2020-07-051-7/+1
|
* bpo-40967: Remove deprecated asyncio.Task.current_task() and ↵Rémi Lapeyre2020-07-021-81/+1
| | | | asyncio.Task.all_tasks() (GH-20874)
* bpo-36346: Prepare for removing the legacy Unicode C API (AC only). (GH-21223)Serhiy Storchaka2020-06-302-10/+68
|
* bpo-31938: Fix default-value signatures of several functions in the select ↵Anthony Sottile2020-06-231-5/+9
| | | | module (GH-21066)
* bpo-1635741: Port _lzma module to multiphase initialization (GH-19382)Dong-hee Na2020-06-221-34/+35
|
* bpo-41052: Opt out serialization/deserialization for _random.Random (GH-21002)Dong-hee Na2020-06-211-1/+18
|
* bpo-41056: Use the fildes converter for fd to please Coverity. (GH-21011)Gregory P. Smith2020-06-201-3/+2
| | | | | | | | | There are a bunch of other fd: int uses in this file, I expect many if not all of them would be better off using the fildes converter. This particular one was flagged by Coverity as it presumably flags fpathconf as not accepting negative fds. I'd expect the other fd's to have been flagged as well otherwise. I'm marking this one as skip news as it really is a no-op.
* bpo-40077: Convert _bz2 module to use PyType_FromSpec (GH-20960)Dong-hee Na2020-06-191-60/+23
|
* bpo-1635741: Port _gdbm module to multiphase initialization (GH-20920)Dong-hee Na2020-06-161-28/+75
|
* bpo-1635741: Port _dbm module to multiphase initialization (GH-20848)Dong-hee Na2020-06-151-15/+30
|
* bpo-40792: Make the result of PyNumber_Index() always having exact type int. ↵Serhiy Storchaka2020-05-2814-61/+61
| | | | | | | | | | | | (GH-20443) Previously, the result could have been an instance of a subclass of int. Also revert bpo-26202 and make attributes start, stop and step of the range object having exact type int. Add private function _PyNumber_Index() which preserves the old behavior of PyNumber_Index() for performance to use it in the conversion functions like PyLong_AsLong().
* bpo-37129: Add os.RWF_APPEND flag for os.pwritev() (GH-20336)YoSTEALTH2020-05-271-1/+2
|
* bpo-40791: Use CRYPTO_memcmp() for compare_digest (#20456)Christian Heimes2020-05-271-1/+41
| | | | | | | | hashlib.compare_digest uses OpenSSL's CRYPTO_memcmp() function when OpenSSL is available. Note: The _operator module is a builtin module. I don't want to add libcrypto dependency to libpython. Therefore I duplicated the wrapper function and added a copy to _hashopenssl.c.
* bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636)Serhiy Storchaka2020-05-2632-1743/+65
| | | | Only __index__ should be used to make integer conversions lossless.
* bpo-38580: Document that select() accepts iterables, not just sequences ↵Jakub Stasiak2020-05-251-2/+2
| | | | (GH-16832)
* Let the argument clinic do the type checking for heapq (GH-20284)Raymond Hettinger2020-05-221-1/+97
|