[issue39851] tarfile: Exception ignored in (... stdout ...) BrokenPipeError

2020-03-04 Thread Dong-hee Na
Dong-hee Na added the comment: I will take look at this issue :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39859] set_herror should not throw away constness of hstrerror

2020-03-04 Thread Andy Lester
Change by Andy Lester : -- keywords: +patch pull_requests: +18147 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18790 ___ Python tracker ___

[issue39859] set_herror should not throw away constness of hstrerror

2020-03-04 Thread Andy Lester
New submission from Andy Lester : set_herror builds a string by calling hstrerror but downcasts its return value to char *. It should be const char *. -- components: Interpreter Core messages: 363418 nosy: petdance priority: normal severity: normal status: open title: set_herror

[issue39573] Make PyObject an opaque structure in the limited C API

2020-03-04 Thread Andy Lester
Change by Andy Lester : -- pull_requests: +18146 pull_request: https://github.com/python/cpython/pull/18789 ___ Python tracker ___

[issue39858] bitfield layout wrong in ctypes

2020-03-04 Thread Sam Price
New submission from Sam Price : if 8 1 byte fields are included in a ctype field, it allows an extra byte to be included in the packing when there is no room left for the next field. If I put the bitfields in a child structure then I get expected results. In [35]: run ctypeSizeTest.py Size

[issue39856] glob : some 'unix style' glob items are not supported

2020-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be similar to issue9584. Below are the results in my zsh and bash in Mac. bash bash-3.2$ cd /tmp/ bash-3.2$ ls *py hello_1.py hello_2.py hello_3.py bash-3.2$ ls hell*{1-2}.* ls: hell*{1-2}.*: No such file or directory

[issue39844] IDLE 3.8.2 on MacOS 10.15.3 Launches to Black Windows

2020-03-04 Thread Jacin Ferreira
Jacin Ferreira added the comment: Screenshot showing results of turtle demo -- Added file: https://bugs.python.org/file48953/Screen Shot 2020-03-04 at 7.39.02 PM.png ___ Python tracker

[issue39762] PyLong_AS_LONG missing from longobject.h

2020-03-04 Thread Petr Viktorin
Petr Viktorin added the comment: No, in Python 2 the PyInt object (`int` in Python 2) always did fit into a C long -- that was the underlying storage. If it didn't fit, a PyLong object (`long` in Python 2) was used. Python 3 doesn't have PyInt, it only has PyLong (`int` in Python 3).

[issue39857] subprocess.run: add an extra_env kwarg to complement existing env kwarg

2020-03-04 Thread Mike Frysinger
New submission from Mike Frysinger : a common idiom i run into is wanting to add/set one or two env vars when running a command via subprocess. the only thing the API allows currently is inherting the current environment, or specifying the complete environment. this means a lot of copying

[issue3548] subprocess.pipe function

2020-03-04 Thread Mike Frysinger
Mike Frysinger added the comment: this would have been nice to have more than once in my personal projects, and in build/infra tooling for Chromium OS. our alternatives so far have been the obvious ones: use subprocess.run to capture & return the output, then manually feed that as the

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: If anyone else has a way to reproduce this issue, please run your tests with a 3.7/3.8/3.9 interpreter with the fix I committed applied and report back if you still see this failure on that line. I believe this to be fixed based on my own testing so I am

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread miss-islington
miss-islington added the comment: New changeset 6b452ff97f70eca79ab956987cc04b6586feca00 by Miss Islington (bot) in branch '3.8': bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786)

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread miss-islington
miss-islington added the comment: New changeset a12381233a243ba7d5151ebf060feb57dd540bef by Miss Islington (bot) in branch '3.7': bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786)

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: Testing by changing list(sys.modules.items()) to sys.modules.copy().items() internally with a large integration test that was reliably flaky on this line before shows that the .copy().items() worked. The test is reliable again. So I've gone ahead and

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 85cf1d514b84dc9a4bcb40e20a12e1d82ff19f20 by Gregory P. Smith in branch 'master': bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786)

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 10.0 -> 11.0 pull_requests: +18144 pull_request: https://github.com/python/cpython/pull/18787 ___ Python tracker

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +18145 pull_request: https://github.com/python/cpython/pull/18788 ___ Python tracker ___

[issue39776] PyContextVar_Get(): crash due to race condition in updating tstate->id

2020-03-04 Thread Yury Selivanov
Yury Selivanov added the comment: Thank you so much, Stefan, for looking into this. Really appreciate the help. -- ___ Python tracker ___

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +18143 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/18786 ___ Python tracker ___

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: Actually, I just realized we can't make these status checks required because they don't always run. :) Our Actions are smart enough to not run when they aren't necessary, i.e. doc changes don't run the rest of the checks. And so making the OS-specific tests

[issue39808] pathlib: reword docs for stat()

2020-03-04 Thread miss-islington
miss-islington added the comment: New changeset 6bb67452d4f21e2d948dafce7644b1d66e5efcb8 by Miss Islington (bot) in branch '3.7': [3.7] bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) (GH-18782) https://github.com/python/cpython/commit/6bb67452d4f21e2d948dafce7644b1d66e5efcb8

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-03-04 Thread Ryan Ware
Change by Ryan Ware : -- nosy: +ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: Serhiy: Why is dict.copy() not thread safe? if what you say of list(dict) being safe, iterating over that and looking up the keys would work. But all of this is entirely non-obvious to the reader of the code. all of these _look_ like they should be

[issue13487] inspect.getmodule fails when module imports change sys.modules

2020-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: fyi - we just had a test run into this (in a flaky manner - definitely a race condition) at work: ``` ... for f in inspect.stack(context=0) File "/inspect.py", line 1499, in stack return getouterframes(sys._getframe(1), context) File

[issue39808] pathlib: reword docs for stat()

2020-03-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +18141 pull_request: https://github.com/python/cpython/pull/18782 ___ Python tracker

[issue39808] pathlib: reword docs for stat()

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39808] pathlib: reword docs for stat()

2020-03-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +18142 pull_request: https://github.com/python/cpython/pull/18783 ___ Python tracker ___

[issue39808] pathlib: reword docs for stat()

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: New changeset 67152d0ed670227b61b5df683655b196ab04ca1a by Brett Cannon in branch 'master': bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) https://github.com/python/cpython/commit/67152d0ed670227b61b5df683655b196ab04ca1a -- nosy:

[issue39844] IDLE 3.8.2 on MacOS 10.15.3 Launches to Black Windows

2020-03-04 Thread Jacin Ferreira
Jacin Ferreira added the comment: I've attached the output of the test.pythoninfo as requested. I am in Dark mode all the time. I did try Light mode first thing as sometimes apps aren't updated to work in Dark mode but the same exact issue happened. --- bin % /usr/local/bin/python3 Python

[issue39844] IDLE 3.8.2 on MacOS 10.15.3 Launches to Black Windows

2020-03-04 Thread Jacin Ferreira
Jacin Ferreira added the comment: tk window showing black -- Added file: https://bugs.python.org/file48952/Screen Shot 2020-03-04 at 2.42.10 PM.png ___ Python tracker ___

[issue39298] add BLAKE3 to hashlib

2020-03-04 Thread Jack O'Connor
Jack O'Connor added the comment: I've just published some Python bindings for the Rust implementation on PyPI: https://pypi.org/project/blake3 > I'm guessing Python is gonna hold off until BLAKE3 reaches 1.0. That's very fair. The spec and test vectors are set in stone at this point, but

[issue39856] glob : some 'unix style' glob items are not supported

2020-03-04 Thread Je GeVa
New submission from Je GeVa : some common Unix style pathname pattern expansions are not supported : ~/ for $HOME ~user/ for $HOME of user {1,abc,999} for enumeration ex: lets say $ls ~ hello1.a hello2.a helli3.c then : $echo ~/hell*{1,3}.* hello1.a helli3.c while >> glob.glob("~/hel*") []

[issue32592] Drop support of Windows Vista and 7 in Python 3.9

2020-03-04 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-04 Thread STINNER Victor
STINNER Victor added the comment: > And to answer Victor's question on the PR that he closed, we can make any > individual status check required. Great! I saw a macOS failure this week which was caused by an internal CI error. I hope that it will be fixed soon. In the meanwhile, I would

[issue27793] Double underscore variables in module are mangled when used in class

2020-03-04 Thread Jan Christoph
Jan Christoph added the comment: Just because it is documented, doesn't mean it's not a bug or illogical and unexpected. -- ___ Python tracker ___

[issue27793] Double underscore variables in module are mangled when used in class

2020-03-04 Thread Jan Christoph
Jan Christoph added the comment: I would argue to reopen this. Seeing I and other people run into that issue (e.g. https://stackoverflow.com/q/40883083/789308) quiet frequently. Especially since it breaks the `global` keyword, e.g.: __superprivate = "mahog" class AClass(object): def

[issue5319] stdout error at interpreter shutdown fails to return OS error status

2020-03-04 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 nosy_count: 10.0 -> 11.0 pull_requests: +18140 pull_request: https://github.com/python/cpython/pull/18779 ___ Python tracker ___

[issue39855] test.test_subprocess.POSIXProcessTestCase.test_user fails in the limited build environment

2020-03-04 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18139 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18781 ___ Python tracker ___

[issue39851] tarfile: Exception ignored in (... stdout ...) BrokenPipeError

2020-03-04 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39852] IDLE: Copy/Paste behaves like Cut/Paste

2020-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: The standard and expected behavior is that pasting *without* a selection inserts, pasting *with* a selection replaces. Pasting with key, Edit menu, or context menu should be the same. This is what I see and what I *think* you are describing. If so,

[issue39844] IDLE 3.8.2 on MacOS 10.15.3 Launches to Black Windows

2020-03-04 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39842] partial_format()

2020-03-04 Thread Eric V. Smith
Eric V. Smith added the comment: Well, I'm the one who made them private, I can make them public if they're useful. But I won't do that if you're not willing to look at it. -- ___ Python tracker

[issue39844] IDLE 3.8.2 on MacOS 10.15.3 Launches to Black Windows

2020-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just upgraded to 10.14.6 and 3.8.2 and python/IDLE is normal. (I have so far closed the every login 'upgrade to Catalina' box because of reports like this.) Ned, is current 8.6.10 any better than 8.6.9? -- ___

[issue39842] partial_format()

2020-03-04 Thread Marco Sulla
Marco Sulla added the comment: @Eric V. Smith: that you for your effort, but I'll never use an API marked as private, that is furthermore undocumented. -- ___ Python tracker

[issue39842] partial_format()

2020-03-04 Thread Marco Sulla
Marco Sulla added the comment: > What would "{} {}".partial_format({}) return? `str.partial_format()` was proposed exactly to avoid such tricks. > It is not possible to implement a "safe" variant of str.format(), > because in difference to Template it can call arbitrary code If you read the

[issue39809] argparse: add max_text_width parameter to ArgumentParser

2020-03-04 Thread Luca
Luca added the comment: I opened two issues regarding the mypy error, I understand it is going to be fixed in typeshed: https://github.com/python/mypy/issues/8487 https://github.com/python/typeshed/issues/3806 -- ___ Python tracker

[issue39844] IDLE 3.8.2 on MacOS 10.15.3 Launches to Black Windows

2020-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is almost certainly a tcl/tk/tkinter on Catalina issue, not an IDLE issue. Screenshots are missing headlight colors, and that should be impossible to cause from Python. In standard python, try >>> import tkinter as tk >>> r = tk.Tk() Should see

[issue39760] ast.FormattedValue.format_spec unnecessarily wrapped in JoinedStr

2020-03-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue39848] Warning: 'classifiers' should be a list, got type 'tuple'

2020-03-04 Thread Marco Sulla
Change by Marco Sulla : -- resolution: -> duplicate stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

2020-03-04 Thread Marco Sulla
Marco Sulla added the comment: This is IMHO broken. 1. _ensure_list() allows strings, because, documentation says, they are split in finalize_options(). But finalize_options() does only split keywords and platforms. It does _not_ split classifiers. 2. there's no need that keywords,

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-04 Thread Steve Dower
Steve Dower added the comment: There's no PR required. We need to change the required check so when I disable new builds from running it won't break existing PRs. As for actually changing the files in the repo, I don't see any hurry there. We can clean up a few of them, and maybe I can move

[issue39520] AST Unparser can't unparse ext slices correctly

2020-03-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39682] pathlib.Path objects can be used as context managers

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: @Antoine I just quite follow what you mean. Are you saying ditch _closed and just leave the context manager to be a no-op? -- ___ Python tracker

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: Yes, I can do it. And to answer Victor's question on the PR that he closed, we can make any individual status check required. So probably: - Docs - Ubuntu - Windows x86 - Windows x64 Just let me know when we are ready to merge a PR and I will switch off

[issue39854] f-strings with format specifiers have wrong col_offset

2020-03-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: This looks like a duplicate of issue 35212 -- nosy: +BTaskaya, pablogsal ___ Python tracker ___

[issue39855] test.test_subprocess.POSIXProcessTestCase.test_user fails in the limited build environment

2020-03-04 Thread Matej Cepl
New submission from Matej Cepl : When testing Python from Python-3.9.0a3.tar.xz two test cases file in the limited build environment for openSUSE. We have very limited number of users there: stitny:/home/abuild/rpmbuild/BUILD/Python-3.9.0a3 # cat /etc/passwd root:x:0:0:root:/root:/bin/bash

[issue39842] partial_format()

2020-03-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What would "{} {}".partial_format({}) return? It is not possible to implement a "safe" variant of str.format(), because in difference to Template it can call arbitrary code and allows easily to produce arbitrary large strings. Template is more appropriate

[issue39842] partial_format()

2020-03-04 Thread Eric V. Smith
Eric V. Smith added the comment: I suggest using the version I posted here and see if it meets your needs. It uses the str.format parser to break the string into pieces, so it should be accurate as far as that goes. -- ___ Python tracker

[issue39842] partial_format()

2020-03-04 Thread Marco Sulla
Marco Sulla added the comment: > Do you have some concrete use case for this? Yes, for EWA: https://marco-sulla.github.io/ewa/ Since it's a code generator, it uses templates a lot, and much times I feel the need for a partial substitution. In the end I solved with some ugly tricks.

[issue39842] partial_format()

2020-03-04 Thread Eric V. Smith
Eric V. Smith added the comment: Do you have some concrete use case for this, or is this a speculative feature request? This will do what you want, although it uses some undocumented internals of the _string module. I've only tested it a little, and I've done especially little testing for

[issue39854] f-strings with format specifiers have wrong col_offset

2020-03-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39854] f-strings with format specifiers have wrong col_offset

2020-03-04 Thread Aaron Meurer
New submission from Aaron Meurer : This is tested in CPython master. The issue also occurs in older versions of Python. >>> ast.dump(ast.parse('f"{x}"')) "Module(body=[Expr(value=JoinedStr(values=[FormattedValue(value=Name(id='x', ctx=Load()), conversion=-1, format_spec=None)]))],

[issue39853] Segmentation fault with urllib.request.urlopen and threads

2020-03-04 Thread Anne Archibald
New submission from Anne Archibald : This was discovered in the astropy test suite, where ThreadPoolExecutor is used to concurrently launch a lot of urllib.request.urlopen. This occurs when the URLs are local files; I'm not sure about other URL schemes. The problem appears to occur in python

[issue39844] IDLE 3.8.2 on MacOS 10.15.3 Launches to Black Windows

2020-03-04 Thread Ned Deily
Ned Deily added the comment: Hmm, intersting! I have seen problems with black screens before when using some newer versions of Tk which is the main reason we are using Tk 8.6.8 on macOS. Let's try getting some more info: /usr/local/bin/python3.8 -m test.pythoninfo Also, which macOS

[issue35632] support unparse for Suite ast

2020-03-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I just removed Suite node in GH-18513, so I guess this can be closed. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue39827] setting a locale that uses comma as decimal separator breaks tkinter.DoubleVar

2020-03-04 Thread Till Korten
Till Korten added the comment: I just found the following code in lines 314-320 of [tkinter/ttk.py](https://github.com/python/cpython/blob/master/Lib/tkinter/ttk.py), which are clearly not localization-aware: ``` def _to_number(x): if isinstance(x, str): if '.' in x:

