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 cjw296, gvanrossum, levkivskyi
Date 2020-09-27.22:00:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
I've only seen it in test cases too -- that's one of the very few
situations where it makes sense to define a class inside a function.
(Creating a class is an expensive operation, so any function that expects
to be called more than once is better off moving the class out of the
Date User Action Args
2020-09-27 22:00:19gvanrossumsetrecipients: + gvanrossum, cjw296, levkivskyi
2020-09-27 22:00:19gvanrossumlinkissue41872 messages
2020-09-27 22:00:19gvanrossumcreate