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

Fixer needed to change __builtin__ -> builtins #46621

Closed
brettcannon opened this issue Mar 17, 2008 · 4 comments
Closed

Fixer needed to change __builtin__ -> builtins #46621

brettcannon opened this issue Mar 17, 2008 · 4 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@brettcannon
Copy link
Member

BPO 2368
Nosy @gvanrossum, @brettcannon, @rhettinger, @benjaminp

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 2008-07-31.01:56:01.801>
created_at = <Date 2008-03-17.19:57:04.603>
labels = ['interpreter-core', 'type-bug']
title = 'Fixer needed to change __builtin__ -> builtins'
updated_at = <Date 2008-07-31.01:56:01.800>
user = 'https://github.com/brettcannon'

bugs.python.org fields:

activity = <Date 2008-07-31.01:56:01.800>
actor = 'benjamin.peterson'
assignee = 'collinwinter'
closed = True
closed_date = <Date 2008-07-31.01:56:01.801>
closer = 'benjamin.peterson'
components = ['Interpreter Core']
creation = <Date 2008-03-17.19:57:04.603>
creator = 'brett.cannon'
dependencies = []
files = []
hgrepos = []
issue_num = 2368
keywords = ['26backport']
message_count = 4.0
messages = ['63745', '63755', '63781', '70459']
nosy_count = 5.0
nosy_names = ['gvanrossum', 'brett.cannon', 'collinwinter', 'rhettinger', 'benjamin.peterson']
pr_nums = []
priority = 'critical'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue2368'
versions = ['Python 2.6']

@brettcannon
Copy link
Member Author

'builtins' needs to be added as a module for __builtin__. A fixer will
also be needed.

@brettcannon brettcannon added release-blocker interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error and removed release-blocker labels Mar 17, 2008
@rhettinger
Copy link
Contributor

Guido, is this something you really want to do?

To me, it just makes 2.6 more confusing to learn and it doesn't do much
in the way of simplifying the transition to 3.0. The 2-to-3 tool can
take care of this trivially.

@gvanrossum
Copy link
Member

Brett meant to add 'builtins' as an alias for __builtin__. I don't
think we should do that. However we should have a fixer for this.
Assigning to Collin and changing the subject to match.

@gvanrossum gvanrossum changed the title Backport __builtin__ to 'builtins' Fixer needed to change __builtin__ -> builtins Mar 17, 2008
@benjaminp
Copy link
Contributor

We have a fixer for this.

@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
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

4 participants