Title: Fixer needed to change __builtin__ -> builtins
Type: behavior Stage:
Components: Interpreter Core Versions: Python 2.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: collinwinter Nosy List: benjamin.peterson, brett.cannon, collinwinter, gvanrossum, rhettinger
Priority: critical Keywords: 26backport

Created on 2008-03-17 19:57 by brett.cannon, last changed 2008-07-31 01:56 by benjamin.peterson. This issue is now closed.

Messages (4)
msg63745 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2008-03-17 19:57
'builtins' needs to be added as a module for __builtin__. A fixer will
also be needed.
msg63755 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2008-03-17 20:22
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.
msg63781 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2008-03-17 21:18
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.
msg70459 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-07-31 01:56
We have a fixer for this.
Date User Action Args
2008-07-31 01:56:01benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg70459
2008-03-17 21:18:28gvanrossumsetassignee: gvanrossum -> collinwinter
title: Backport __builtin__ to 'builtins' -> Fixer needed to change __builtin__ -> builtins
messages: + msg63781
nosy: + collinwinter
2008-03-17 20:35:54benjamin.petersonsetnosy: + benjamin.peterson
2008-03-17 20:22:12rhettingersetassignee: gvanrossum
messages: + msg63755
nosy: + gvanrossum, rhettinger
2008-03-17 20:18:18brett.cannonsetpriority: release blocker -> critical
2008-03-17 19:57:04brett.cannoncreate