[issue39852] IDLE: Copy/Paste behaves like Cut/Paste

2020-03-04 Thread Dave Liptack
New submission from Dave Liptack : Python 3.8.1 IDLE 3.8.1 When COPYing text in IDLE, right-click and PASTE behaves like CUT/PASTE This also occurs with COPY -> Go to Line -> PASTE This does not occur with COPY -> left-click -> PASTE -- assignee: terry.reedy components: IDLE

[issue39851] tarfile: Exception ignored in (... stdout ...) BrokenPipeError

2020-03-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39828] json.tool should catch BrokenPipeError

2020-03-04 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-39851: "tarfile: Exception ignored in (... stdout ...) BrokenPipeError" which is a different but similar issue. -- ___ Python tracker

[issue39851] tarfile: Exception ignored in (... stdout ...) BrokenPipeError

2020-03-04 Thread STINNER Victor
New submission from STINNER Victor : When a stdout pipe is closed on the consumer side, Python logs an exception at exit: $ ./python -m tarfile -l archive.tar|true Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe I tried to

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

2020-03-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 942f7a2dea2e95a0fa848329565c0d0288d92e47 by Victor Stinner in branch 'master': bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode (GH-16959)" (GH-18767)

[issue39674] Keep deprecated features in Python 3.9 to ease migration from Python 2.7, but remove in Python 3.10

