Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

> If anyone has needed a workaround in the past 9 years and hasn't yet found 
> one:

This no longer works in 3.7 due to folding constants at the AST level. :-)

----------
nosy: +serhiy.storchaka
versions: +Python 3.8 -Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue2506>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to