Odd code in lib\os.py

"Martin v. Löwis" martin at v.loewis.de
Fri Jan 3 13:26:00 CET 2003


Andrew Wilkinson wrote:
> Is there any reason for it being there, or can I submit a patch to have it
> remove?

See

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/python/dist/src/Lib/os.py.diff?r1=1.23&r2=1.24

There once was a longer list, so that the exec statement was the only 
convenient way to formulate this fragment. It would be fine to change 
that, now.

Regards,
Martin






More information about the Python-list mailing list