
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2018-12-18 15:56 byChrisRands, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 11218 | merged | python-dev,2018-12-18 21:01 | |
| Messages (5) | |||
|---|---|---|---|
| msg332068 -(view) | Author: (ChrisRands)* | Date: 2018-12-18 15:56 | |
A festive bug report:>>> from __future__ import barry_as_FLUFL>>> barry_as_FLUFL.mandatory(3, 9, 0, 'alpha', 0)So barry_as_FLUFL is documented to become mandatory for Python 3.9. Note that mandatory here means that the feature becomes permanent without the __future__ import and cannot be switched off. In this case, this means the '!=' operator becomes a SynaxError, with obvious consequences for existing python code.Now of course this is just an Easter egg, but given that 3.9 is surely on the horizon now, isn't it time to modify the joke, or maybe I'm missing the point and the joke is on me? | |||
| msg332069 -(view) | Author: (ChrisRands)* | Date: 2018-12-18 16:05 | |
SO question where this derived from:https://stackoverflow.com/questions/53830960/can-all-future-statements-be-removed-from-a-python-code-without-affecting-i | |||
| msg332075 -(view) | Author: Barry A. Warsaw (barry)*![]() | Date: 2018-12-18 18:47 | |
Let's extend the "joke" and make it mandatory in Python 4! :) | |||
| msg332148 -(view) | Author: Barry A. Warsaw (barry)*![]() | Date: 2018-12-19 16:19 | |
New changeset55cc34500e5abbfedb89adc95e3f94d53c544933 by Barry Warsaw (Chris Rands) in branch 'master':bpo-35526: make __future__.barry_as_FLUFL mandatory for Python 4.0 (#11218)https://github.com/python/cpython/commit/55cc34500e5abbfedb89adc95e3f94d53c544933 | |||
| msg332174 -(view) | Author: Benjamin Peterson (benjamin.peterson)*![]() | Date: 2018-12-20 05:39 | |
Good thing we don't need a barry_as_GUIDO alias. | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:09 | admin | set | github: 79707 |
| 2018-12-20 05:39:47 | benjamin.peterson | set | nosy: +benjamin.peterson messages: +msg332174 |
| 2018-12-19 16:20:03 | barry | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2018-12-19 16:19:41 | barry | set | messages: +msg332148 |
| 2018-12-18 21:17:54 | vstinner | set | nosy: +vstinner |
| 2018-12-18 21:01:19 | python-dev | set | keywords: +patch stage: patch review pull_requests: +pull_request10454 |
| 2018-12-18 18:47:07 | barry | set | messages: +msg332075 |
| 2018-12-18 17:01:19 | eric.snow | set | nosy: +barry,brett.cannon |
| 2018-12-18 16:05:27 | ChrisRands | set | messages: +msg332069 |
| 2018-12-18 15:56:04 | ChrisRands | create | |