[issue22107] tempfile module misinterprets access denied error on Windows

2021-07-08 Thread bugale bugale
Change by bugale bugale : -- nosy: +bugale bugale ___ Python tracker <https://bugs.python.org/issue22107> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44527] subprocess.run gets stuck indefinitely

2021-06-28 Thread bugale bugale
New submission from bugale bugale : The implementation for subprocess.run on Windows has a bug that causes it to hang indefinitely in some scenarios. The issue can be easily reproduced by this code: import subprocess subprocess.run(['cmd.exe', '/c', 'ping 1.2.3.4 -n '], capture_output

[issue43284] Wrong windows build post version 2004

2021-03-02 Thread bugale bugale
bugale bugale added the comment: Is there a good reason to not use GetVersionEx? -- ___ Python tracker <https://bugs.python.org/issue43284> ___ ___ Python-bug

[issue43284] Wrong windows build in 20H2

2021-02-21 Thread bugale bugale
New submission from bugale bugale : Running `platform.platform()` on Windows 10 20H2 results in the build number 19041: Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or

[issue32172] Add length counter for iterables

2017-11-29 Thread bugale bugale
New submission from bugale bugale <buga...@gmail.com>: I have noticed that there is no convenient way in python to get the number of items in a generator. For example: my_iterable = iter(range(1000)) len(my_iterable) # Would not work Of course, something like this would ruin the gen