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 pitrou
Recipients eric.araujo, hniksic, michael.foord, ncoghlan, pitrou, vstinner
Date 2010-10-08.11:33:54
SpamBayes Score 0.042990383
Marked as misclassified No
Message-id <1286537635.6.0.984753894735.issue10049@psf.upfronthosting.co.za>
In-reply-to
Content
@contextlib.contextmanager
def null():
    yield

Do we really need to add this to the stdlib?
Previous proposals to add an "identity function" or "no-op function" have always be refused. This one seems even less useful.
History
Date User Action Args
2010-10-08 11:33:55pitrousetrecipients: + pitrou, ncoghlan, vstinner, hniksic, eric.araujo, michael.foord
2010-10-08 11:33:55pitrousetmessageid: <1286537635.6.0.984753894735.issue10049@psf.upfronthosting.co.za>
2010-10-08 11:33:54pitroulinkissue10049 messages
2010-10-08 11:33:54pitroucreate