summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41513: More accurate hypot() (GH-21916)Raymond Hettinger2020-08-251-37/+111
|
* bpo-41568: Fix refleaks in zoneinfo subclasses (GH-21907)Paul Ganssle2020-08-171-3/+3
| | | | | | | | | | | | | | * Fix refleak in C module __init_subclass__ This was leaking a reference to the weak cache dictionary for every ZoneInfo subclass created. * Fix refleak in ZoneInfo subclass's clear_cache The previous version of the code accidentally cleared the global ZONEINFO_STRONG_CACHE variable (and inducing `ZoneInfo` to create a new strong cache) on calls to a subclass's `clear_cache()`. This would not affect guaranteed behavior, but it's still not the right thing to do (and it caused reference leaks).
* Update the comment of termios.c (#21886)Soumendra Ganguly2020-08-161-1/+1
|
* bpo-41513: Improve speed and accuracy of math.hypot() (GH-21803)Raymond Hettinger2020-08-161-3/+38
|
* bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError ↵Dima Tisnek2020-08-151-4/+5
| | | | | | | when peer closes connection during TLS negotiation (GH-18772) [bpo-31122](): ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation Reproducer: http://tiny.cc/f4ztnz (tiny url because some bot keeps renaming b.p.o.-nnn as bpo links)
* bpo-40878: xlc cannot handle C99 extern inline. (GH-21887)Stefan Krah2020-08-151-1/+1
| | | This applies to the default "extc99" mode. Python does not compile with "stdc99".
* bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965)Paul Ganssle2020-08-141-1/+1
| | | | | | | | Prior to this change, attempting to subclass the C implementation of zoneinfo.ZoneInfo gave the following error: TypeError: unbound method ZoneInfo.__init_subclass__() needs an argument https://bugs.python.org/issue41025
* bpo-1635741: Port _winapi ext to multi-stage init (GH-21371)Mohamed Koubaa2020-08-131-73/+78
|
* Catch all skip_handler cases (GH-21842)Stefan Krah2020-08-121-3/+3
|
* Call randseed() before other imports in deccheck.py (GH-21834)Stefan Krah2020-08-111-8/+8
|
* bpo-1635741: Port multiprocessing ext to multiphase init (GH-21378)Mohamed Koubaa2020-08-111-42/+60
| | | Port the _multiprocessing extension module to multiphase initialization (PEP 489).
* Replace import_fresh_module in decimal test files (GH-21815)Stefan Krah2020-08-103-12/+9
|
* bpo-41324 Add a minimal decimal capsule API (#21519)Stefan Krah2020-08-103-7/+505
|
* bpo-41440: add os.cpu_count() support for VxWorks RTOS (GH-21685)pxinwr2020-08-071-0/+5
|
* bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536)Hans Petter Jansson2020-08-042-223/+221
| | | Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>
* Fix atexitmodule doc (GH-21456)linchiwei1232020-07-261-1/+1
|
* bpo-41369 Update to libmpdec-2.5.1: new features (GH-21593)Stefan Krah2020-07-222-0/+377
|
* bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)Zackery Spytz2020-07-201-1/+7
| | | | Do not call PyObject_CallMethod() with a live exception (like KeyboardInterrupt).
* bpo-41288: Refactor of unpickling NEWOBJ and NEWOBJ_EX opcodes. (GH-21472)Serhiy Storchaka2020-07-181-76/+33
| | | | * Share code for NEWOBJ and NEWOBJ_EX. * More detailed error messages.
* bpo-40941: Unify implicit and explicit state in the frame and generator ↵Mark Shannon2020-07-171-1/+1
| | | | | | | objects into a single value. (GH-20803) * Merge gen and frame state variables into one. * Replace stack pointer with depth in PyFrameObject. Makes code easier to read and saves a word of memory.
* bpo-41195: Add getter for Openssl security level (GH-21282)matthewhughes9342020-07-171-0/+13
| | | | | | | | | | | Add an accessor under SSLContext.security_level as a wrapper around SSL_CTX_get_security_level, see: https://www.openssl.org/docs/manmaster/man3/SSL_CTX_get_security_level.html ------ This is my first time contributing, so please pull me up on all the things I missed or did incorrectly. Automerge-Triggered-By: @tiran
* bpo-40150: Fix mismatched argument in RegisterWaitForSingleObject() call ↵Zackery Spytz2020-07-151-3/+2
| | | | (GH-19686)
* Fix -Wstring-prototypes warnings in _zoneinfo.c. (GH-21478)Benjamin Peterson2020-07-151-2/+2
|
* bpo-41302: Fix build with system libmpdec (GH-21481)Felix Yan2020-07-152-6/+5
| | | | | | | Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one.
* bpo-20183: Convert _locale to the Argument Clinic (GH-14201)Zackery Spytz2020-07-152-117/+760
|
* bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458)Serhiy Storchaka2020-07-131-8/+21
| | | Automerge-Triggered-By: @tiran
* bpo-41146: Convert signal.default_int_handler() to Argument Clinic (GH-21197)Serhiy Storchaka2020-07-122-9/+52
|
* bpo-20175: Convert Modules/_multiprocessing to the Argument Clinic (GH-14245)Zackery Spytz2020-07-125-94/+797
|
* bpo-20181: Convert the readline module to the Argument Clinic (#14326)Zackery Spytz2020-07-122-247/+1022
|
* bpo-36346: Make using the legacy Unicode C API optional (GH-21437)Serhiy Storchaka2020-07-106-44/+199
| | | | 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-102-409/+1364
|
* bpo-39573: Use the Py_TYPE() macro (GH-21433)Victor Stinner2020-07-101-1/+1
| | | Replace obj->ob_type with Py_TYPE(obj).
* bpo-36346: Do not use legacy Unicode C API in ctypes. (#21429)Serhiy Storchaka2020-07-103-29/+21
|
* bpo-41252: Fix incorrect refcounting in _ssl.c's _servername_callback() ↵Zackery Spytz2020-07-091-1/+2
| | | | (GH-21407)
* bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-21401)Tony Solomonik2020-07-081-3/+9
| | | | | | | | | The running loop holder cache variable was always set to NULL when calling set_running_loop. Now set_running_loop saves the newly created running loop holder in the cache variable for faster access in get_running_loop. Automerge-Triggered-By: @1st1
* closes bpo-41235: Fix the error handling in SSLContext.load_dh_params() ↵Zackery Spytz2020-07-081-2/+4
| | | | (GH-21385)
* bpo-29778: test_embed tests the path configuration (GH-21306)Victor Stinner2020-07-071-44/+1
|
* bpo-29778: Ensure python3.dll is loaded from correct locations when Python ↵Steve Dower2020-07-061-1/+44
| | | | | | is embedded (GH-21297) Also enables using debug build of `python3_d.dll` Reference: CVE-2020-15523
* bpo-29727: Register array.array as a MutableSequence (GH-21338)Pablo Galindo2020-07-051-0/+20
|
* bpo-36346: Undeprecate private function _PyUnicode_AsUnicode(). (GH-21336)Serhiy Storchaka2020-07-051-7/+1
|
* Uncomment Py_DEPRECATED for Py_UNICODE APIs (GH-21318)Inada Naoki2020-07-051-4/+4
| | | | | PyUnicode_EncodeDecimal and PyUnicode_TransformDecimalToASCII are deprecated since Python 3.3. But Py_DEPRECATED(3.3) was commented out.
* bpo-1635741: Port faulthandler module to multiphase initialization (GH-21294)Dong-hee Na2020-07-031-35/+31
|
* bpo-1635741: Port sha256 module to multiphase init (PEP 489) (GH-21189)Mohamed Koubaa2020-07-031-28/+30
|
* bpo-39960: Allow heap types in the "Carlo Verre" hack check that override ↵scoder2020-07-031-0/+80
| | | | | "tp_setattro()" (GH-21092) Automerge-Triggered-By: @gvanrossum
* bpo-40967: Remove deprecated asyncio.Task.current_task() and ↵Rémi Lapeyre2020-07-022-170/+1
| | | | asyncio.Task.all_tasks() (GH-20874)
* bpo-41100: fix _decimal for arm64 Mac OS (GH-21228)Lawrence D'Anna2020-06-301-0/+3
| | | Patch by Lawrence Danna.
* bpo-36346: Prepare for removing the legacy Unicode C API (AC only). (GH-21223)Serhiy Storchaka2020-06-302-10/+68
|
* bpo-40874 Update the required libmpdec version for the decimal module (GH-21202)Stefan Krah2020-06-281-2/+2
|
* bpo-31082: Use "iterable" in the docstring for functools.reduce() (GH-20796)Zackery Spytz2020-06-281-7/+7
|
* bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (#21021)Guido van Rossum2020-06-281-1/+3
|