2020-03-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 942f7a2dea2e95a0fa848329565c0d0288d92e47 by Victor Stinner in branch 'master': bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode (GH-16959)" (GH-18767)

[issue39762] PyLong_AS_LONG missing from longobject.h

2020-03-04 Thread Enji Cooper
Enji Cooper added the comment: > The reason why there was the PyInt_AS_LONG macro is that it is very simple > and efficient. It never fails, because the value of the int object always > fits in the C long. PyInt_AsLong is much slower. If you know that the object > is int, you can use

[issue39530] Documentation about comparisons between numeric types is misleading

2020-03-04 Thread Mark Dickinson
Mark Dickinson added the comment: Thank you for reviewing! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39530] Documentation about comparisons between numeric types is misleading

2020-03-04 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 00c77ae55a82548a6b45af73cdf712ea34910645 by Victor Stinner in branch 'master': bpo-39763: Refactor setup.py (GH-18778) https://github.com/python/cpython/commit/00c77ae55a82548a6b45af73cdf712ea34910645 --

[issue39845] Argparse on Python 3.7.1 (Windows) appends double quotes to string if it ends with backward slash

2020-03-04 Thread paul j3
paul j3 added the comment: Could you show the sys.argv (for both the linux and windows cases)? print(args) (without your correction) might also help, just to see the 'raw' Namespace. (I'd have to restart my computer to explore the Windows behavior myself). --

[issue39844] IDLE 3.8.2 on MacOS 10.15.3 Launches to Black Windows

2020-03-04 Thread Jacin Ferreira
Jacin Ferreira added the comment: which -a python python3 /usr/bin/python /usr/local/bin/python3 /usr/bin/python3 -- ___ Python tracker ___

[issue39844] IDLE 3.8.2 on MacOS 10.15.3 Launches to Black Windows

2020-03-04 Thread Jacin Ferreira
Jacin Ferreira added the comment: Thank you so much Ned. I appreciate it. What you said makes sense. I went ahead and did what you suggested and validated that I am indeed running Python 3.8.2 but I'm still getting the black screens. bin % /usr/local/bin/python3.8 -c "import

[issue39847] EnterNonRecursiveMutex on win32 can hang for 49.7 days: use GetTickCount64() rather than GetTickCount()

2020-03-04 Thread And Clover
Change by And Clover : -- keywords: +patch pull_requests: +18136 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18780 ___ Python tracker ___

[issue39848] Warning: 'classifiers' should be a list, got type 'tuple'

2020-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also discussion at https://bugs.python.org/issue19610 -- nosy: +xtreak ___ Python tracker ___

[issue39639] Remove Suite node from AST

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

[issue39850] multiprocessing.connection.Listener fails to close with null byte in AF_UNIX socket name.

2020-03-04 Thread Nathan Michaels
New submission from Nathan Michaels : >>> from multiprocessing.connection import Listener >>> listener = Listener('\0conntest', family='AF_UNIX') >>> listener.close() Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python3.6/multiprocessing/connection.py", line 466,

[issue39639] Remove Suite node from AST

2020-03-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d82e469048e0e034d8c0020cd33b733be1adf68b by Batuhan Taşkaya in branch 'master': bpo-39639: Remove the AST "Suite" node and associated code (GH-18513) https://github.com/python/cpython/commit/d82e469048e0e034d8c0020cd33b733be1adf68b

[issue39850] multiprocessing.connection.Listener fails to close with null byte in AF_UNIX socket name.

2020-03-04 Thread Nathan Michaels
Change by Nathan Michaels : -- components: Library (Lib) nosy: nmichaels priority: normal severity: normal status: open title: multiprocessing.connection.Listener fails to close with null byte in AF_UNIX socket name. type: crash versions: Python 3.6

[issue39828] json.tool should catch BrokenPipeError

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

[issue32592] Drop support of Windows Vista and 7 in Python 3.9

2020-03-04 Thread C.A.M. Gerlach
C.A.M. Gerlach added the comment: What Eryk said wrt Windows 8 seems sound, looking at some additional data. Per Statcounter [0], Windows 8 market share has dropped to 1.32% from 2.20% of all Windows users over the past 12 months, or 1.75% -> 1.01% of all desktop users. Extrapolating a

[issue39845] Argparse on Python 3.7.1 (Windows) appends double quotes to string if it ends with backward slash

2020-03-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +paul.j3, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39849] Compiler warninig: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]

