Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__future__.barry_as_FLUFL documented as mandatory for Python 3.9 #79707

Closed
chris-rands mannequin opened this issue Dec 18, 2018 · 5 comments
Closed

__future__.barry_as_FLUFL documented as mandatory for Python 3.9 #79707

chris-rands mannequin opened this issue Dec 18, 2018 · 5 comments

Comments

@chris-rands
Copy link
Mannequin

chris-rands mannequin commented Dec 18, 2018

BPO 35526
Nosy @warsaw, @brettcannon, @vstinner, @benjaminp, @chris-rands
PRs
  • bpo-35526: make __future__.barry_as_FLUFL mandatory for Python 4.0 #11218
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-12-19.16:20:03.173>
    created_at = <Date 2018-12-18.15:56:04.409>
    labels = []
    title = '__future__.barry_as_FLUFL documented as mandatory for Python 3.9'
    updated_at = <Date 2018-12-20.05:39:47.848>
    user = 'https://github.com/chris-rands'

    bugs.python.org fields:

    activity = <Date 2018-12-20.05:39:47.848>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-12-19.16:20:03.173>
    closer = 'barry'
    components = []
    creation = <Date 2018-12-18.15:56:04.409>
    creator = 'ChrisRands'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35526
    keywords = ['patch']
    message_count = 5.0
    messages = ['332068', '332069', '332075', '332148', '332174']
    nosy_count = 5.0
    nosy_names = ['barry', 'brett.cannon', 'vstinner', 'benjamin.peterson', 'ChrisRands']
    pr_nums = ['11218']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue35526'
    versions = []

    @chris-rands
    Copy link
    Mannequin Author

    chris-rands mannequin commented Dec 18, 2018

    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?

    @chris-rands
    Copy link
    Mannequin Author

    chris-rands mannequin commented Dec 18, 2018

    @warsaw
    Copy link
    Member

    warsaw commented Dec 18, 2018

    Let's extend the "joke" and make it mandatory in Python 4! :)

    @warsaw
    Copy link
    Member

    warsaw commented Dec 19, 2018

    New changeset 55cc345 by Barry Warsaw (Chris Rands) in branch 'master':
    bpo-35526: make __future__.barry_as_FLUFL mandatory for Python 4.0 (bpo-11218)
    55cc345

    @warsaw warsaw closed this as completed Dec 19, 2018
    @benjaminp
    Copy link
    Contributor

    Good thing we don't need a barry_as_GUIDO alias.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants