Author serhiy.storchaka
Recipients benjamin.peterson, brett.cannon, gvanrossum, ncoghlan, serhiy.storchaka, vstinner, yselivanov
Date 2018-09-20.14:53:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537455195.99.0.956365154283.issue32892@psf.upfronthosting.co.za>
In-reply-to
Content
PR 9445 is an implementation of this idea. For simplicity and for reducing affect on tests no deprecation warning is raised, and there is no validation of the type of argument for old classes. Num('123') will just return Constant('123') without errors and warnings. isinstance(Constant('123'), Num) will return False, and isinstance(Constant('123'), Str) will return True.
History
Date User Action Args
2018-09-20 14:53:16serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, brett.cannon, ncoghlan, vstinner, benjamin.peterson, yselivanov
2018-09-20 14:53:15serhiy.storchakasetmessageid: <1537455195.99.0.956365154283.issue32892@psf.upfronthosting.co.za>
2018-09-20 14:53:15serhiy.storchakalinkissue32892 messages
2018-09-20 14:53:15serhiy.storchakacreate