2020-03-04 Thread Dong-hee Na
New submission from Dong-hee Na : Modules/_testcapimodule.c:6808:15: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] 6808 | PyObject *res; This warning is noticed after bpo-38913 is fixed. My GCC version is 9.2.0 :) -- messages: 363355 nosy: corona10,

[issue39848] Warning: 'classifiers' should be a list, got type 'tuple'

2020-03-04 Thread Marco Sulla
New submission from Marco Sulla : I got this warning. I suppose that `distutils` can use any iterable. -- components: Distutils messages: 363354 nosy: Marco Sulla, dstufft, eric.araujo priority: normal severity: normal status: open title: Warning: 'classifiers' should be a list, got

[issue39770] Remove unnecessary size calculation in array_modexec in Modules/arraymodule.c

2020-03-04 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___

[issue39770] Remove unnecessary size calculation in array_modexec in Modules/arraymodule.c

2020-03-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 702e09fd0ad72b248b5adfa0fcfdb58600be77f6 by Andy Lester in branch 'master': bpo-39770, array module: Remove unnecessary descriptor counting (GH-18675) https://github.com/python/cpython/commit/702e09fd0ad72b248b5adfa0fcfdb58600be77f6

[issue32592] Drop support of Windows Vista and 7 in Python 3.9

2020-03-04 Thread C.A.M. Gerlach
C.A.M. Gerlach added the comment: Here's a further conservative list of low-hanging https://github.com/python/cpython/blob/master/Lib/ntpath.py#L675 * multiprocesing/connection.py | >=Win 8 | Branch can be inlined and outdated comments removed:

