Dong-hee Na
14ba761078
bpo-44235: Remove deprecated functions in the gettext module. (GH-26378)
2021-05-30 10:29:45 +09:00
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.
2021-05-29 19:49:31 -03:00
Zackery Spytz
5f28752f5b
bpo-43750: Fix incorrect reference to PACKET_MULTIHOST in the docs (GH-25241)
...
It should be PACKET_MULTICAST, not PACKET_MULTIHOST.
2021-05-29 19:46:01 -03:00
Martmists
0b11c429c7
bpo-42085: [docs] Add versionadded for am_send in type object documentation (GH-25465)
2021-05-29 21:30:27 +01:00
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.
2021-05-29 03:19:50 -04:00
Pablo Galindo
43cf7c864a
bpo-44263: Mention PyType_Ready in the gc protocol warning (GH-26445)
2021-05-29 04:32:42 +01:00
Pablo Galindo
8b55bc3f93
bpo-44263: Better explain the GC contract for PyType_FromSpecWithBases (GH-26442)
2021-05-29 03:57:39 +01:00
Andreas Jansson
de14d709e3
Remove duplicate mime type mapping .bmp -> image/x-ms-bmp (GH-26300)
...
Thanks for the contribution @andreasjansson
2021-05-28 22:20:46 -03:00
Mark Shannon
21dd43c01d
Fix MSVC compiler warnings in dictobject.c (GH-26432)
2021-05-29 01:40:12 +01:00
Pablo Galindo
8b4312b909
bpo-44252: Correctly implement gc support for SSLError objects (GH-26439)
2021-05-29 00:29:52 +01:00
Pablo Galindo
1a672a5908
bpo-44206: Fix compiler warnings in dictobject.c (GH-26440)
2021-05-29 00:14:33 +01:00
Sean Grady
7e6f237569
Fix dataclass comment typo _eq__ -> __eq__ (GH-26433)
2021-05-28 16:57:18 -04:00
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.
2021-05-28 17:54:25 -03:00
Ayush Parikh
acac6c71ff
bpo-44249: Fix 3 README.rst typos (GH-26385)
2021-05-28 15:52:00 -04:00
Ken Jin
490b638e63
bpo-42972: Fix GC assertion error in _winapi by untracking Overlapped earlier (GH(26429)
2021-05-28 18:29:19 +02:00
Ken Jin
0fa282c55f
bpo-42972: Fully support GC for _winapi.Overlapped (GH-26381)
2021-05-28 11:06:46 +02:00
Erlend Egeberg Aasland
3f8d332527
bpo-42972: Fully implement GC protocol for functools LRU cache (GH-26423)
2021-05-28 11:02:42 +02:00
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.
2021-05-28 09:54:10 +01:00
Erlend Egeberg Aasland
8994e9c2cd
bpo-42972: Fully implement GC protocol for functools keywrapper and partial types (GH-26363)
2021-05-28 10:41:16 +02:00
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.
2021-05-28 09:07:21 +03:00
Inada Naoki
28be3191a9
bpo-44256: Do not expose _functools._list_elem_type (GH-26416)
...
It is internal use only type.
2021-05-28 14:09:32 +09:00
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>
2021-05-27 19:36:06 -04:00
Erlend Egeberg Aasland
e90e042218
bpo-43916: Use test.support.check_disallow_instantiation() in test_tcl (GH-26412)
2021-05-27 23:00:26 +02:00
Erlend Egeberg Aasland
f4b70c22c8
bpo-42972: Fully support GC protocol for _operator heap types (GH-26371)
2021-05-27 22:59:07 +02:00
Erlend Egeberg Aasland
fba42d1188
bpo-42972: Fully implement GC protocol for re types (GH-26368)
2021-05-27 19:23:07 +02:00
Jakub Kulík
164a4f46d1
bpo-43667: Add news fragment for Solaris changes (GH-26405)
2021-05-27 19:08:16 +02:00
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
2021-05-27 09:54:34 -06:00
Erlend Egeberg Aasland
318adeba78
bpo-42972: Fully support GC for mmap heap types (GH-26373)
2021-05-27 17:53:59 +02:00
Erlend Egeberg Aasland
4d7f8f9f7f
bpo-42972: Fully support GC protocol for _queue.SimpleQueue (GH-26372)
2021-05-27 17:50:12 +02:00
Tal Einat
abc4bd5db9
bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400)
2021-05-27 17:29:55 +03:00
Erlend Egeberg Aasland
8cec740820
bpo-43988: Document test.support.check_disallow_instantiation() (GH-26394)
2021-05-27 12:55:38 +02:00
Erlend Egeberg Aasland
dcb8786a98
bpo-42972: Fully implement GC protocol for ssl heap types (GH-26370)
2021-05-27 09:50:09 +02:00
Erlend Egeberg Aasland
6ef5ba391d
bpo-42972: Fully support GC for hashlib heap types (GH-26374)
2021-05-27 09:48:19 +02:00
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
2021-05-27 17:29:00 +10:00
Erlend Egeberg Aasland
fbff5387c3
bpo-43988: Use check disallow instantiation helper (GH-26392)
2021-05-27 08:43:52 +02:00
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()
2021-05-27 00:51:07 +02:00
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
2021-05-26 14:59:34 -07:00
Jason R. Coombs
f6fbdb90ee
bpo-38693: Prefer f-strings in importlib.resources (importlib_resources 5.0.6). (GH-26387)
...
Automerge-Triggered-By: GH:jaraco
2021-05-26 13:16:11 -07:00
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.
2021-05-26 20:15:40 +01:00
Jason R. Coombs
e6c815d2e3
bpo-38693: importlib.metadata f-strings (GH-26383)
...
Automerge-Triggered-By: GH:jaraco
2021-05-26 11:49:06 -07:00
Jason R. Coombs
06ac3a4742
bpo-44241: Incorporate changes from importlib_metadata 4.1. ( #26382 )
2021-05-26 13:40:05 -04:00
Gabriele N. Tornetta
90a6c07cb2
bpo-43879: Add native_thread_id field to PyThreadState (GH-25458)
2021-05-26 16:40:14 +02:00
Erlend Egeberg Aasland
4f725261c6
bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757)
2021-05-26 16:15:27 +02:00
Peter Law
46db39d7bd
bpo-41147: [doc] contextlib.redirect_stdout() provides the new stream as context var (GH-21199)
2021-05-26 15:13:09 +01:00
Yonatan Goldschmidt
156699bca0
bpo-44222: Improve _removeHandlerRef() for a very long _handlerList (GH-26325)
...
The list lookups become a big burden for very long lists.
This patch changes the "happy flow" path of 2 lookups into 1 lookup.
Automerge-Triggered-By: GH:vsajip
2021-05-25 15:40:23 -07:00
Jero Bado
add805f921
Correct minor spelling typos (GH-26339)
...
surroundeded to surrounded
extensins to extensions
2021-05-25 18:01:30 -03:00
Mariusz Felisiak
2a4cb007a7
Fix typo in NEWS. (GH-26346)
2021-05-25 17:58:49 -03:00
Mark
ee3d78ef73
Point to recent link to PyFLTK (GH-26315)
2021-05-25 17:37:28 -03:00
Victor Stinner
bd199e72fb
bpo-44232: Fix type_new() error reporting (GH-26359)
...
Fix a regression in type() when a metaclass raises an exception. The
C function type_new() must properly report the exception when a
metaclass constructor raises an exception and the winner class is not
the metaclass.
2021-05-25 22:28:10 +02:00
Erlend Egeberg Aasland
bd404ccac0
bpo-42972: Fully implement GC protocol for arraymodule types (GH-26114)
2021-05-25 19:26:44 +01:00