[issue24192] unexpected system error with pep420 style namespace packages

2015-05-16 Thread Eric Snow
Eric Snow added the comment: Great! The buildbots are happy too. :) -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: I can confirm that this fixes the problem I was having, both for the sample code I posted and for the real codebase I extracted this from. Thanks. -- status: pending -> open ___ Python tracker

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-15 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> pending type: -> behavior ___ Python tracker ___

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 46b2c99121f5 by Eric Snow in branch 'default': Issue #24192: Fix namespace package imports. https://hg.python.org/cpython/rev/46b2c99121f5 -- nosy: +python-dev ___ Python tracker

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-15 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-15 Thread Eric Snow
Eric Snow added the comment: Here's a fix. If I don't hear from anyone right away I'll push it in a few hours (or tomorrow morning). -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file39386/issue24192.diff ___ Python

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-15 Thread Brett Cannon
Changes by Brett Cannon : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-14 Thread Eric Snow
Eric Snow added the comment: Hmm, look like the test suite masks the issue due to the fact that importlib gets imported before running the applicable tests in test_namespace_pkgs.py. This causes _frozen_importlib.__package__ to get set properly, thus masking the problem. The problem is the u

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-14 Thread Eric Snow
Eric Snow added the comment: The problem is right where the traceback says. Apparently there is a gap in the namespace package tests that I slipped through with my recent work to split out path-based import. I'll work up a patch. -- ___ Python tra

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-14 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-14 Thread R. David Murray
R. David Murray added the comment: I presume you meant that it works with 3.4? -- nosy: +brett.cannon, eric.snow, r.david.murray ___ Python tracker ___ __

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-14 Thread Ronald Oussoren
New submission from Ronald Oussoren: The script below creates a basic PEP 420 style package with a single module in it ('package.sub') and tries to import that module With 3.5 the script runs without problems and prints 42 (as expected). With a 3.5 (fresh checkout as of 2015-05-14) I get an S