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 r.david.murray
Recipients avdd, bquinlan, r.david.murray
Date 2011-01-17.16:51:46
SpamBayes Score 1.2641909e-09
Marked as misclassified No
Message-id <1295283110.09.0.39264371832.issue10918@psf.upfronthosting.co.za>
In-reply-to
Content
Adrian's suggestions don't look to me like they fiddle with the API, but rather make the behavior match the documented API.  The existing behavior is, IMO, a very surprising corner case, especially to a less experienced Python programmer.  I do note that assertRaises in unittest has the same issue.  However, I think people are quite a bit more likely to run in to the issue with submit, since 'fn' is going to occur as a keyword argument with considerably higher frequency than 'excClass' or 'callableObj'.
History
Date User Action Args
2011-01-17 16:51:50r.david.murraysetrecipients: + r.david.murray, bquinlan, avdd
2011-01-17 16:51:50r.david.murraysetmessageid: <1295283110.09.0.39264371832.issue10918@psf.upfronthosting.co.za>
2011-01-17 16:51:46r.david.murraylinkissue10918 messages
2011-01-17 16:51:46r.david.murraycreate