[New-bugs-announce] [issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

theeshallnotknowethme report at bugs.python.org
Wed Sep 15 06:01:52 EDT 2021


New submission from theeshallnotknowethme <nohackingofkrowten at gmail.com>:

Add a flag named 'CO_FUTURE_REVOLT_AND_REMOVE_BARRY_FROM_BDFL' assigned to `0x2000000` that can be activated with 'from __future__ import remove_barry_from_BDFL'. Reverts the effects of 'from __future__ import barry_as_FLUFL' and adds the 'CO_FUTURE_REVOLT_AND_REMOVE_BARRY_FROM_BDFL' flag in indication that Barry has been overthrown from his position. Doing this before a 'from __future__ import barry_as_FLUFL' import will have no effect whatsoever. Redoing 'from __future__ import barry_as_FLUFL' will remove the flag and re-add the 'CO_FUTURE_BARRY_AS_BDFL' flag. There can be optional messages informing users of the change.

----------
components: Library (Lib)
messages: 401822
nosy: February291948
priority: normal
severity: normal
status: open
title: Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45202>
_______________________________________


More information about the New-bugs-announce mailing list