This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients docs@python, lukasz.langa, mdk, methane, vstinner
Date 2019-04-11.08:09:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554970145.46.0.958101520742.issue36597@roundup.psfhosted.org>
In-reply-to
Content
https://github.com/python/cpython/blob/master/Doc/library/weakref.rst#finalizer-objects

    >>> obj = Object()
    >>> weakref.finalize(obj, print, "obj dead or exiting")  #doctest:+ELLIPSIS
    <finalize object at ...; for 'Object' at ...>
    >>> exit()                                               #doctest:+SKIP
    obj dead or exiting

Note that "#doctest:+SKIP".  print("obj dead or exiting") is called after weakref test.
This may caused random doctest fail.
History
Date User Action Args
2019-04-11 08:09:05methanesetrecipients: + methane, vstinner, docs@python, lukasz.langa, mdk
2019-04-11 08:09:05methanesetmessageid: <1554970145.46.0.958101520742.issue36597@roundup.psfhosted.org>
2019-04-11 08:09:05methanelinkissue36597 messages
2019-04-11 08:09:05methanecreate