summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351)Erlend Egeberg Aasland2021-06-1722-38/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make functools types immutable * Multibyte codec types are now immutable * pyexpat.xmlparser is now immutable * array.arrayiterator is now immutable * _thread types are now immutable * _csv types are now immutable * _queue.SimpleQueue is now immutable * mmap.mmap is now immutable * unicodedata.UCD is now immutable * sqlite3 types are now immutable * _lsprof.Profiler is now immutable * _overlapped.Overlapped is now immutable * _operator types are now immutable * winapi__overlapped.Overlapped is now immutable * _lzma types are now immutable * _bz2 types are now immutable * _dbm.dbm and _gdbm.gdbm are now immutable
* bpo-44389: Fix typo in ssl deprecation warning message (GH-26754)Joe2021-06-172-2/+2
| | | `ssl.SSL_NO_TLS` should be `ssl.OP_NO_TLS`.
* bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it ↵Mark Dickinson2021-06-161-2/+2
| | | | to 'num'. (GH-26744)
* bpo-44392: Add Py_GenericAlias to C API docs (GH-26724)Ken Jin2021-06-166-3/+53
| | | | Also fix stable ABI type definitions
* bpo-38211: Clean up type_init() (GH-16257)Sergey Fedoseev2021-06-161-19/+4
| | | | | 1. Remove conditions already checked by assert() 2. Remove object_init() call that effectively creates an empty tuple and checks that this tuple is empty
* bpo-44422: threading.Thread reuses the _delete() method (GH-26741)Victor Stinner2021-06-161-7/+1
| | | | | | | The _bootstrap_inner() method of threading.Thread now reuses its _delete() method rather than accessing _active() directly. It became possible since _active_limbo_lock became reentrant. Moreover, it no longer ignores any exception when deleting the thread from the _active dictionary.
* bpo-43795: Don't list private names in the limited API (GH-26740)Petr Viktorin2021-06-164-5/+17
| | | | | | | | | | | | | * Remove struct _node from the stable ABI list This struct was removed along with the old parser in Python 3.9 (PEP 617) * Stable ABI list: Use the public name "PyFrameObject" rather than "_frame" * Ensure limited API doesn't contain private names Names prefixed by an underscore are private by definition. * Add a blurb
* bpo-44342: [Enum] sync current docs to 3.10 (GH-26750)Ethan Furman2021-06-163-4/+4
|
* bpo-43693: Eliminate unused "fast locals". (gh-26587)Eric Snow2021-06-1512-4212/+4187
| | | | | Currently, if an arg value escapes (into the closure for an inner function) we end up allocating two indices in the fast locals even though only one gets used. Additionally, using the lower index would be better in some cases, such as with no-arg `super()`. To address this, we update the compiler to fix the offsets so each variable only gets one "fast local". As a consequence, now some cell offsets are interspersed with the locals (only when an arg escapes to an inner function). https://bugs.python.org/issue43693
* bpo-43475: Add what's new entry for NaN hash changes (GH-26725)Mark Dickinson2021-06-151-0/+7
|
* [Enum] improve test, add andrei kulakov to ACKS (GH-26726)Ethan Furman2021-06-152-0/+24
|
* bpo-44422: Fix threading.enumerate() reentrant call (GH-26727)Victor Stinner2021-06-152-3/+9
| | | | The threading.enumerate() function now uses a reentrant lock to prevent a hang on reentrant call.
* bpo-42972: _thread.RLock implements the GH protocol (GH-26734)Victor Stinner2021-06-152-1/+12
| | | | The _thread.RLock type now fully implement the GC protocol: add a traverse function and the Py_TPFLAGS_HAVE_GC flag.
* bpo-42064: Move sqlite3 types to global state (GH-26537)Erlend Egeberg Aasland2021-06-1512-70/+103
| | | | | | | | | * Move connection type to global state * Move cursor type to global state * Move prepare protocol type to global state * Move row type to global state * Move statement type to global state * ADD_TYPE takes a pointer * pysqlite_get_state is now static inline
* Add extra stats for attribute misses (GH-26732)Mark Shannon2021-06-152-2/+90
|
* Fix a typo in _make_class_unpicklable() docstring (GH-26729)andrei kulakov2021-06-151-1/+1
|
* bpo-44409: Fix error location in tokenizer errors that happen during ↵Pablo Galindo2021-06-143-0/+4
| | | | initialization (GH-26712)
* Fix typo in lnotab_notes.txt (GH-26711)Gabriele N. Tornetta2021-06-141-1/+1
| | | Thanks for your contribution @P403n1x87
* bpo-38291: Remove mention of typing.io and typing.re again (GH-26113)Sebastian Rittau2021-06-142-2/+12
| | | | | They were originally removed in GH-10173 per bpo-35089, but then readded in GH-21574. Cf. bpo-38291 for decision to remove.
* Remove accidentally duplicated STAT_INC (GH-26718)Mark Shannon2021-06-141-1/+0
|
* bpo-44338: Port LOAD_GLOBAL to PEP 659 adaptive interpreter (GH-26638)Mark Shannon2021-06-149-337/+209
| | | | | | | | | | * Add specializations of LOAD_GLOBAL. * Add more stats. * Remove old opcache; it is no longer used. * Add NEWS
* bpo-44310: Note that lru_cache keep references to both arguments and ↵Raymond Hettinger2021-06-141-6/+9
| | | | | | | | results (GH-26715) * Simplify the count_vowels example * Hits and misses are fetched while a lock is held * Add note that references are kept for arguments and return values * Clarify behavior when *typed* is false.
* bpo-44389: Fix deprecation of OP_NO_TLSv1_3 (GH-26700)Christian Heimes2021-06-133-9/+58
| | | Signed-off-by: Christian Heimes <christian@python.org>
* Fix a potential reference-counting bug in long_pow (GH-26690)Mark Dickinson2021-06-131-0/+1
|
* Fix typos in multiple files (GH-26689)Binbin2021-06-1324-1023/+1023
| | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-43425: Update test_c_parser not to use TempdirManager (GH-26693)Dong-hee Na2021-06-121-5/+8
|
* bpo-44389: Remove duplicate SSL_OP_NO_TLSv1_2 flag (GH-26680)Erlend Egeberg Aasland2021-06-121-1/+1
|
* bpo-44396: Update multi-line-start location when reallocating tokenizer ↵Pablo Galindo2021-06-123-0/+14
| | | | | buffers (GH-26676) Automerge-Triggered-By: GH:pablogsal
* bpo-44376 - reduce pow() overhead for small exponents (GH-26662)Tim Peters2021-06-122-5/+46
| | | | Greatly reduce pow() overhead for small exponents.
* Add more const modifiers. (GH-26691)Serhiy Storchaka2021-06-129-27/+27
|
* bpo-43475: Fix the Python implementation of hash of Decimal NaN (GH-26679)Serhiy Storchaka2021-06-124-10/+36
|
* bpo-44339: Fix math.pow corner case to comply with IEEE 754 (GH-26606)Mark Dickinson2021-06-126-11/+21
| | | Change the behaviour of `math.pow(0.0, -math.inf)` and `math.pow(-0.0, -math.inf)` to return positive infinity instead of raising `ValueError`. This makes `math.pow` consistent with the built-in `pow` (and the `**` operator) for this particular special case, and brings the `math.pow` special-case handling into compliance with IEEE 754.
* bpo-40128: Fix IDLE autocomplete on macOS (GH-26672)Kaustubh J2021-06-112-0/+4
| | | | | In particular, when running with tk8.6.8, as in PSF 3.9. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-44381: Windows build now allows enabling control flow guard (GH-26645)Steve Dower2021-06-112-2/+4
|
* bpo-43318: Fix a bug where pdb does not always echo cleared breakpoints ↵huzhaojie2021-06-113-1/+31
| | | | (GH-24646)
* bpo-44351: Restore back parse_makefile in distutils.sysconfig (GH-26637)Lumír 'Frenzy' Balhar2021-06-112-4/+109
| | | | The function uses distutils.text_file.TextFile and therefore behaves differently than _parse_makefile in sysconfig.
* bpo-44242: [Enum] improve error messages (GH-26669)Ethan Furman2021-06-112-19/+30
|
* bpo-44378: Fix a compiler warning in Py_IS_TYPE() (GH-26644)Victor Stinner2021-06-112-1/+6
| | | | Py_IS_TYPE() no longer uses Py_TYPE() to avoid a compiler warning: no longer cast "const PyObject*" to "PyObject*".
* bpo-44342: [Enum] fix data type search (GH-26667)Ethan Furman2021-06-112-1/+9
| | | | | | | In an inheritance chain of int -> my_int -> final_int the data type is now final_int (not my_int)
* bpo-44362: ssl: improve deprecation warnings and docs (GH-26646)Christian Heimes2021-06-116-47/+98
| | | Signed-off-by: Christian Heimes <christian@python.org>
* Doc: Prettier exception hierarchy. (GH-26533)Julien Palard2021-06-113-65/+66
|
* bpo-44342: [Enum] changed pickling from by-value to by-name (GH-26658)Ethan Furman2021-06-103-25/+9
| | | | | | | by-value lookups could fail on complex enums, necessitating a check for __reduce__ and possibly sabotaging the final enum; by-name lookups should never fail, and sabotaging is no longer necessary for class-based enum creation.
* bpo-44368: Improve syntax errors with invalid as pattern targets (GH-26632)Pablo Galindo2021-06-104-213/+332
|
* bpo-44385: Remove unused grammar rules (GH-26655)Lysandros Nikolaou2021-06-102-1267/+791
| | | Automerge-Triggered-By: GH:lysnikolaou
* bpo-37022: Fix bug where pdb's do_p/do_pp commands swallow exceptions from ↵Daniel Hahler2021-06-103-14/+48
| | | | repr (GH-18180)
* bpo-44356: [Enum] allow multiple data-type mixins if they are all the same ↵Ethan Furman2021-06-103-4/+52
| | | | | | | | | | | | | | (GH-26649) This enables, for example, two base Enums to both inherit from `str`, and then both be mixed into the same final Enum: class Str1Enum(str, Enum): # some behavior here class Str2Enum(str, Enum): # some more behavior here class FinalStrEnum(Str1Enum, Str2Enum): # this now works
* bpo-33962: Use ttk spinbox for IDLE indent space config (GH-22954)Mark Roseman2021-06-103-118/+73
| | | | | If ttk.Spinbox is not available (Tk < 8.5.9) use readonly ttk.Combobox. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Run address sanitiser in the GitHub CI (GH-26640)Pablo Galindo2021-06-101-0/+43
|
* bpo-44357:Add `math.cbrt()` function: Cube Root (GH-26622)Ajith Ramachandran2021-06-106-0/+36
| | | | | | * Add math.cbrt() function: Cube Root Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-44364:Add non integral tests for `sqrt()` (#26625)Ajith Ramachandran2021-06-102-0/+5
| | | | | * Add non integral tests for `sqrt()` Co-authored-by: Mark Dickinson <dickinsm@gmail.com>