[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-03-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 149be7000c11 by Brett Cannon in branch '3.4': Issue #20763: Fix importlib.machinery.PathFinder to support http://hg.python.org/cpython/rev/149be7000c11 -- ___ Python tracker

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-03-13 Thread Berker Peksag
Changes by Berker Peksag : -- stage: commit review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-26 Thread Brett Cannon
Brett Cannon added the comment: Cherrypick bug is http://bugs.python.org/issue20789 -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-26 Thread Brett Cannon
Brett Cannon added the comment: Committed for Larry to cherrypick into 3.4.0. No Misc/NEWS so that Larry doesn't have merge issues and since it will be covered by 3.4.0. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5dec1604322c by Brett Cannon in branch 'default': Issue #20763: Fix importlib.machinery.PathFinder to support http://hg.python.org/cpython/rev/5dec1604322c -- nosy: +python-dev ___ Python tracker

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-26 Thread Brett Cannon
Brett Cannon added the comment: I'll try to commit tonight then and request a cherrypick. -- ___ Python tracker ___ ___ Python-bugs-li

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-26 Thread Yukihiro Nakadaira
Yukihiro Nakadaira added the comment: It works fine. Thank you! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread Eric Snow
Eric Snow added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread Brett Cannon
Brett Cannon added the comment: Fix and test is attached. Can someone review it so I can check it in and get a cherrypick? -- keywords: +patch stage: -> commit review Added file: http://bugs.python.org/file34225/issue_20763.diff ___ Python tracker

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread Brett Cannon
Brett Cannon added the comment: I have a fix, I just need to create a test. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread Brett Cannon
Brett Cannon added the comment: I should also mention that subclassing importlib.abc.PathEntryFinder solves this coding problem. -- ___ Python tracker ___ __

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread Brett Cannon
Brett Cannon added the comment: The problem is that the PEP 451 switch accidentally cut out compatibility code for PathEntryFinder.find_module() since Python 3.3 started the transition to find_loader(). Adding a bit of code to http://hg.python.org/cpython/file/8ac9c3754d33/Lib/importlib/_boots

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread jan matejek
Changes by jan matejek : -- nosy: +matejcik ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +larry priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-25 Thread Ismail Donmez
Changes by Ismail Donmez : -- nosy: +cartman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-24 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-24 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-02-24 Thread Yukihiro Nakadaira
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_hooks.append(MyFinder