Python 3: exec arg 1

Alan G Isaac alan.isaac at gmail.com
Tue Jan 20 11:18:58 CET 2009


On 1/18/2009 9:36 AM Alan G Isaac apparently wrote:
> I do not much care about the disappearance of ``execfile``.
> I was asking, why is it a **good thing** that
> ``exec`` does not accept a TextIOWrapper?
> Or is it just not implemented yet?
> What is the gain from this particular backwards
> incompatibility (in the sense that ``exec(open(fname))``
> no longer works)?

Still interested in an answer...
Alan Isaac



More information about the Python-list mailing list