[issue1590864] import deadlocks when using PyObjC threads

Ronald Oussoren report at bugs.python.org
Thu Apr 2 12:26:01 CEST 2009


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I don't understand why the function-level imports cannot be removed.

Wouldn't it be possible to do something like this:

from errno import ENOENT as _ENOENT, ENOTDIR as _ENOTDIR
def _execvpe(file, args, env=None):
   pass # Use _ENOENT and _ENOTDIR in this code

BTW. it is IMO rather strange to close issues as wont fix when there is a 
real error in supported and not deprecated code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1590864>
_______________________________________


More information about the Python-bugs-list mailing list