[issue39847] EnterNonRecursiveMutex on win32 can hang for 49.7 days: use GetTickCount64() rather than GetTickCount()

2020-03-04 Thread And Clover
And Clover added the comment: Yep, should be straightforward to fix (though not to test, as fifty-day test cases tend to be frowned upon...) -- ___ Python tracker ___

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18134 pull_request: https://github.com/python/cpython/pull/18778 ___ Python tracker ___

[issue39674] Keep deprecated features in Python 3.9 to ease migration from Python 2.7, but remove in Python 3.10

2020-03-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset a6d3546d003d9873de0f71b319ad79d203374bf0 by Victor Stinner in branch 'master': bpo-39674: Fix typo in What's New In Python 3.9 (GH-18776) https://github.com/python/cpython/commit/a6d3546d003d9873de0f71b319ad79d203374bf0 --

[issue39847] EnterNonRecursiveMutex on win32 can hang for 49.7 days: use GetTickCount64() rather than GetTickCount()

2020-03-04 Thread sparrowt
Change by sparrowt : -- nosy: +sparrowt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1ec63b62035e73111e204a0e03b83503e1c58f2e by Victor Stinner in branch 'master': bpo-39763: distutils.spawn now uses subprocess (GH-18743) https://github.com/python/cpython/commit/1ec63b62035e73111e204a0e03b83503e1c58f2e --

[issue39674] Keep deprecated features in Python 3.9 to ease migration from Python 2.7, but remove in Python 3.10

2020-03-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18133 pull_request: https://github.com/python/cpython/pull/18776 ___ Python tracker ___

[issue39847] EnterNonRecursiveMutex on win32 can hang for 49.7 days: use GetTickCount64() rather than GetTickCount()

2020-03-04 Thread Day Barr
Change by Day Barr : -- nosy: +Day Barr ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >