Serhiy Storchaka <storch...@gmail.com> added the comment:

It looks as great disadvantage compared with Subversion.

There are several ways to solve this problem:

1. Python/freeze_importlib.py generates a raw binary file Python/importlib.dump 
(just marshal dump) and this file is placed in the repository. Then a small C 
program Python/unpack_importlib.c (or something of the sort) is compiled and 
converts the file Python/importlib.dump in the file Python/importlib.h.

2. Python/freeze_importlib.py generates a header file Python/importlib.h.in 
with binary marker as now and this binary file is placed in the repository. 
Then on Posix systems Python/importlib.h.in is converted to Python/importlib.h 
by deleting binary marker (tr -d '\0') or whole line with binary marker 
(head/tail/sed/grep/awk). On Windows Python/importlib.h.in is just copied to 
Python/importlib.h.

----------
nosy: +storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15103>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to