Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue35526

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:__future__.barry_as_FLUFL documented as mandatory for Python 3.9
Type:Stage:resolved
Components:Versions:
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: ChrisRands, barry, benjamin.peterson, brett.cannon, vstinner
Priority:normalKeywords:patch

Created on2018-12-18 15:56 byChrisRands, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 11218mergedpython-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)*(Python committer)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)*(Python committer)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)*(Python committer)Date: 2018-12-20 05:39
Good thing we don't need a barry_as_GUIDO alias.
History
DateUserActionArgs
2022-04-11 14:59:09adminsetgithub: 79707
2018-12-20 05:39:47benjamin.petersonsetnosy: +benjamin.peterson
messages: +msg332174
2018-12-19 16:20:03barrysetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-12-19 16:19:41barrysetmessages: +msg332148
2018-12-18 21:17:54vstinnersetnosy: +vstinner
2018-12-18 21:01:19python-devsetkeywords: +patch
stage: patch review
pull_requests: +pull_request10454
2018-12-18 18:47:07barrysetmessages: +msg332075
2018-12-18 17:01:19eric.snowsetnosy: +barry,brett.cannon
2018-12-18 16:05:27ChrisRandssetmessages: +msg332069
2018-12-18 15:56:04ChrisRandscreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp