[issue13959] Re-implement parts of imp in pure Python
Brett Cannon
report at bugs.python.org
Fri May 11 19:47:50 CEST 2012
Brett Cannon <brett at python.org> added the comment:
Yes.
And the [:] copies the list so I don't accidentally mutate in-place (did that once already, so now I'm just being paranoid; I doubt I need it hardly anywhere I don't do +=).
As for using SOURCE_SUFFIXES[0], I'm done following the ported code. I really don't care if .pyw isn't supported in that case. But in general people shouldn't assume just .py (or .py at all).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13959>
_______________________________________
More information about the Python-bugs-list
mailing list