Files
cpython/Doc/library
Serhiy Storchaka ca32ebf793 gh-80384: Check that callback is callable at weak reference creation (GH-151145)
* Python functions weakref.ref() and weakref.proxy() now raise TypeError
  if the callback argument is not callable or None.
* C functions PyWeakref_NewRef() and PyWeakref_NewProxy() now raise TypeError
  if the callback argument is not callable, None, or NULL.

Co-authored-by: Maxwell Bernstein <emacs@fb.com>
2026-06-10 13:34:55 +03:00
..
2026-05-07 16:26:31 +03:00
2025-02-11 19:16:29 +02:00
2025-01-14 13:52:58 +02:00
2025-05-06 18:33:52 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-03-10 14:31:15 +02:00
2026-03-10 14:31:15 +02:00
2026-01-14 16:41:32 +02:00
2026-02-11 14:23:15 +02:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-02-11 14:23:15 +02:00
2026-04-07 14:24:03 +03:00
2026-05-07 16:26:31 +03:00
2026-04-07 14:24:03 +03:00
2026-05-07 16:26:31 +03:00