[issue15097] Improving wording on the thread-safeness of import

2021-03-09 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15097] Improving wording on the thread-safeness of import

2020-12-31 Thread Irit Katriel
Irit Katriel added the comment: The threading doc no longer mentions import at all. Any objections to closing this issue as out of date? Or is there anything else to look into here? -- nosy: +iritkatriel resolution: -> out of date status: open -> pending

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Merlijn van Deen
New submission from Merlijn van Deen valhall...@gmail.com: http://docs.python.org/library/threading.html#importing-in-threaded-code Currently, the documentation states Firstly, other than in the main module, an import should not have the side effect of spawning a new thread and then waiting

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Merlijn van Deen
Changes by Merlijn van Deen valhall...@gmail.com: Removed file: http://bugs.python.org/file26037/deadlock.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15097 ___

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Merlijn van Deen
Changes by Merlijn van Deen valhall...@gmail.com: Added file: http://bugs.python.org/file26038/deadlock.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15097 ___

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: which, I think, fails to make the main point: I disagree. It currently makes it main point, but stops doing so under your rephrasing. The main point of that section is While the import machinery is thread-safe, there are two key

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Merlijn van Deen
Merlijn van Deen valhall...@gmail.com added the comment: First off, thank you for your response. The existence of an import lock is deliberately omitted from the text, and the reader is supposed to abide by the restriction as written regardless of the motivation behind it. The entire