[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Georg Brandl
Georg Brandl added the comment: > When Mercurial is ported to Python 3 somewhen in the future Good one. -- ___ Python tracker ___ ___

[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: http://hg.python.org/release/rev/9272f4fd7689 -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Larry Hastings
Larry Hastings added the comment: The construction of release.py would make it easy to just always pass it in when running Python (and hg, and any program). Maybe that's a better choice. -- ___ Python tracker ___

[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: When Mercurial is ported to Python 3 somewhen in the future, then e.g. Tools/hg/__pycache__/hgtouch.cpython-34.pyc could be generated, so PYTHONDONTWRITEBYTECODE=1 might still be useful in release.py. -- __

[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Larry Hastings
Larry Hastings added the comment: Your fix won't work, because release managers call hgtouch from a different spot, from a private tool called "release.py". You'll notice that all the 3.4 releases have that hgtouch.pyc file--up until 3.4b2. I already found that bug. I added "Tools/hg/hgtouch

[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Potential fix: --- Makefile.pre.in +++ Makefile.pre.in @@ -1487,4 +1487,4 @@ # Touch generated files touch: - hg --config extensions.touch=Tools/hg/hgtouch.py touch -v + PYTHONDONTWRITEBYTECODE=1 hg --config extensions.touch=T

[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +larry priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: Tarballs of 3.3.2 (and all previous versions tested by me) do not contain any *.py[co] files. Tarballs of 3.3.3 contain 1 .pyc file, which is even generated for wrong Python version: $ find -name "*.py[co]" ./Tools/hg/hgtouch.pyc $ file