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 vstinner
Recipients gvanrossum, mathieui, vstinner, yselivanov
Date 2015-02-25.11:05:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424862318.41.0.010946728308.issue23519@psf.upfronthosting.co.za>
In-reply-to
Content
Take a look at asyncio.events._get_function_source() which supports wrapped functions and functools.partial.

Can you propose a patch?

If iscoroutinefunction() becomes "expensive", we might make checks optional, only run them in debug mode.
History
Date User Action Args
2015-02-25 11:05:18vstinnersetrecipients: + vstinner, gvanrossum, mathieui, yselivanov
2015-02-25 11:05:18vstinnersetmessageid: <1424862318.41.0.010946728308.issue23519@psf.upfronthosting.co.za>
2015-02-25 11:05:18vstinnerlinkissue23519 messages
2015-02-25 11:05:18vstinnercreate