Re: compile error building building Python-3.8.5 on Debian 8.11 (yes, old!)

2020-09-03 Thread Chris Angelico
On Fri, Sep 4, 2020 at 3:01 PM Cameron Simpson wrote: > > I've built 3.8.5 on a few other machines happily recently. > > Building Python 3.8.5, running make and gcc (Debian 4.9.2-10+deb8u2) > 4.9.2 I get this: > > % gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O3

compile error building building Python-3.8.5 on Debian 8.11 (yes, old!)

2020-09-03 Thread Cameron Simpson
I've built 3.8.5 on a few other machines happily recently. Building Python 3.8.5, running make and gcc (Debian 4.9.2-10+deb8u2) 4.9.2 I get this: % gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter

Re: Threading plus multiprocessing plus cv2 error

2020-09-03 Thread Python
On Sat, Aug 29, 2020 at 06:24:10PM +1000, John O'Hagan wrote: > Dear list > > Thanks to this list, I haven't needed to ask a question for > a very long time, but this one has me stumped. > > Here's the minimal 3.8 code, on Debian testing: > > - > from multiprocessing import Process > from

[issue39603] [security] http.client: HTTP Header Injection in the HTTP method

2020-09-03 Thread Larry Hastings
Larry Hastings added the comment: New changeset 524b8de630036a29ca340bc2ae6fd6dc7dda8f40 by Victor Stinner in branch '3.5': bpo-39603: Prevent header injection in http methods (GH-18485) (#21946) https://github.com/python/cpython/commit/524b8de630036a29ca340bc2ae6fd6dc7dda8f40 --

[issue41678] File-level, optionally external sorting

2020-09-03 Thread Platon workaccount
Platon workaccount added the comment: Why is shutil.make_archive suitable for a standard library but the file sorter not? -- ___ Python tracker ___

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Guido van Rossum
Change by Guido van Rossum : -- stage: resolved -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Replacement for pygtk?

2020-09-03 Thread Michael Torrie
On 9/3/20 1:17 PM, Grant Edwards wrote: > On 2020-09-03, Grant Edwards wrote: >> [...] >> >> Is pygobject the replacement for pygtk? > > It seems to be. I've started porting my pygtk app, and it's going > pretty smoothly. I've already got my two custom widgets working. > Oddly, the main module

[issue41678] File-level, optionally external sorting

2020-09-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am of the same opinion as Raymond -- ___ Python tracker ___ ___ Python-bugs-list

[issue41678] File-level, optionally external sorting

2020-09-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: This doesn't seem like something that should be in the standard library. It is more of an application than a building block for writing code. It is a good candidate for an external package on PyPI rather than the standard library. -- nosy:

[issue41672] imaplib: wrong return type documented

2020-09-03 Thread Eric V. Smith
Eric V. Smith added the comment: For the case of returning a list of non-tuples, all of my code assumes bytes, so I think changing the docs to say bytes is good. "bytes-like" might be overkill. Unfortunately, I don't know enough to say what encoding is returned: I just assume utf-8,

[issue41411] Improve and consolidate f-strings docs

2020-09-03 Thread Guido van Rossum
Guido van Rossum added the comment: @ezio.melotti: What is this waiting for at this point? There was some good energy here but progress seems halted, waiting for some kind of decision. -- ___ Python tracker

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: That's true. Is a bit sad because a considerable amount of problems we experienced with the new parser were due to invalid casts from these structures :( -- ___ Python tracker

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, I don't believe that will work -- each node type (e.g. `expr_ty`, `mod_ty`) has its own enum for `kind` (e.g. `_expr_kind`, `_mod_kind`) and some don't have a `kind` field at all (e.g. `keyword_ty`). So you'd have to add an extra field to each node type

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Given that using asdl_seq currently means casting from void*, we could maybe have a set of macros like asdl_seq_GET that are type specialized (there aren't many of them) and in debug mode they can check that the ->kind attribute is consistent with

[issue41705] os.makedirs fails on long-path UNC-paths if it is the first sub-folder

2020-09-03 Thread Eryk Sun
Eryk Sun added the comment: This behavior is due to issue 37609, i.e. ntpath.splitdrive fails for "UNC" device paths. >>> ntpath.splitdrive('//?/UNC/server/share') ('//?/UNC', '/server/share') The result should be "//?/UNC/server/share". A path on the "UNC" device requires a share

[issue41708] request make uninstall target

2020-09-03 Thread Jeff Scheibly
New submission from Jeff Scheibly : I went through and ran the make altinstall from the Python3.8.3.tar.gz and after running the .configure --enable-optimizations, I ran make altinstall, which was successful. Would it be possible to get a uninstall target added so that in the case you may

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Guido van Rossum
Guido van Rossum added the comment: FWIW the bug was a classic type error -- in a decent language the asdl_seq type would have been generic and this would have been caught without an ASAN builder... -- ___ Python tracker

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Brad Larsen
Brad Larsen added the comment: Nice work with the quick fix! I'm also happy to see the addition of the Linux ASAN builder -- that should help detect memory errors earlier on in the future. -- ___ Python tracker

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-09-03 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 40e2444c364eede59f193979df5a02ed958f56e9 by Miss Islington (bot) in branch '3.8': bpo-39010: Improve test shutdown (GH-22066) (#22083) https://github.com/python/cpython/commit/40e2444c364eede59f193979df5a02ed958f56e9 --

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-03 Thread STINNER Victor
STINNER Victor added the comment: I can reproduce the issue with: $ LC_ALL=xxx ./python -m test test_c_locale_coercion -m test_PYTHONCOERCECLOCALE_set_to_one -v (...) == ERROR: test_PYTHONCOERCECLOCALE_set_to_one

[issue41696] asyncio.run interacts surprisingly with debug mode

2020-09-03 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset a2680058ee1f43cab282e9f4c2b35fd89464ebb6 by Miss Islington (bot) in branch '3.9': bpo-41696: Fix handling of debug mode in asyncio.run (GH-22069) (#22071) https://github.com/python/cpython/commit/a2680058ee1f43cab282e9f4c2b35fd89464ebb6

[issue41696] asyncio.run interacts surprisingly with debug mode

2020-09-03 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 1f5f12737755f246fee83a54c600779ad76934a4 by Miss Islington (bot) in branch '3.8': bpo-41696: Fix handling of debug mode in asyncio.run (GH-22069) (#22072) https://github.com/python/cpython/commit/1f5f12737755f246fee83a54c600779ad76934a4

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-09-03 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 8d68e59f11267ded765d4af6d71a49784a12fad5 by Miss Islington (bot) in branch '3.9': bpo-39010: Improve test shutdown (GH-22066) (#22082) https://github.com/python/cpython/commit/8d68e59f11267ded765d4af6d71a49784a12fad5 --

[issue41707] Builtins like int() and float() should not blindly treat buffer protocol bytes as string characters.

2020-09-03 Thread Alex Mohr
New submission from Alex Mohr : Instead they should request and take into consideration the buffer object's data format. For example, surely we don't want to treat floating point binary representations as string characters: >>> from array import array >>> a = array('f', [1.2, 2.3, 3.4]) >>>

[issue41706] docs: operator dunder (`__add__`, et al.) invocations described incorrectly

2020-09-03 Thread William Chargin
Change by William Chargin : -- keywords: +patch pull_requests: +21170 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22084 ___ Python tracker ___

[issue41706] docs: operator dunder (`__add__`, et al.) invocations described incorrectly

2020-09-03 Thread William Chargin
New submission from William Chargin : The operator override dunder methods, like `__add__`, are described in the “Data model” docs here: Those docs say: > For instance, to evaluate the expression `x + y`, where `x` is an >

Re: Regex to change multiple lines

2020-09-03 Thread Chris Angelico
On Fri, Sep 4, 2020 at 5:36 AM Termoregolato wrote: > > Il 03/09/20 16:10, Termoregolato wrote: > > > I need to change every occurrence of a sequence between two chars > > Thanks to all for your replies, it's time to learn regular expressions, > but now I've some valid pointers from you. > > The

Re: Replacement for pygtk?

2020-09-03 Thread Grant Edwards
On 2020-09-03, Grant Edwards wrote: > [...] > > Is pygobject the replacement for pygtk? It seems to be. I've started porting my pygtk app, and it's going pretty smoothly. I've already got my two custom widgets working. Oddly, the main module provided by the gobject package is called "gi". --

[issue41705] os.makedirs fails on long-path UNC-paths if it is the first sub-folder

2020-09-03 Thread Safihre
Change by Safihre : -- title: os.makedirs fails long-path UNC-paths if it is the first sub-folder -> os.makedirs fails on long-path UNC-paths if it is the first sub-folder type: -> crash ___ Python tracker

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-09-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +21169 pull_request: https://github.com/python/cpython/pull/22083 ___ Python tracker ___

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-09-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +21168 pull_request: https://github.com/python/cpython/pull/22082 ___ Python tracker ___

[issue41702] Inconsistent behaviour in strftime

2020-09-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: 3.8.2 (on Alpine Linux under WSL) produces '0020-10-05', just like your 3.6 example. Not seeing anything obvious in commit history that would break it for 3.7. That said, 3.7 is in security fix only mode at this point (see

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-09-03 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset a986b061a3cd4661eb9f857e2936291f1847bd15 by Miss Islington (bot) in branch '3.8': bpo-39010: Fix errors logged on proactor loop restart (GH-22017) (#22035) https://github.com/python/cpython/commit/a986b061a3cd4661eb9f857e2936291f1847bd15

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-09-03 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 49571c0b0e57e20d85727c738d9a0fe342dd2938 by Miss Islington (bot) in branch '3.9': bpo-39010: Fix errors logged on proactor loop restart (GH-22017) (#22034) https://github.com/python/cpython/commit/49571c0b0e57e20d85727c738d9a0fe342dd2938

Re: Regex to change multiple lines

2020-09-03 Thread Termoregolato
Il 03/09/20 16:10, Termoregolato wrote: I need to change every occurrence of a sequence between two chars Thanks to all for your replies, it's time to learn regular expressions, but now I've some valid pointers from you. The work I must do here, to explain, is to get some markdown files,

[issue41705] os.makedirs fails long-path UNC-paths if it is the first sub-folder

2020-09-03 Thread Safihre
New submission from Safihre : It consistently fails on the first directory in a long-path UNC notation server-folder. >>> os.makedirs(r"\\?\UNC\DiskStation\already_exists", exist_ok=True) Traceback (most recent call last): File "", line 1, in File

Pyserial and some half-duplex woes.

2020-09-03 Thread Mark Barton
Hey All, I am using Microchip's Python program to download code to a PIC32 microprocessor via Pyserial. There is also Microchip's bootloader code running on the PIC side. This works very well using the a standard serial hardware directly connected to a USB to serial adapter to one of the

[issue41704] logging module needs some form of introspection or debugging support

2020-09-03 Thread Vinay Sajip
Vinay Sajip added the comment: > if any author of any module that you use changes the global logger > configuration This is an anti-pattern - any library module which does this should have a bug report raised about it. Only applications should change the logging configuration. Can you

Replacement for pygtk?

2020-09-03 Thread Grant Edwards
Many years ago I wrote an app that uses pygtk for it's GUI. I still use the app occasionally, and would like to keep it alive. Emerge informs me that dev-python/pygtk is scheduled for removal. Is pygobject the replacement for pygtk? -- Grant --

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks for the report Brad, and thanks for the quick fix Pablo! -- ___ Python tracker ___ ___

[issue41704] logging module needs some form of introspection or debugging support

2020-09-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-03 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch nosy: +corona10 nosy_count: 2.0 -> 3.0 pull_requests: +21167 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22081 ___ Python tracker

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset be17295280c89771c80f317da072f6c0d016cc60 by Pablo Galindo in branch '3.9': [3.9] bpo-41697: Correctly handle KeywordOrStarred when parsing arguments in the parser (GH-22077) (GH-22079)

[issue41704] logging module needs some form of introspection or debugging support

2020-09-03 Thread Jack Jansen
New submission from Jack Jansen : The logging module and its API make it easy to modify the behaviour of all loggers used in any package in your program. Unfortunately the downside of this is that if any author of any module that you use changes the global logger configuration you get in a

Re: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-03 Thread Ian Hill
If you don't need to do any specific data analysis using pandas, try openpyxl. It will read xlsm files and it quite straight forward to use. https://openpyxl.readthedocs.io/en/stable/ pip install openpyxl. Ian -- https://mail.python.org/mailman/listinfo/python-list

[issue41703] Most bytecode changes are absent from Python 3.9 What's new

2020-09-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +Mark.Shannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Regex to change multiple lines

2020-09-03 Thread Tim Chase
Derp, sorry about the noise. I mistook this message for a similar dialog over on the Vim mailing list. For Python, you want re.sub(r"%%(.*?)%%", r"\1", s, flags=re.S) or put the flag inline re.sub(r"(?s)%%(.*?)%%", r"\1", s) -tim On 2020-09-03 09:27, Tim Chase wrote: > On 2020-09-03

Re: Regex to change multiple lines

2020-09-03 Thread Tim Chase
On 2020-09-03 16:10, Termoregolato wrote: > -- original > This is the %%text that i must modify%%, on a line, %%but also > on the others%% that are following > > I need to change to > > -- desidered > This is the text that i must modify, on a line, but > also on the others that are following

[issue39883] Use BSD0 license for code in docs

2020-09-03 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 9fef7c54a0adfade5ec94259d97f22e05fe9e3e3 by Miss Islington (bot) in branch '3.8': bpo-39883: Use BSD0 license for code in docs (GH-17635) (GH-22074) https://github.com/python/cpython/commit/9fef7c54a0adfade5ec94259d97f22e05fe9e3e3

[issue39883] Use BSD0 license for code in docs

2020-09-03 Thread Guido van Rossum
Guido van Rossum added the comment: Todd, you have a PR for the pydotorg repo as well, right? Can you link it here? -- versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker

Re: Regex to change multiple lines

2020-09-03 Thread Chris Angelico
On Fri, Sep 4, 2020 at 12:16 AM Termoregolato wrote: > > Hi. I've on file, containing multiple lines, and I need to change every > occurrence of a sequence between two chars, in this case "%%". > > -- original > This is the %%text that i must modify%%, on a line, %%but also > on the others%% that

[issue39883] Use BSD0 license for code in docs

2020-09-03 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset a5d0232b0d2cbcbdeb0d89ea3d8826241a53a7c7 by Miss Islington (bot) in branch '3.9': bpo-39883: Use BSD0 license for code in docs (GH-17635) (GH-22073) https://github.com/python/cpython/commit/a5d0232b0d2cbcbdeb0d89ea3d8826241a53a7c7

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +21166 pull_request: https://github.com/python/cpython/pull/22079 ___ Python tracker ___

[issue41672] imaplib: wrong return type documented

2020-09-03 Thread Dong-hee Na
Dong-hee Na added the comment: @eric What do you think about? -- nosy: +corona10, eric.smith ___ Python tracker ___ ___

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 315a61f7a9418d904e0eea14b1f054fac3a90e9f by Pablo Galindo in branch 'master': bpo-41697: Correctly handle KeywordOrStarred when parsing arguments in the parser (GH-22077)

[issue41692] Deprecate immortal interned strings: PyUnicode_InternImmortal()

2020-09-03 Thread Dong-hee Na
Dong-hee Na added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41692] Deprecate immortal interned strings: PyUnicode_InternImmortal()

2020-09-03 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Regex to change multiple lines

2020-09-03 Thread Termoregolato
Hi. I've on file, containing multiple lines, and I need to change every occurrence of a sequence between two chars, in this case "%%". -- original This is the %%text that i must modify%%, on a line, %%but also on the others%% that are following I need to change to -- desidered This is the

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > return _Py_Call(_PyPegen_dummy_name(p), args, keywords, EXTRA_EXPR(first, > last->element)); Actually, this is not enough because last->element may be a keyword_ty. I have updated PR 22077 to receive the EXTRA macro in the call because that

[issue41701] Buildbot web page: connection lost after 1 minute, then display "Connection restored" popup

2020-09-03 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +EWDurbin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30826] More details in reference 'Looping through a list in Python and modifying it'

2020-09-03 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 5.0 -> 6.0 pull_requests: +21165 pull_request: https://github.com/python/cpython/pull/22078 ___ Python tracker ___

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have added a new builbot builder to detect these problems in the future more immediately: https://buildbot.python.org/all/#/builders/582 For example, building the current master: https://buildbot.python.org/all/#/builders/582/builds/1 And with PR

[issue39727] cgi.parse() fatally attempts str.decode when handling multipart/form-data

2020-09-03 Thread Robert
Robert added the comment: Would this patch already solve? : https://github.com/python/cpython/pull/19130 There seems to be another bug: The strange 'latin-1' default encoding of cgi.parse(), which only has effect in non-mulitpart: if hasattr(fp,'encoding'): encoding =

[issue41703] Most bytecode changes are absent from Python 3.9 What's new

2020-09-03 Thread Matthieu Dartiailh
New submission from Matthieu Dartiailh : A number of bytecodes have been added removed in Python 3.9 as documented in https://docs.python.org/3.9/library/dis.html. However only the addition of LOAD_ASSERTION_ERROR is currently documented in What's New. The relevant bpo issues are: -

[issue41191] PyType_FromModuleAndSpec is not mentioned in 3.9 What's new

2020-09-03 Thread Matthieu Dartiailh
Change by Matthieu Dartiailh : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Symlinks already present

2020-09-03 Thread Eryk Sun
On 9/3/20, Greg Ewing wrote: > On 2/09/20 6:55 am, Eryk Sun wrote: >> According to POSIX (st_dev, st_ino), it's the same directory, yet the >> ".." entry evaluates depending on the path parsing context: >> >> >>> os.lstat('test1/spam/..').st_ino == os.lstat('test1').st_ino >> True >>

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The reason this does not manifest itself without the address sanitizer is because that information is thrown away later, and the line and col numbers for the Call node end being correct. -- ___ Python

[issue41702] Inconcistent behaviour in strftime

2020-09-03 Thread Valdemar Rolfsen
New submission from Valdemar Rolfsen : Inconsistency in strftime between python 3.6 and 3.7 when parsing first-century dates. Python 3.6 >>> datetime.datetime.strptime(d, "%Y-%m-%d").strftime("%Y-%m-%d") '0020-10-05' Python 3.7 >>> datetime.datetime.strptime("0020-10-05",

[issue38762] Logging displays wrong "processName" if "sys.modules" is cleared in child process

2020-09-03 Thread Vinay Sajip
Vinay Sajip added the comment: See also bpo-8200, which relates to the way the code is currently. -- ___ Python tracker ___ ___

Re: Symlinks already present

2020-09-03 Thread Greg Ewing
On 2/09/20 6:55 am, Eryk Sun wrote: According to POSIX (st_dev, st_ino), it's the same directory, yet the ".." entry evaluates depending on the path parsing context: >>> os.lstat('test1/spam/..').st_ino == os.lstat('test1').st_ino True >>> os.lstat('test2/spam/..').st_ino ==

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +21164 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22077 ___ Python tracker

[issue41697] Heap buffer overflow in the parser

2020-09-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think I have the problem. The problem is that the asdl_seq that is b is filled with KeywordOrStarred* not with expr_ty. We need to do: KeywordOrStarred* last = asdl_seq_GET(b, asdl_seq_LEN(b)-1); return _Py_Call(_PyPegen_dummy_name(p), args,

[issue41701] Buildbot web page: connection lost after 1 minute, then display "Connection restored" popup

2020-09-03 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pablogsal, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41701] Buildbot web page: connection lost after 1 minute, then display "Connection restored" popup

2020-09-03 Thread STINNER Victor
New submission from STINNER Victor : Since the buildbot server migrated to a new machine, the web page losts is connection and the whole web page is reloaded every minute. Try for example: https://buildbot.python.org/all/#/release_status The new buildbot.python.org machine is now behind a

[issue40941] Merge generator.gi_running and frame executing flag into single frame state

2020-09-03 Thread STINNER Victor
STINNER Victor added the comment: The change introduced compiler warnings on Windows: c:\vstinner\python\master\python\ceval.c(1448): warning C4244: '=': conversion from '__int64' to 'int', possible loss of data [C:\vstinner\python\master\PCbui ld\pythoncore.vcxproj]

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-03 Thread STINNER Victor
STINNER Victor added the comment: The test also fails on PPC64 Fedora 3.x: https://buildbot.python.org/all/#/builders/237/builds/40 The test pass on PPC64 Fedora 3.8, the latest build still used "LANG=en_US.UTF-8": https://buildbot.python.org/all/#/builders/163/builds/12 The test still

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-03 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/34/builds/16 pythoninfo: pre_config[utf8_mode]: 1 os.environ[LANG]: C.UTF-8 sys.filesystem_encoding: utf-8/surrogateescape sys.flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0,

[issue27674] Quote mark breaks http.cookies, Cookie.py processing

2020-09-03 Thread Benoît Brayer
Benoît Brayer added the comment: Please find what Django's devs have done to parse cookies: https://github.com/django/django/commit/93a135d111c2569d88d65a3f4ad9e6d9ad291452 I hope this might help to find a solution. -- nosy: +brayer.benoit ___

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-09-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 71d1bd9569c8a497e279f2fea6fe47cd70a87ea3 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _signal module to multi-phase init (PEP 489) (GH-22049) https://github.com/python/cpython/commit/71d1bd9569c8a497e279f2fea6fe47cd70a87ea3