[issue39658] Include user scripts folder to PATH on Windows

2021-02-11 Thread fireattack
Change by fireattack : -- nosy: +fireattack ___ Python tracker <https://bugs.python.org/issue39658> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42929] On Windows, shutil.move doesn't raise FileExistsError if dst exists like os.rename

2021-01-14 Thread fireattack
fireattack added the comment: Sorry, I should link https://docs.python.org/3/library/shutil.html#shutil.move for latest doc. But the content is the same. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42929] On Windows, shutil.move doesn't raise FileExistsError if dst exists like os.rename

2021-01-14 Thread fireattack
New submission from fireattack : According to https://docs.python.org/3.8/library/shutil.html#shutil.move "If the destination already exists but is not a directory, it may be overwritten depending on os.rename() semantics." I interpret "depending on os.rename() sem

[issue40093] ThreadPoolExecutor with wait=True shuts down too early

2020-04-16 Thread fireattack
fireattack added the comment: >Yes, you are right. This is a feature of the ThreadPoolExecutor. So is there any way to make the Executor actually wait and accept new job(s) after a while? I tried as_completed(), wait(), none seem to w

[issue36541] Make lib2to3 grammar better match Python, support the := walrus

2020-04-01 Thread fireattack
Change by fireattack : -- nosy: +fireattack ___ Python tracker <https://bugs.python.org/issue36541> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40093] ThreadPoolExecutor with wait=True shuts down too early

2020-03-29 Thread fireattack
fireattack added the comment: Here is another more bizarre showcase of the issue I come up with. If you do: ``` import concurrent.futures import time def test(): time.sleep(3) print('test') ex = concurrent.futures.ThreadPoolExecutor(max_workers=10) ex.submit(test

[issue40093] ThreadPoolExecutor with wait=True shuts down too early

2020-03-29 Thread fireattack
fireattack added the comment: Hi gaoxinge, thanks for the reply. I assume what you mean is that while shutdown will wait, it won't accept any new job/future after it is called. That makes sense, but this still doesn't work: ``` from concurrent.futures import ThreadPoolExecutor from time

[issue40093] ThreadPoolExecutor with wait=True shuts down too early

2020-03-27 Thread fireattack
New submission from fireattack : Example ``` from concurrent.futures import ThreadPoolExecutor from time import sleep def wait_on_future(): sleep(1) print(f.done()) # f is not done obviously f2 = executor.submit(pow, 5, 2) print(f2.result()) sleep(1) executor

[issue28686] py.exe ignored PATH when using python3 shebang

2020-02-28 Thread fireattack
fireattack added the comment: More interestingly, I can't reproduce the same bug on my another Win 7 machine with similar setup. -- ___ Python tracker <https://bugs.python.org/issue28

[issue28686] py.exe ignored PATH when using python3 shebang

2020-02-28 Thread fireattack
fireattack added the comment: Just copy/paste a related issue reported in issue39785: When run a python script with "#!/usr/bin/python" shebang with py.exe, it will always use python2 instead of python3 on Win 10, despite the default being set to py3 already (so does the PATH).

[issue39785] #!/usr/bin/python shebang doesn't use default python (3) on Windows

2020-02-28 Thread fireattack
fireattack added the comment: Interestingly, I can't seem to reproduce this bug on my another Win7 machine with similar setup. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39785] #!/usr/bin/python shebang doesn't use default python (3) on Windows

2020-02-28 Thread fireattack
Change by fireattack : -- title: usr/bin/python doesn't use default python (3) on Windows -> #!/usr/bin/python shebang doesn't use default python (3) on Windows ___ Python tracker <https://bugs.python.org/issu

[issue39785] usr/bin/python doesn't use default python (3) on Windows

2020-02-28 Thread fireattack
fireattack added the comment: I've searched and found some related issue, but none is specific for this. For example, Segev Finer mentioned that "[..] "#!/usr/bin/python" which will prefer Python 2" in issue 34274 but didn't mention

[issue39785] usr/bin/python doesn't use default python (3) on Windows

2020-02-28 Thread fireattack
New submission from fireattack : STR 1. Install both Py2 and 3. 2. Make sure Py3 is the default. 3. (Optional) Make sure only Python3 is in path, not Python2. Run the following script from CMD: ``` #!/usr/bin/python import platform print(platform.python_version()) ``` What expected

[issue31668] "fixFirefoxAnchorBug" function in doctools.js causes navigating problem in Py3 doc in Chrome

2017-10-03 Thread fireattack
fireattack <human.p...@gmail.com> added the comment: Well, since it affects Python's site's functionality, I thought it's appropriate to report here (with components: documentation). I followed the instruction here: https://docs.python.org/3/bugs.html#documentation-bugs It is not Sphinx

[issue31668] "fixFirefoxAnchorBug" function in doctools.js causes navigating problem in Py3 doc in Chrome

2017-10-02 Thread fireattack
New submission from fireattack <human.p...@gmail.com>: Problem This is a regression bug/flaw in Sphinx's doctools.js, a JS file used in its base template, and therefore got inherited to Python 3's documentation website. Python 2's documentation website is not affected because it's

[issue15809] 2.7 IDLE console uses incorrect encoding.

2016-01-19 Thread fireattack
fireattack added the comment: Any update on this? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15809> ___ ___ Python-bugs-list