New submission from Gabriele Tornetta :
I would like to propose adding the native_id field to the PyThreadState
structure to store the result of PyThread_get_thread_native_id. On some
systems, like Linux, it is not easy to retrieve this information from outside
of the Python interpreter
New submission from Gabriele Tornetta :
def outer():
a=set()
def inner():
a |= set(["A"])
inner()
return a
print(outer())
Traceback (most recent call last):
File "main.py", line 8, in
print(outer())
File "main.py", line 5, in outer
inner(
New submission from Gabriele Tornetta :
The following script causes havoc on Windows while it works as expected on
Linux
~~~ python
import os
import tempfile
def test_chdir():
with tempfile.TemporaryDirectory() as tempdir:
os.chdir(tempdir)
~~~
Running the above on Windows
Gabriele Tornetta added the comment:
That makes sense, but I wonder what the "right" behaviour should be in this
case. Surely the infinite recursion should be fixed at the very minimum.
Perhaps the code on Windows could be enhanced to catch the case whereby one is
trying to dele
New submission from Gabriele Tornetta :
When trying to install a module (pycrypto in this case), easy_install fails
with the following error (run via Git Bash)
$ easy_install pycrypto-2.6.win-amd64-py3.3.exe
Processing pycrypto-2.6.win-amd64-py3.3.exe
error: [WinError 32] The process cannot
Gabriele Tornetta added the comment:
Are there any PRs already for this issue? I couldn't find any on GitHub. Also,
is the plan to branch the fix down to at least 3.6?
--
nosy: +Gabriele Tornetta
___
Python tracker
<https://bugs.py