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 gvanrossum
Recipients gvanrossum, mathieui, vstinner, yselivanov
Date 2015-02-26.17:52:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424973153.21.0.261179141944.issue23519@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, your "add event handler" routine shouldn't be so picky to insist that iscoroutinefunction() returns True. It should just call the thing and verify that it has returned a coroutine object (asyncio.iscoroutine()).
History
Date User Action Args
2015-02-26 17:52:33gvanrossumsetrecipients: + gvanrossum, vstinner, mathieui, yselivanov
2015-02-26 17:52:33gvanrossumsetmessageid: <1424973153.21.0.261179141944.issue23519@psf.upfronthosting.co.za>
2015-02-26 17:52:33gvanrossumlinkissue23519 messages
2015-02-26 17:52:33gvanrossumcreate