Jelle Zijlstra added the comment:

I couldn't find references in the docs to clarify what version of 3.x 2to3 
targets, but it seems reasonable to me that it produces code targeted to the 
version of CPython it was bundled with. imp is deprecated and presumably will 
be removed later in 3.x, so it's better not to migrate people's Python 2 code 
to use it.

----------
nosy: +Jelle Zijlstra

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21446>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to