This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients barry, serhiy.storchaka, vstinner, xiang.zhang
Date 2018-07-12.07:22:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531380151.17.0.56676864532.issue34084@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-07-12 07:22:31serhiy.storchakasetrecipients: + serhiy.storchaka, barry, vstinner, xiang.zhang
2018-07-12 07:22:31serhiy.storchakasetmessageid: <1531380151.17.0.56676864532.issue34084@psf.upfronthosting.co.za>
2018-07-12 07:22:31serhiy.storchakalinkissue34084 messages
2018-07-12 07:22:31serhiy.storchakacreate