[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-16 Thread STINNER Victor
STINNER Victor added the comment: I'm now able to build the Python documentation with Sphinx 3.2.1 without modifying the Doc/Makefile, so using -W option (treat warnings as errors): there are no more Sphinx 3 warnings. When Sphinx 3 will be more widely available (ex: in Linux distributions),

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21019 pull_request: https://github.com/python/cpython/pull/21901 ___ Python tracker ___ __

[issue41564] Cannot access member "hex" for type "ByteString"

2020-08-16 Thread Eric V. Smith
Eric V. Smith added the comment: Without some example code that shows the problem we can't help you. Have you considered that this is a bug with pyright, not a bug with python itself? -- nosy: +eric.smith status: open -> pending ___ Python tracker

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1abeda80f760134b4233608e2c288790f955b95a by Victor Stinner in branch 'master': bpo-40204: Fix duplicated productionlist names in the doc (GH-21900) https://github.com/python/cpython/commit/1abeda80f760134b4233608e2c288790f955b95a -- _

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21018 pull_request: https://github.com/python/cpython/pull/21900 ___ Python tracker ___ __

[issue41521] Replace whitelist/blacklist with allowlist/denylist

2020-08-16 Thread STINNER Victor
STINNER Victor added the comment: I don't think that it's worth it to backport these changes, so I close the issue. Again, to avoid reintroducing such terms, I proposed https://github.com/python/devguide/issues/605 to define some general guidelines on the terminology. Thanks for reviews.

[issue41521] Replace whitelist/blacklist with allowlist/denylist

2020-08-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset fbf43f051e7bf479709e122efa4b6edd4b09d4df by Victor Stinner in branch 'master': bpo-41521: Rename blacklist parameter to not_exported (GH-21824) https://github.com/python/cpython/commit/fbf43f051e7bf479709e122efa4b6edd4b09d4df -- _

[issue41565] from os.path import join join('3', '{:3') return '{:3' in windows

2020-08-16 Thread song super
New submission from song super <2262720...@qq.com>: python3.6 from os.path import join join('3', '{:3') return '{:3' in windows,However,join('3', '{:3') return '3//{:3' in linux,I think this is a bug -- components: Windows files: python bug.zip hgrepos: 391 messages: 375524 n

[issue41564] Cannot access member "hex" for type "ByteString"

2020-08-16 Thread Matt Joiner
New submission from Matt Joiner : I get this error when running pyright for a type of typing.ByteString. All the implementations of ByteString (bytes, bytearray, memoryview) have the hex method, so this seems unexpected? -- components: Library (Lib) messages: 375523 nosy: anacrolix pr

[issue40424] AIX: makexp_aix, parallel build (failures) and ld WARNINGS

2020-08-16 Thread Michael Felt
Michael Felt added the comment: If #19521 had been merged I would be all for closing this as a duplicate. However, if i have read all the comments correctly noone has tested the other pr. As the approaches are quite different I think both should be open until a decision is made on the bette

[issue38379] finalizer resurrection in gc

2020-08-16 Thread Lewis Gaul
Lewis Gaul added the comment: You're right that's how I had interpreted it, thanks for clarifying. I was wondering if this could be related to an issue I've hit with gc.collect() getting slower and slower in a test suite, but that now seems unlikely, so I won't go into that here. --

[issue38379] finalizer resurrection in gc

2020-08-16 Thread Tim Peters
Tim Peters added the comment: I suspect you're reading some specific technical meaning into the word "block" that the PR and release note didn't intend by their informal use of the word. But I'm unclear on what technical meaning you have in mind. Before the change, gc "just gave up" after se

[issue13322] The io module doesn't support non-blocking files

2020-08-16 Thread Bar Harel
Bar Harel added the comment: I have experienced both ×´TypeError: can't concat NoneType to bytes×´, and the fact BufferedIO returns None. @pitrou @izbyshev contrary to your belief, I think there is at least some interest in this issue. Every few months another ticket is opened about a differen

[issue38379] finalizer resurrection in gc

2020-08-16 Thread Lewis Gaul
Lewis Gaul added the comment: I noticed this bug is mentioned in the 3.9 release notes with a note similar to the title of the 4th PR: "garbage collection does not block on resurrected objects". I can't see any mention of a blocking issue here on the issue: > The bug: the stats keep claimi

[issue38628] Issue with ctypes in AIX

2020-08-16 Thread Vinay Sajip
Vinay Sajip added the comment: > Implementing a work-around solely based on x64 ABI is not correct. But AFAIK the test_array_in_struct test passes on AIX and exercises the workaround - why does it work if the workaround is faulty? If OTOH the test is faulty, could you update it with code tha

[issue41503] Race between setTarget and flush in logging.handlers.MemoryHandler

2020-08-16 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue41503] Race between setTarget and flush in logging.handlers.MemoryHandler

