Message321522
PR 8262 fixes the intended setting of error message for the "Barry as BDFL" easter egg.
>>> from __future__ import barry_as_FLUFL
>>> 1 != 2
File "<stdin>", line 1
1 != 2
^
SyntaxError: with Barry as BDFL, use '<>' instead of '!='
But there is other problem. As was exposed in the private communication with Victor and Barry, this easter egg works only in REPL (or if explicitly pass __future__.CO_FUTURE_BARRY_AS_BDFL to compile()). I'll try to fix this too. |
|
Date |
User |
Action |
Args |
2018-07-12 07:22:31 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, vstinner, xiang.zhang |
2018-07-12 07:22:31 | serhiy.storchaka | set | messageid: <1531380151.17.0.56676864532.issue34084@psf.upfronthosting.co.za> |
2018-07-12 07:22:31 | serhiy.storchaka | link | issue34084 messages |
2018-07-12 07:22:31 | serhiy.storchaka | create | |
|