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 <1539375608.92.0.788709270274.issue34963@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2018-10-12 20:20:08serhiy.storchakasetrecipients: + serhiy.storchaka, levkivskyi, fish2000
2018-10-12 20:20:08serhiy.storchakasetmessageid: <1539375608.92.0.788709270274.issue34963@psf.upfronthosting.co.za>
2018-10-12 20:20:08serhiy.storchakalinkissue34963 messages
2018-10-12 20:20:08serhiy.storchakacreate