New submission from Éric Araujo <mer...@netwok.org>: I was stealing importlib’s test/__main__ file for packaging (thanks!) and I noticed this bug thanks to pyflakes: “sep” is undefined. It looks like the bug hasn’t been noticed because it’s in a dead block that depends on __file__ containing '__pycache__'. Is this a leftover from a previous version of the PEP without __file__/__cached__ distinction? Or maybe __file__ is set to the pyc file for pyc-only imports?
---------- components: Tests messages: 135314 nosy: barry, brett.cannon, eric.araujo priority: normal severity: normal status: open title: Dead or buggy code in importlib.test.__main__ versions: Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12019> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com