This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yan12125
Recipients berker.peksag, brett.cannon, ezio.melotti, josh.r, martin.panter, ned.deily, python-dev, vlee, willingc, yan12125
Date 2017-02-10.09:25:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486718737.99.0.359591867073.issue23404@psf.upfronthosting.co.za>
In-reply-to
Content
Just tried boot-flag.patch with https://github.com/python/cpython/commit/16e07881bd3867d471dd0a25c5117672b65c90ee. Doesn't work out-of-box:

#./Programs/_freeze_importlib \
    ./Lib/importlib/_bootstrap.py Python/importlib.h
/bin/sh: line 1: ./Lib/importlib/_bootstrap.py: Permission denied
make: *** [Makefile:749: Python/importlib.h] Error 126

My fix is: merge the two lines into a single one. See my attached patch.

By the way, the BOOT hack is quite similar to GENERATED_COMMENT in introduced in issue27641. Maybe they can merge?

My environment:

* Arch Linux x86_64
* /bin/sh symlinks to bash, which is 4.4.12
* GNU Make 4.2.1
History
Date User Action Args
2017-02-10 09:25:38yan12125setrecipients: + yan12125, brett.cannon, ned.deily, ezio.melotti, python-dev, berker.peksag, martin.panter, willingc, josh.r, vlee
2017-02-10 09:25:37yan12125setmessageid: <1486718737.99.0.359591867073.issue23404@psf.upfronthosting.co.za>
2017-02-10 09:25:37yan12125linkissue23404 messages
2017-02-10 09:25:37yan12125create