Eric Snow <ericsnowcurren...@gmail.com> added the comment:

2 "problems" with that last patch:

* the types of the loaders that get returned by _bootstrap._find_module() are 
not the classes in _bootstrap (e.g. _frozen_importlib._SourceFileLoader).  That 
doesn't smell right.
* tokenize.get_encoding? is saying that Lib/test/badsyntax_pep3120.py has an 
encoding of utf-8, when test_find_module_encoding is expecting it to not.  So 
does PyTokenizer_FindEncodingFilename (which the old import code used) behaving 
differently than tokenize.get_encoding()?  FYI, tokenize.get_encoding() is what 
importlib uses...

----------

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

Reply via email to