[issue42314] Incorrect documentation entry for venv

2020-11-10 Thread Adrien
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

[issue38520] There is no proper way to know if a process is the main one

2019-10-18 Thread Adrien
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

[issue37365] RecursionError not caught explicitly may crash with "Aborted (core dumped)"

2019-06-22 Thread Adrien
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

[issue37365] RecursionError not caught explicitly may crash with "Aborted (core dumped)"

2019-06-21 Thread Adrien
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

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2018-11-30 Thread Adrien
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

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2018-11-30 Thread Adrien
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

[issue35038] AttributeError: 'frame' object has no attribute 'f_restricted'

2018-10-21 Thread Adrien
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

[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-17 Thread Adrien
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

[issue33076] Trying to cleanly terminate a threaded Queue at exit of program raises an "EOFError"

2018-03-14 Thread Adrien
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

[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-11 Thread Adrien
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

[issue32698] Improper gzip compression if output file extension is not "gz"

2018-01-29 Thread Adrien
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

[issue32698] Improper gzip compression if output file extension is not "gz"

2018-01-28 Thread Adrien
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'

[issue30865] python cannot import module located on a "VOLUME" directory

2017-07-06 Thread Adrien Pré
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

[issue10839] email module should not allow some header field repetitions

2011-01-05 Thread Adrien Saladin
Changes by Adrien Saladin : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue10839> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10839] email module should not allow some header field repetitions

2011-01-05 Thread Adrien Saladin
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