summaryrefslogtreecommitdiffstats
path: root/Modules/clinic
Commit message (Collapse)AuthorAgeFilesLines
* Do not use Py_ssize_clean_t (GH-25940)Inada Naoki2021-05-083-12/+11
|
* bpo-18233: Add internal methods to access peer chain (GH-25467)Christian Heimes2021-04-261-1/+35
| | | | | | | | | | | | The internal `_ssl._SSLSocket` object now provides methods to retrieve the peer cert chain and verified cert chain as a list of Certificate objects. Certificate objects have methods to convert the cert to a dict, PEM, or DER (ASN.1). These are private APIs for now. There is a slim chance to stabilize the approach and provide a public API for 3.10. Otherwise I'll provide a stable API in 3.11. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-39529: Deprecate creating new event loop in asyncio.get_event_loop() ↵Serhiy Storchaka2021-04-251-1/+40
| | | | | | (GH-23554) asyncio.get_event_loop() emits now a deprecation warning when it creates a new event loop. In future releases it will became an alias of asyncio.get_running_loop().
* bpo-43538: Add extra arguments to os.startfile (GH-25538)Steve Dower2021-04-231-16/+71
|
* bpo-35114: Make ssl.RAND_status() return a bool (GH-20063)Zackery Spytz2021-04-231-2/+2
|
* bpo-42333: Port _ssl extension to multiphase initialization (PEP 489) (GH-23253)Christian Heimes2021-04-171-10/+10
| | | | | | | | | - Introduce sslmodule_slots - Introduce sslmodulestate - Use sslmodulestate - Get rid of PyState_FindModule - Move new structs and helpers to header file - Use macros to access state - Keep a strong ref to socket type
* bpo-43669: Remove OpenSSL 0.9 to 1.1.0 specific documentation (GH-25453)Christian Heimes2021-04-171-39/+1
|
* bpo-43669: PEP 644: Require OpenSSL 1.1.1 or newer (GH-23014)Christian Heimes2021-04-172-97/+4
| | | | | | | | | | | | | | | | | | | | | | | | - Remove HAVE_X509_VERIFY_PARAM_SET1_HOST check - Update hashopenssl to require OpenSSL 1.1.1 - multissltests only OpenSSL > 1.1.0 - ALPN is always supported - SNI is always supported - Remove deprecated NPN code. Python wrappers are no-op. - ECDH is always supported - Remove OPENSSL_VERSION_1_1 macro - Remove locking callbacks - Drop PY_OPENSSL_1_1_API macro - Drop HAVE_SSL_CTX_CLEAR_OPTIONS macro - SSL_CTRL_GET_MAX_PROTO_VERSION is always defined now - security level is always available now - get_num_tickets is available with TLS 1.3 - X509_V_ERR MISMATCH is always available now - Always set SSL_MODE_RELEASE_BUFFERS - X509_V_FLAG_TRUSTED_FIRST is always available - get_ciphers is always supported - SSL_CTX_set_keylog_callback is always available - Update Modules/Setup with static link example - Mention PEP in whatsnew - Drop 1.0.2 and 1.1.0 from GHA tests
* bpo-43105: Importlib now resolves relative paths when creating module spec ↵Steve Dower2021-04-071-1/+46
| | | | objects from file locations (GH-25121)
* bpo-43084: Return bool instead of int from curses.window.enclose() (GH-24398)Serhiy Storchaka2021-04-051-8/+3
|
* bpo-31956: Add start and stop parameters to array.index() (GH-25059)Zackery Spytz2021-04-021-4/+41
| | | Co-Authored-By: Anders Lorentsen <Phaqui@gmail.com>
* bpo-40645: use C implementation of HMAC (GH-24920)Christian Heimes2021-03-271-31/+7
| | | | | | - [x] fix tests - [ ] add test scenarios for old/new code. Signed-off-by: Christian Heimes <christian@python.org>
* 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)