[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 02859df10591789c72eb185a4f7dd9cc1ea8dcbb by Miss Islington (bot) in branch '3.9': bpo-38062: [doc] clarify that atexit uses equality comparisons internally. (GH-26935) (GH-26957)

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 08aa26e4355da6f916da0c97d00774800ee0fc46 by Miss Islington (bot) in branch '3.10': bpo-38062: [doc] clarify that atexit uses equality comparisons internally. (GH-26935) (GH-26956)

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +25523 pull_request: https://github.com/python/cpython/pull/26957 ___ Python tracker ___

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +25522 pull_request: https://github.com/python/cpython/pull/26956 ___ Python tracker

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 12803c59d54ff1a45a5b08cef82652ef199b3b07 by Jack DeVries in branch 'main': bpo-38062: [doc] clarify that atexit uses equality comparisons internally. (GH-26935) https://github.com/python/cpython/commit/12803c59d54ff1a45a5b08cef82652ef199b3b07

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-28 Thread Jack DeVries
Change by Jack DeVries : -- keywords: +patch nosy: +jack__d nosy_count: 2.0 -> 3.0 pull_requests: +25504 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26935 ___ Python tracker

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-27 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker ___

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2019-09-09 Thread Mark Dickinson
Change by Mark Dickinson : -- assignee: -> docs@python components: +Documentation nosy: +docs@python versions: +Python 3.7, Python 3.8 ___ Python tracker ___

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2019-09-09 Thread Mark Dickinson
New submission from Mark Dickinson : Suppose I have a class that looks like this: class A: def cleanup(self): print("Doing essential cleanup") and on an instance `a = A()`, I do: `atexit.register(a.cleanup)`. Then it's not obvious from the documentation that an