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 serhiy.storchaka
Recipients fish2000, levkivskyi, serhiy.storchaka
Date 2018-10-12.20:20:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There are disadvantages of using a callable class. First, creating a class is 10-100 times slower than creating a function. Second, calling it is slower than calling a function.

sys._getframe() is already used in the typing module (and also in collections and enum).
Date User Action Args
2018-10-12 20:20:08serhiy.storchakasetrecipients: + serhiy.storchaka, levkivskyi, fish2000
2018-10-12 20:20:08serhiy.storchakasetmessageid: <>
2018-10-12 20:20:08serhiy.storchakalinkissue34963 messages
2018-10-12 20:20:08serhiy.storchakacreate