Brett Cannon <br...@python.org> added the comment:

A disagreement has popped up over what the ideal solution is on the PR 
currently connected to this issue. I'm having the folks involved switch it over 
to here.

IMO I think py_compile can respect SOURCE_DATE_EPOCH and just blindly use it 
for creating .pyc files. That way builds are reproducible. Yes, it will quite 
possibly lead to those .pyc files being regenerated the instant Python starts 
running, but SOURCE_DATE_EPOCH is entirely about builds, not runtimes. Plus 
.pyc files are just optimizations and so it is not critical they not be 
regenerated again later.

----------

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

Reply via email to