[Python-Dev] exec documentation

Nick Coghlan ncoghlan at gmail.com
Sat Jan 10 01:48:59 CET 2009


Glenn Linderman wrote:
> On approximately 1/9/2009 3:40 PM, came the following characters from
> the keyboard of Terry Reedy:
>> Glenn Linderman wrote:
>>> in 2.6 and before execfile is listed in builtin functions, and is not
>>> marked deprecated, and exec is in the simple statements, and is not
>>> marked deprecated.
>>
>> Because they are not going away in 2.7.
> 
> 
> Ah, that's the missing piece!  I keep thinking 2.5, 2.6, 3.0, and
> forgetting that someone might make a 2.7 :)  I bet I wasn't the first
> one to be confused by this, nor am I likely to be the last.

Not might - there *is* going to be a 2.7 (that will probably come out at
the same time as 3.1) and we're already working on it:

http://docs.python.org/dev/whatsnew/2.7.html

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list