Ticket #2501 defect closed fixed
Make defer.inlineCallbacks raise an exception if it has a non-generator
Description (last modified by thijs) (diff)
If defer.inlineCallbacks is used on an empty function, the function will generate an exception. Test case attached which demonstrates the error. The testcase requires Python 2.5 to run since it depends on defer.inlineCallbacks.
I ran into this while stubbing out test cases for XMPP components.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

