Serhiy Storchaka
39dd141a4b
bpo-44273: Improve syntax error message for assigning to "..." (GH-26477)
Use "ellipsis" instead of "Ellipsis" in syntax error messages to eliminate confusion with built-in variable Ellipsis.
5 years ago
Erlend Egeberg Aasland
fffa0f92ad
bpo-42972: Track sqlite3 statement objects (GH-26475)
Allocate and track statement objects in pysqlite_statement_create.
By allocating and tracking creation of statement object in
pysqlite_statement_create(), the caller does not need to worry about GC
syncronization, and eliminates the possibility of getting a badly
created object. All related fault handling is moved to
pysqlite_statement_create().
Co-authored-by: Victor Stinner <vstinner@python.org>
5 years ago
Serhiy Storchaka
a6a2065881
bpo-44260: Do not read system entropy without need in Random() (GH-26455)
5 years ago
Jason R. Coombs
78d9a9b190
bpo-44246: Remove note about access by index now that a compatibility shim is offered. (GH-26472)
5 years ago
Jason R. Coombs
c34ed08d97
bpo-44246: Restore compatibility in entry_points (GH-26468)
* bpo-44246: Entry points performance improvements.
From importlib_metadata 4.3.1.
* bpo-44246: Sync with importlib_metadata 4.4
5 years ago
Jason R. Coombs
410b70d39d
bpo-44246: Entry points performance improvements. (GH-26467)
From importlib_metadata 4.3.1.
5 years ago
Victor Stinner
142e5c5445
bpo-44263: Fix _decimal and _testcapi GC protocol (GH-26464)
* _testcapi.heapgctype: implement a traverse function since the type
is defined with Py_TPFLAGS_HAVE_GC.
* _decimal: PyDecSignalDictMixin_Type is no longer defined with
Py_TPFLAGS_HAVE_GC since it has no traverse function.
5 years ago
Erlend Egeberg Aasland
d1124b09e8
bpo-42972: Fix sqlite3 traverse/clear functions (GH-26452)
5 years ago
Hai Shi
4b20f2574d
bpo-42972: Fully implement GC protocol for xxlimited (GH-26451)
5 years ago
Jules Lasne
8ab5b7eeca
Fixing typos in turtle.rst (GH-24385)
* Fixing typos in turtle.rst
* Update turtle.rst
* Update turtle.rst
* Update turtle.rst
* Update turtle.rst
5 years ago
Dong-hee Na
14ba761078
bpo-44235: Remove deprecated functions in the gettext module. (GH-26378)
5 years ago
Sergey B Kirpichev
5ffa58cb97
Trivial change in fractions module docs: real -> rational numbers (GH-25009)
Obviously, the former was a little misleading: not only rationals
may be considered as "infinite-precision, real numbers" - but, for
example, any real finite extension of the rationals.
5 years ago
Zackery Spytz
5f28752f5b
bpo-43750: Fix incorrect reference to PACKET_MULTIHOST in the docs (GH-25241)
It should be PACKET_MULTICAST, not PACKET_MULTIHOST.
5 years ago
Martmists
0b11c429c7
bpo-42085: [docs] Add versionadded for am_send in type object documentation (GH-25465)
5 years ago
Terry Jan Reedy
af5a324843
bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons (GH-26448)
On macOS, tk defers to system setting for button background when in normal state.
Give turtledemo button text a color that works on either light or dark background.
5 years ago
Pablo Galindo
43cf7c864a
bpo-44263: Mention PyType_Ready in the gc protocol warning (GH-26445)
5 years ago
Pablo Galindo
8b55bc3f93
bpo-44263: Better explain the GC contract for PyType_FromSpecWithBases (GH-26442)
5 years ago
Andreas Jansson
de14d709e3
Remove duplicate mime type mapping .bmp -> image/x-ms-bmp (GH-26300)
Thanks for the contribution @andreasjansson
5 years ago
Mark Shannon
21dd43c01d
Fix MSVC compiler warnings in dictobject.c (GH-26432)
5 years ago
Pablo Galindo
8b4312b909
bpo-44252: Correctly implement gc support for SSLError objects (GH-26439)
5 years ago
Pablo Galindo
1a672a5908
bpo-44206: Fix compiler warnings in dictobject.c (GH-26440)
5 years ago
Sean Grady
7e6f237569
Fix dataclass comment typo _eq__ -> __eq__ (GH-26433)
5 years ago
Jürgen Gmach
2138b2edaf
bpo-44045: fix spelling of uppercase vs upper-case (GH-25985)
And also of lowercase vs lower-case.
The `-` notation should only be used for adjectives.
5 years ago
Ayush Parikh
acac6c71ff
bpo-44249: Fix 3 README.rst typos (GH-26385)
5 years ago
Ken Jin
490b638e63
bpo-42972: Fix GC assertion error in _winapi by untracking Overlapped earlier (GH(26429)
5 years ago
Ken Jin
0fa282c55f
bpo-42972: Fully support GC for _winapi.Overlapped (GH-26381)
5 years ago
Erlend Egeberg Aasland
3f8d332527
bpo-42972: Fully implement GC protocol for functools LRU cache (GH-26423)
5 years ago
Mark Shannon
f8a95df84b
bpo-44206: Add a version number to dictionary keys (GH-26333)
* Store log2(size) instead of size in dict-keys.
* Use enum instead of function pointer to record kind of keys.
* Add version number to dict keys.
5 years ago
Erlend Egeberg Aasland
8994e9c2cd
bpo-42972: Fully implement GC protocol for functools keywrapper and partial types (GH-26363)
5 years ago
Tal Einat
4e2e5c1c4f
bpo-41611: IDLE: Catch TclError exceptions in AutoCompleteWindow.winconfig_event() (GH-26404)
Since the <Configure> event may occur after the
completion window is gone, catch potential
TclError exceptions when accessing acw.
5 years ago
Inada Naoki
28be3191a9
bpo-44256: Do not expose _functools._list_elem_type (GH-26416)
It is internal use only type.
5 years ago
Jason R. Coombs
28f12c9f4f
bpo-44246: Update What's New for importlib.metadata. ( #26408 )
* bpo-44246: Update What's New for importlib.metadata.
Bump version of importlib_metadata included.
Add note about compatibility notice and fix link to entry_points documentation.
Add note about removal of access by index on Distribution.entry_points.
* Fix syntax mistake in issue reference.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* Fix broken reference in entry-points.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
5 years ago
Erlend Egeberg Aasland
e90e042218
bpo-43916: Use test.support.check_disallow_instantiation() in test_tcl (GH-26412)
5 years ago
Erlend Egeberg Aasland
f4b70c22c8
bpo-42972: Fully support GC protocol for _operator heap types (GH-26371)
5 years ago
Erlend Egeberg Aasland
fba42d1188
bpo-42972: Fully implement GC protocol for re types (GH-26368)
5 years ago
Jakub Kulík
164a4f46d1
bpo-43667: Add news fragment for Solaris changes (GH-26405)
5 years ago
Eric Snow
9f494d4929
bpo-43693: Add _PyCode_New(). (gh-26375)
This is an internal-only API that helps us manage the many values used to create a code object.
https://bugs.python.org/issue43693
5 years ago
Erlend Egeberg Aasland
318adeba78
bpo-42972: Fully support GC for mmap heap types (GH-26373)
5 years ago
Erlend Egeberg Aasland
4d7f8f9f7f
bpo-42972: Fully support GC protocol for _queue.SimpleQueue (GH-26372)
5 years ago
Tal Einat
abc4bd5db9
bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400)
5 years ago
Erlend Egeberg Aasland
8cec740820
bpo-43988: Document test.support.check_disallow_instantiation() (GH-26394)
5 years ago
Erlend Egeberg Aasland
dcb8786a98
bpo-42972: Fully implement GC protocol for ssl heap types (GH-26370)
5 years ago
Erlend Egeberg Aasland
6ef5ba391d
bpo-42972: Fully support GC for hashlib heap types (GH-26374)
5 years ago
Erlend Egeberg Aasland
59af59c2df
bpo-42972: Fully support GC for pyexpat, unicodedata, and dbm/gdbm heap types (GH-26376)
* bpo-42972: pyexpat
* bpo-42972: unicodedata
* bpo-42972: dbm/gdbm
5 years ago
Erlend Egeberg Aasland
fbff5387c3
bpo-43988: Use check disallow instantiation helper (GH-26392)
5 years ago
Victor Stinner
3e7ee02327
bpo-42161: mathmodule.c: move _PyLong_GetOne() loop invariant (GH-26391)
Move _PyLong_GetZero() and _PyLong_GetOne() loop invariants outside
loops in functions:
* math.comb()
* math.gcd()
* math.lcm()
* math.perm()
5 years ago
Ken Jin
d8fd8c8568
bpo-42392: [docs] Add deprecated-removed loop labels for asyncio (GH-26357)
* Add deprecated-removed loop labels for all reelvant functions/classes in asyncio
5 years ago
Jason R. Coombs
f6fbdb90ee
bpo-38693: Prefer f-strings in importlib.resources (importlib_resources 5.0.6). (GH-26387)
Automerge-Triggered-By: GH:jaraco
5 years ago
Eric Snow
6cc800d363
bpo-43693: Clean up the PyCodeObject fields. (GH-26364)
* Move up the comment about fields using in hashing/comparision.
* Group the fields more clearly.
* Add co_ncellvars and co_nfreevars.
* Raise ValueError if nlocals != len(varnames), rather than aborting.
5 years ago
Jason R. Coombs
e6c815d2e3
bpo-38693: importlib.metadata f-strings (GH-26383)
Automerge-Triggered-By: GH:jaraco
5 years ago