[issue38112] Compileall improvements

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset adc72bb2f9a5d8b548ee04405e19a184e5699e8d by Lumír 'Frenzy' Balhar in branch 'master': bpo-38112: Document that compileall.compile_[dir,file] also accept multiple opt levels (GH-20174) https://github.com/python/cpython/commit/adc72bb2f9a5d8b548ee

[issue38112] Compileall improvements

2020-05-18 Thread Lumír Balhar
Change by Lumír Balhar : -- nosy: +frenzy nosy_count: 4.0 -> 5.0 pull_requests: +19475 pull_request: https://github.com/python/cpython/pull/20174 ___ Python tracker ___

[issue38112] Compileall improvements

2020-02-26 Thread Gregory P. Smith
Gregory P. Smith added the comment: https://bugs.python.org/issue39769 may be of interest. compileall's ddir= does not behave properly in recursive subdirectories, it did the right thing in 2.7 which is similar to a combination of compile_dir(dir, prependdir=ddir, stripdir=dir) after this i

[issue38112] Compileall improvements

2019-10-15 Thread STINNER Victor
STINNER Victor added the comment: Should be fixed by: New changeset eb1dda2b56f67f09352c303588c28880c471ae87 by Petr Viktorin (Victor Stinner) in branch 'master': bpo-38470: Fix test_compileall.test_compile_dir_maxlevels() (GH-16789) https://github.com/python/cpython/commit/eb1dda2b56f67f0935

[issue38112] Compileall improvements

2019-10-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The AMD64 Windows7 SP1 3.x buildbot has been failing for a while since commit 4267c989e7fc6cd528e8a1d04a07fac5cca85ec7, please take a look at https://bugs.python.org/issue38470. -- nosy: +pablogsal ___ Pyth

[issue38112] Compileall improvements

2019-09-26 Thread STINNER Victor
STINNER Victor added the comment: FYI test_compileall.test_compile_dir_maxlevels() also fails on AMD64 FreeBSD CURRENT Shared 3.x: https://buildbot.python.org/all/#builders/168/builds/1529 -- ___ Python tracker

[issue38112] Compileall improvements

2019-09-26 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +15999 pull_request: https://github.com/python/cpython/pull/16419 ___ Python tracker ___ ___

[issue38112] Compileall improvements

2019-09-26 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 4267c989e7fc6cd528e8a1d04a07fac5cca85ec7 by Petr Viktorin in branch 'master': bpo-38112: compileall: Skip long path path on Windows if the path can't be created (GH-16414) https://github.com/python/cpython/commit/4267c989e7fc6cd528e8a1d04a07fac5

[issue38112] Compileall improvements

2019-09-26 Thread Petr Viktorin
Petr Viktorin added the comment: Thanks! The buildbot complained in the pull request a while ago; I commented there that I'm looking into it. I'd appreciate a review for the fix; I don't have a good way to test it other than offer it to the buildbots. -- ___

[issue38112] Compileall improvements

2019-09-26 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +15994 pull_request: https://github.com/python/cpython/pull/16414 ___ Python tracker ___ ___

[issue38112] Compileall improvements

2019-09-26 Thread STINNER Victor
STINNER Victor added the comment: Similar errors on AMD64 Windows10 3.x: https://buildbot.python.org/all/#/builders/3/builds/3567 pythoninfo: sys.windowsversion: sys.getwindowsversion(major=10, minor=0, build=17134, platform=2, service_pack='') windows.RtlAreLongPathsEnabled: False -- And

[issue38112] Compileall improvements

2019-09-26 Thread STINNER Victor
STINNER Victor added the comment: test_compileall failed on AMD64 Windows8.1 Non-Debug 3.x: https://buildbot.python.org/all/#/builders/12/builds/3257 Example: ERROR: test_compile_dir_pathlike (test.test_compileall.CompileallTestsWithSourceEpoch) --

[issue38112] Compileall improvements

2019-09-25 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 8e7bb991de7c88583bc6663d8bbc541054ca8dc4 by Petr Viktorin (Lumír 'Frenzy' Balhar) in branch 'master': bpo-38112: Compileall improvements (GH-16012) https://github.com/python/cpython/commit/8e7bb991de7c88583bc6663d8bbc541054ca8dc4 -- ___

[issue38112] Compileall improvements

2019-09-11 Thread Lumír Balhar
Change by Lumír Balhar : -- keywords: +patch pull_requests: +15638 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16012 ___ Python tracker ___

[issue38112] Compileall improvements

2019-09-11 Thread Petr Viktorin
New submission from Petr Viktorin : Hello, In Fedora, we've long used a Bash script to compile modules to bytecode, as the compileall module was historically unsuitable. Recently, Lumír re-wrote our enhancements to compileall, and published the result as compileall2 on PyPI. We'd like to get th