Re: [Python-Dev] Python 3.0rc2: problem with exec()ing files

2008-11-11 Thread Benjamin Peterson
On Tue, Nov 11, 2008 at 11:09 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > 2008/11/11 Aahz <[EMAIL PROTECTED]>: >> On Tue, Nov 11, 2008, Jukka Aho wrote: >>> >>> The current Py3k documentation [1] states that the built-in exec() >>> function should be able to execute code from "open file objec

Re: [Python-Dev] Python 3.0rc2: problem with exec()ing files

2008-11-11 Thread Guido van Rossum
2008/11/11 Aahz <[EMAIL PROTECTED]>: > On Tue, Nov 11, 2008, Jukka Aho wrote: >> >> The current Py3k documentation [1] states that the built-in exec() >> function should be able to execute code from "open file objects": > > Second of all, this discussion should probably go on the python-3000 > list

Re: [Python-Dev] Python 3.0rc2: problem with exec()ing files

2008-11-11 Thread Aahz
On Tue, Nov 11, 2008, Jukka Aho wrote: > > The current Py3k documentation [1] states that the built-in exec() > function should be able to execute code from "open file objects": Second of all, this discussion should probably go on the python-3000 list. But first of all, please file a bug report

[Python-Dev] Python 3.0rc2: problem with exec()ing files

2008-11-11 Thread Jukka Aho
The current Py3k documentation [1] states that the built-in exec() function should be able to execute code from "open file objects": --- 8< --- exec(object[, globals[, locals]]) This function supports dynamic execution of Python code. object must be either a string, an open file object, or a