[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-02-27 Thread Elad Lahav
Elad Lahav added the comment: "When I uncomment the os.execl() line, the program runs and completes." In that case I'm not sure it is the same issue. The child processes in your case executed their part of the new_process function, which then returned. Nevertheless from the trace it looks li

[issue38597] C Extension import limit

2020-02-27 Thread Xinfa Zhu
Xinfa Zhu added the comment: FYI when I reduced my package to 106 extension modules, I could run without the DLL error. -- ___ Python tracker ___

[issue39774] Missing documentation on how to make package executable as script

2020-02-27 Thread Andrei Daraschenka
Change by Andrei Daraschenka : -- keywords: +patch nosy: +dorosch nosy_count: 3.0 -> 4.0 pull_requests: +18037 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18677 ___ Python tracker

[issue39768] remove tempfile.mktemp()

2020-02-27 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue39771] EmailMessage.add_header doesn't work

2020-02-27 Thread Andrei Daraschenka
Andrei Daraschenka added the comment: Hello, could you please attach minimal-work file for reproduce it? -- nosy: +dorosch ___ Python tracker ___ _

[issue39774] Missing documentation on how to make package executable as script

2020-02-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: You're right that it's hard to find any documentation on package `__main__.py` files. There's nothing here that I can see: https://docs.python.org/3/reference/import.html#packages Aside from the tutorial, the only other place I can find it referenced is a

[issue39774] Missing documentation on how to make package executable as script

2020-02-27 Thread igo95862
New submission from igo95862 : This is package documentation: https://docs.python.org/3/tutorial/modules.html#packages To make package executable (python -m package) you need to create a file __main__.py in the package directory. This is pretty much not documented anyone aside of trying t

[issue39773] Export symbols for vectorcall

2020-02-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39769] compileall.compile_dir(..., ddir="") omits the intermediate package paths when prepending the prefix

2020-02-27 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +18036 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18676 ___ Python tracker

[issue39772] Python 2 FAQ shown in h...@python.org auto reply

2020-02-27 Thread wyz23x2
Change by wyz23x2 : -- nosy: -barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue39773] Export symbols for vectorcall

2020-02-27 Thread David Hewitt
New submission from David Hewitt : I have been looking into using vectorcall in [pyo3](https://github.com/PyO3/pyo3) (Rust bindings to Python) against python3.8. It looks like the _PyObject_Vectorcall symbols are not included in the shared library. I've checked both Windows and Linux. I thi

[issue39769] compileall.compile_dir(..., ddir="") omits the intermediate package paths when prepending the prefix

2020-02-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: belated postmortem: if there had been tests against the filename encoded in the pycs living in subdirs as generated by compile_dir, this regression would not have happened. -- ___ Python tracker

[issue39769] compileall.compile_dir(..., ddir="") omits the intermediate package paths when prepending the prefix

2020-02-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: meaning this regression was introduced in 3.5. -- versions: +Python 3.5 ___ Python tracker ___

[issue39769] compileall.compile_dir(..., ddir="") omits the intermediate package paths when prepending the prefix

2020-02-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: The regression was caused by the parallelization enhancement implementation from https://bugs.python.org/issue16104 -- ___ Python tracker

[issue16104] Compileall script: add option to use multiple cores

2020-02-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: This caused a regression in behavior. compileall.compile_dir()'s ddir= parameter no longer does the right thing for any subdirectories. https://bugs.python.org/issue39769 -- nosy: +gregory.p.smith ___ Python tr

<    1   2