New submission from Adrien :
Hello,
I am reading the venv official documentation available here:
https://docs.python.org/3/library/venv.html
If I pick English - 3.9.0, it's stated:
"Changed in version 3.8: Add --upgrade-deps option to upgrade pip + setuptools
to the latest on PyP
New submission from Adrien :
Hi.
I noticed that there exists the function "threading.main_thread()", but there
is no equivalent for the "multiprocessing" module.
Is there a reason for this absence?
These StackOverflow questions are related to this problem:
-
https
Adrien added the comment:
Thanks to your answer, @ned.deily.
Sorry to insist, but are you sure this is a duplicate of issue18075 /
issue35542?
According to the discussion in issue36272, it seems this is not related to
stack exhaustion nor to issue18075.
Also, @remi.lapeyre suggested that
New submission from Adrien :
This is an issue that I first saw repoted by @remi.lapeyre on issue36272:
https://bugs.python.org/issue36272#msg337843
It also be reported some years ago: https://stackoverflow.com/a/54171640/2291710
I searched but I did not find any existing issue, so I open a new
Adrien added the comment:
Actually, this also occurs while using "astimezone()" on a custom child class
(I suppose this method is used by "fromtimestamp()").
--
___
Python tracker
<https://bug
New submission from Adrien :
Hello.
I created a class inheriting from "datetime.datetime".
While creating a new instance using the classmethod "fromtimestamp" it seems to
work, except if I provide a timezone object. In such case, the returned object
is of base type dateti
New submission from Adrien :
In the documentation
(https://docs.python.org/3/library/inspect.html#types-and-members), the
attribute `f_restricted` is listed as a member of `frame` objects. However,
while trying to access it or even when calling `help()`, the object does not
seem to have
Adrien added the comment:
Thanks for your attention to this issue.
I am not surprised that you was not able to reproduce it as it seems deeply
related to multiprocessing and threads.
I tested it on 3 others completely different computers, and I was able to
reproduce the error for 2 of them
New submission from Adrien :
Hi.
I use a worker Thread to which I communicate trough a multiprocessing Queue. I
would like to properly close this daemon thread when my program terminates, so
I registered a "stop()" function using "atexit.register()".
However, this
New submission from Adrien :
Hello.
I am strangely encountering an error whil trying to run "python -m trace -c
script.py" on this simple code:
> import multiprocessing
> queue = multiprocessing.Queue()
> queue.put("a")
Which raises on Windows 10 using Python 3.6
Adrien added the comment:
Thanks @martin.panter for your response.
I will close this issue as "not a bug" as there is a workaround and as the
current behavior could be deduced by reading carefully the entire documentation.
--
resolution: -> not a bug
stage: -> resol
New submission from Adrien :
Hello.
The following code produces a improper compressed "test.txt.gzip" file:
import gzip
import shutil
input_path = "test.txt"
output_path = input_path + ".gzip"
with open(input_path, 'w'
New submission from Adrien Pré:
This issue created on python-docker project
https://github.com/docker-library/python/issues/210 indicates that python
cannot import a module if it is located on a docker-volume.
yosifkit's comment suggest there is an issue in the UNC resolution with
Changes by Adrien Saladin :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue10839>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Adrien Saladin :
Hi,
The following script shows two problems with email.mime.text.MIMEText:
- first the use of msg['To'] seems confusing because its dictionnary-like
syntax made me think it acts as a "set or replace", but in fact is working as a
strea
15 matches
Mail list logo