Yukihiro Nakadaira added the comment:
This problem easily happen when there is no python installation and there is
standalone python application compiled with py2exe or cx_Freeze (e.g.
Mercurial). Such application have pythonXX.dll in its directory. But its
python library can not be loaded
Yukihiro Nakadaira added the comment:
It works fine. Thank you!
--
___
Python tracker
<http://bugs.python.org/issue20763>
___
___
Python-bugs-list mailin
New submission from Yukihiro Nakadaira:
Steps to reproduce:
$ cat a.py
import sys
class MyFinder:
def __init__(self, path):
if path != "__myfinder__":
raise ImportError()
def find_module(self, fullname, path=None):
return None
sys.path_ho
Yukihiro Nakadaira added the comment:
> In other words, I think the correct thing to do is to delete that if test.
I think so too.
> Do you have a case where the code produces incorrect behavior that your patch
> turns into correct behavior?
No, I don't. I just found a typo.
New submission from Yukihiro Nakadaira :
email.encoders.encode_7or8bit(): typo "iso-2202". "iso-2022" is correct.
Index: Lib/email/encoders.py
===
--- Lib/email/encoders.py (revision 76749)
+++ L