2020-08-16 Thread miss-islington
miss-islington added the comment: New changeset 08f0a2109297e8a64e8636d47dce737e5b7ccf2c by Miss Islington (bot) in branch '3.8': [3.8] bpo-41503: Fix race between setTarget and flush in logging.handlers.MemoryHandler (GH-21765) (GH-21898) https://github.com/python/cpython/commit/08f0a210929

[issue35058] Unable to Install Python on Windows

2020-08-16 Thread sahiba
sahiba added the comment: Can you please find the log files and attach them or you could also provide the download link as without it there is nothing that can be done. -- nosy: +sahiba007 ___ Python tracker __

[issue41032] locale.setlocale example incorrect

2020-08-16 Thread Barathwaja
Barathwaja added the comment: Hi Marco, Can I work on this? -- nosy: +Barathwaja ___ Python tracker ___ ___ Python-bugs-list maili

[issue41541] [PATCH] Make pty.spawn set window size

2020-08-16 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Further proposal: Rename my _login_tty to login_tty and make it available as a part of the pty library. Note that usually login_tty accompanies openpty and forkpty on a system; for example, see https://www.man7.org/linux/man-pages/man3/login_tty.3.html ht

[issue41503] Race between setTarget and flush in logging.handlers.MemoryHandler

2020-08-16 Thread miss-islington
miss-islington added the comment: New changeset 2c050e52f1ccf5db03819e4ed70690521d67e9fa by Miss Islington (bot) in branch '3.9': [3.9] bpo-41503: Fix race between setTarget and flush in logging.handlers.MemoryHandler (GH-21765) (GH-21897) https://github.com/python/cpython/commit/2c050e52f1c

[issue38628] Issue with ctypes in AIX

2020-08-16 Thread David Edelsohn
David Edelsohn added the comment: Yes, it doesn't appear that it will be solved in libffi. I don't fully understand the need for the work-around because it should gracefully overflow to the stack. I can't tell if the issue is a problem with arguments passed by value that need to be passed

[issue41503] Race between setTarget and flush in logging.handlers.MemoryHandler

2020-08-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +21016 pull_request: https://github.com/python/cpython/pull/21897 ___ Python tracker _

[issue41503] Race between setTarget and flush in logging.handlers.MemoryHandler

2020-08-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +21017 pull_request: https://github.com/python/cpython/pull/21898 ___ Python tracker ___ __

[issue41503] Race between setTarget and flush in logging.handlers.MemoryHandler

2020-08-16 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 2353d77fad7ed9d11d8a4d66b5dd1306cdb94125 by Irit Katriel in branch 'master': bpo-41503: Fix race between setTarget and flush in logging.handlers.MemoryHandler (GH-21765) https://github.com/python/cpython/commit/2353d77fad7ed9d11d8a4d66b5dd1306cdb9

[issue38628] Issue with ctypes in AIX

2020-08-16 Thread Vinay Sajip
Vinay Sajip added the comment: > an array definition in a structure is always part of the struct itself and is > never a pointer True, but a problem only arises in practice when passing by value in registers. It's still an open libffi issue that doesn't look like it's going to be solved any

[issue33051] IDLE: Create new tab for editor options in configdialog

2020-08-16 Thread E. Paine
E. Paine added the comment: Thank you Cheryl for linking this issue on #40468 (I didn't find this when researching for existing issues). I have briefly tested the PR and it seems perfect, though seeing `init_validators` made me think we should possibly have an ABC for the tab pages. This wou

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2020-08-16 Thread aaliddell
Change by aaliddell : -- nosy: +aaliddell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue41503] Race between setTarget and flush in logging.handlers.MemoryHandler

2020-08-16 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38628] Issue with ctypes in AIX

2020-08-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: As mentioned before I haven't studied the ctypes code base, but I am a bit worried about the use of MAX_STRUCT_SIZE, an array definition in a structure is always part of the struct itself and is never a pointer. I agree with Vinay that there needs to be a u

[issue41563] .python_history file causes considerable slowdown

2020-08-16 Thread bytecookie
bytecookie added the comment: Using Python 3.8.3 on Windows 10 1803 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue41563] .python_history file causes considerable slowdown

2020-08-16 Thread Denniver
New submission from Denniver : The seemingly unlimited growth of the ".python_history"-file seems to cause a massive slowdown when starting or exiting python, the same after running commands. On one machine python took about 3 minutes to start and I found out that while it is seemingly doing

[issue41551] test.support has way too many imports in libregrtest

2020-08-16 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.