Message325882
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. |
|
Date |
User |
Action |
Args |
2018-09-20 14:53:16 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, brett.cannon, ncoghlan, vstinner, benjamin.peterson, yselivanov |
2018-09-20 14:53:15 | serhiy.storchaka | set | messageid: <1537455195.99.0.956365154283.issue32892@psf.upfronthosting.co.za> |
2018-09-20 14:53:15 | serhiy.storchaka | link | issue32892 messages |
2018-09-20 14:53:15 | serhiy.storchaka | create | |
|