This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ms
Recipients ms
Date 2008-06-24.20:45:44
SpamBayes Score 0.16837
Marked as misclassified No
Message-id <>
In 2.5, exec(open(filename)), where filename refers to a file with
python code, executes the code.
In 2.5, open returns an open file, but in 3.0, open returns a stream,
and so exec (which wants "a string, file, or code object, not
TextIOWrapper") returns an error. exec should probably be able to handle
a stream.
Date User Action Args
2008-06-24 20:45:47mssetspambayes_score: 0.16837 -> 0.16837
recipients: + ms
2008-06-24 20:45:47mssetspambayes_score: 0.16837 -> 0.16837
messageid: <>
2008-06-24 20:45:45mslinkissue3192 messages
2008-06-24 20:45:45mscreate