cpython/Misc/NEWS.d
Robert Collins 422c4fc855
gh-119600: mock: do not access attributes of original when new_callable is set (#119601)
In order to patch flask.g e.g. as in #84982, that
proxies getattr must not be invoked. For that,
mock must not try to read from the original
object. In some cases that is unavoidable, e.g.
when doing autospec. However, patch("flask.g",
new_callable=MagicMock) should be entirely safe.
2024-06-11 06:41:12 +01:00
..
next gh-119600: mock: do not access attributes of original when new_callable is set (#119601) 2024-06-11 06:41:12 +01:00
3.5.0.rst
3.5.0a1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.5.0a2.rst
3.5.0a3.rst
3.5.0a4.rst
3.5.0b1.rst
3.5.0b2.rst
3.5.0b3.rst
3.5.0b4.rst
3.5.0rc1.rst
3.5.0rc2.rst
3.5.0rc3.rst
3.5.0rc4.rst
3.5.1.rst
3.5.1rc1.rst
3.5.2.rst
3.5.2rc1.rst
3.5.3.rst
3.5.3rc1.rst
3.5.4.rst
3.5.4rc1.rst
3.5.5.rst
3.5.5rc1.rst
3.6.0.rst
3.6.0a1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.6.0a2.rst
3.6.0a3.rst
3.6.0a4.rst
3.6.0b1.rst
3.6.0b2.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.6.0b3.rst
3.6.0b4.rst
3.6.0rc1.rst
3.6.0rc2.rst
3.6.1.rst
3.6.1rc1.rst
3.6.2.rst
3.6.2rc1.rst
3.6.2rc2.rst
3.6.3.rst
3.6.3rc1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.6.4.rst
3.6.4rc1.rst
3.6.5.rst
3.6.5rc1.rst
3.6.6.rst
3.6.6rc1.rst
3.7.0.rst
3.7.0a1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.7.0a2.rst
3.7.0a3.rst
3.7.0a4.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.7.0b1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.7.0b2.rst
3.7.0b3.rst
3.7.0b4.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.7.0b5.rst
3.7.0rc1.rst
3.8.0a1.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.8.0a2.rst
3.8.0a3.rst
3.8.0a4.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.8.0b1.rst
3.9.0a1.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.9.0a2.rst
3.9.0a3.rst
3.9.0a4.rst
3.9.0a5.rst
3.9.0a6.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.9.0b1.rst
3.10.0a1.rst
3.10.0a2.rst
3.10.0a3.rst
3.10.0a4.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.10.0a5.rst
3.10.0a6.rst
3.10.0a7.rst
3.10.0b1.rst
3.11.0a1.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0a2.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0a3.rst
3.11.0a4.rst
3.11.0a5.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0a6.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0a7.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0b1.rst Format None, True, False and NotImplemented as literals (GH-118758) 2024-05-08 22:35:16 +03:00
3.12.0a1.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a2.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a3.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a4.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a5.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a6.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a7.rst
3.12.0b1.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.13.0a1.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a2.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a3.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a4.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a5.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a6.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0b1.rst gh-102511: Amend 3.13.0b1.rst (GH-119895) 2024-06-03 14:27:44 +01:00