[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc2e52878393 by Zachary Ware in branch 'default': Issue #23911: Fix ctypes test on Windows. https://hg.python.org/cpython/rev/cc2e52878393 -- ___ Python tracker __

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-05 Thread Eric Snow
Eric Snow added the comment: changeset: 95887:3bea670c9830 user:Eric Snow date:Tue May 05 21:29:31 2015 -0600 summary: Remove an unnecessary flag. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed __

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-05 Thread Eric Snow
Eric Snow added the comment: Thanks for pointing this out, Ned. Early on I ran into a problem when running _freeze_importlib without the flag set. However, I expect that it was not necessary after a certain point (e.g. once I had a valid _importlib_external.h). I'll remove the flag as sugge

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-05 Thread Ned Deily
Ned Deily added the comment: This checkin also breaks OS X framework builds. For some reason, framework builds are compiled with the gcc -fno-common option. The code in configure.ac to add that option dates back to the initial OS X framework support (c3c87ce4afdc from 2001). It's not clear

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-04 Thread Eric Snow
Changes by Eric Snow : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-04 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 36b902bbc992 by Eric Snow in branch 'default': Issue #23911: Fix mixed bytes/strings. https://hg.python.org/cpython/rev/36b902bbc992 -- ___ Python tracker

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-04 Thread Larry Hastings
Larry Hastings added the comment: This checkin broke the buildbots. If you build trunk then run ./python -bb -m test test_site the test fails. "-bb" is used by the normal test runner ("make test"). The problem is in the lines self.assertTrue(os.path.isabs(os__file__),

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 02e3bf65b2f8 by Eric Snow in branch 'default': Issue #23911: Move path-based bootstrap code to a separate frozen module. https://hg.python.org/cpython/rev/02e3bf65b2f8 -- nosy: +python-dev ___ Python trac

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file39274/path-based-importlib.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file39275/path-based-importlib.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file39274/path-based-importlib.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file39273/path-based-importlib.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Eric Snow added the comment: Gah. I had tried exactly that but did it in the wrong spot. Here's an updated patch which fixes the test. -- Added file: http://bugs.python.org/file39273/path-based-importlib.diff ___ Python tracker

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Nick Coghlan
Nick Coghlan added the comment: As a compatibility hack for setuptools versions with the issue, I'd suggest making importlib._bootstrap.setup alias SourceFileLoader back into importlib._bootstrap, with an explanation and link to back to this issue in a comment. -- __

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file39271/path-based-importlib.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Eric Snow added the comment: Here's the correct patch. -- Added file: http://bugs.python.org/file39272/path-based-importlib.diff ___ Python tracker ___ __

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Eric Snow added the comment: Looks like setuptool's pkg_resources is directly importing importlib._bootstrap. I've filed a bug: https://bitbucket.org/pypa/setuptools/issue/378. In the meantime, what are our options for getting that test passing? -- _

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Eric Snow added the comment: As I mentioned, I'm pretty sure that the failing venv test is due to the bundled pip. Here's the test output: test test_venv failed -- Traceback (most recent call last): File "/home/esnow/projects/cpython/Lib/test/test_venv.py", line 356, in test_with_pip wi

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-02 Thread Eric Snow
Eric Snow added the comment: Here's an updated patch with "_pathy.py" changed to "_bootstrap_external.py" (and similar changes with freezing). The patch does not include fixing the venv test (i.e. the bundled pip). Also, I'll be adding a note to NEWS. -- Added file: http://bugs.pytho

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-04-27 Thread Eric Snow
Eric Snow added the comment: Glad to hear the patch is conceptually consistent with other components. :) And the "internal"/"external" suggestion is a good one. I'll update the patch when I have a minute. -- ___ Python tracker

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-04-25 Thread Nick Coghlan
Nick Coghlan added the comment: Nice, this ties directly into one of the thornier problems in the PEP 432 bootstrapping work, which needs to set up the core import system in Py_BeginInitialization, but delay setting up the rest of it until Py_EndInitialization. Your patch achieves this by mov

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-04-19 Thread Eric Snow
Eric Snow added the comment: s/PEP 489/PEP 488/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-04-19 Thread Eric Snow
Eric Snow added the comment: Here's an updated patch, with the PEP 489 changes merged in. Only one test isn't passing and it is due to something in the pip that is bundled into ensurepip. I'll work on fixing that when I have some time. I'm sure there's documentation near the bundle that exp

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-04-13 Thread Raúl Cumplido
Changes by Raúl Cumplido : -- nosy: +raulcd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-04-10 Thread Eric Snow
New submission from Eric Snow: The bootstrap code has a clear division between the core import functionality and the path-based import machinery. The attached patch makes that division explicit by moving the latter into its own module. The module is also frozen, necessarily. In addition to