Hi Chris,

On 30 avril 15:43, Chris Wong wrote:
> Sorry in advance for this long message. I've been trying to get
> Python 3.3 working (under a venv, a 3.3 specific feature). I've ran
> into a number of problems beyond my ability to fix, and I'm
> wondering if it's an environment specific issue because it seems
> that Python 3.3.

don't be sorry for helping us make pylint better :)
 
> Problem #1
> ----------
> 
> pylint crashes when importing a built-in module. Apparently
> imp.find_module() returns None for mp_filename if the module is
> built-in. Attached is the patch I used to fix this. Ignore the "for
> filepath, importer in list(pic.items()):" line, as it's part of the
> 2to3 automatic conversion.
> 
> The fix in _search_zip is just to fix some error handling code that
> probably was never tested. I don't think "file"... actually now that
> I look at that patch, removing the file parameter was wrong, it
> should be filepath instead of file. Oops, I can fix that.

Don't worry, this later pb has already been fixed. I'll take a look and
hopefuly integrate your other proposal.

Problem #2 and #3 should be investigated. Would you create an issue on
bitbucket for each of them (https://bitbucket.org/logilab/pylint) ?

Thanks,
-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to