Chi Hsuan Yen added the comment:
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
----------
nosy: +Chi Hsuan Yen
Added file: http://bugs.python.org/file46620/boot-flag.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23404>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com