[issue40138] Windows implementation of os.waitpid() truncates the exit status (status << 8)

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset b07350901cac9197aef41855d8a4d56533636b91 by Victor Stinner in branch '3.8': bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19654) https://github.com/python/cpython/commit/b07350901cac9197aef41855d8a4d56533636b91 --

[issue39562] Asynchronous comprehensions don't work in asyncio REPL

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: > bpo-39562: Prevent collision of future and compiler flags (GH-19230) > https://github.com/python/cpython/commit/4454057269b995341b04d13f0bf97f96080f27d0 I tested manually: this change fix my msg365311 reproducer. Thanks! In Python 3.8,

[issue40364] asyncio: replace _compute_returncode() with os.waitstatus_to_exitcode()

2020-04-22 Thread STINNER Victor
New submission from STINNER Victor : I added os.waitstatus_to_exitcode() in bpo-40094. I propose to replace _compute_returncode() with os.waitstatus_to_exitcode() in Lib/asyncio/unix_events.py to simplify the code *and* to raise an exception if asyncio gets an unexpected wait status from

[issue40260] modulefinder traceback regression starting on Windows

2020-04-22 Thread Anthony Sottile
Anthony Sottile added the comment: debian has its own implementation of find_modules which still returns a text file for PY_SOURCE changing the type of that io object is the "breaking change" and maybe shouldn't be backported to python3.8 in a patch release --

[issue40094] Add os.waitstatus_to_exitcode() function

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: > TODO: Modify asyncio.unix_events._compute_returncode() to use > waitstatus_to_exitcode(): need to update tests. I created bpo-40364 for that. -- ___ Python tracker

[issue40138] Windows implementation of os.waitpid() truncates the exit status (status << 8)

2020-04-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +18981 pull_request: https://github.com/python/cpython/pull/19655 ___ Python tracker

[issue40214] test_ctypes.test_load_dll_with_flags Windows failure

2020-04-22 Thread Steve Dower
Steve Dower added the comment: Looks like that fix has done it. Thanks, Eryk! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40214] test_ctypes.test_load_dll_with_flags Windows failure

2020-04-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +18982 pull_request: https://github.com/python/cpython/pull/19656 ___ Python tracker ___

[issue40214] test_ctypes.test_load_dll_with_flags Windows failure

2020-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset 9b498939009f49b8c772c89e8fc80efbfd8afcb5 by Steve Dower in branch 'master': bpo-40214: Fix ctypes WinDLL test with insecure flags (GH-19652) https://github.com/python/cpython/commit/9b498939009f49b8c772c89e8fc80efbfd8afcb5 --

[issue40138] Windows implementation of os.waitpid() truncates the exit status (status << 8)

2020-04-22 Thread miss-islington
miss-islington added the comment: New changeset de5dcfa3bcabf52e43468a2b088ed71b5e5c4503 by Miss Islington (bot) in branch '3.7': bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19654) https://github.com/python/cpython/commit/de5dcfa3bcabf52e43468a2b088ed71b5e5c4503 --

[issue40094] Add os.waitstatus_to_exitcode() function

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: """ TODO: * Decide if subprocess should reject WIFSTOPPED() or not. * Check if the pure Python implementation of os._spawnvef() handles WIFSTOPPED() properly. """ Well, let's keep the status quo: leave os and subprocess modules unchanged. It can be

[issue40363] shlex.quote applied to a glob pattern disables glob matching

2020-04-22 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- type: -> behavior versions: +Python 3.9 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36346] Prepare for removing the legacy Unicode C API

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

[issue40094] Add os.waitstatus_to_exitcode() function

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: The initial issue has been implemented: I added os.waitstatus_to_exitcode() function to Python 3.9. It's now well documented, I close the issue. See sub-issues like bpo-40364 (asyncio) for further cleanups. -- resolution: -> fixed stage: patch

[issue32966] Python 3.7.2 - 0x80070643 - Fatal Error during installation

2020-04-22 Thread Steve Dower
Steve Dower added the comment: Your best bet is to repair the Python 3.7.2 install first (through Programs and Features, if possible), and then uninstall it. Any idea why it's interfering with Python 3.8? That shouldn't be the case (unless it's PATH related, in which case yeah, that's more

[issue40363] shlex.quote applied to a glob pattern disables glob matching

2020-04-22 Thread Jack Orenstein
New submission from Jack Orenstein : I am using shlex.quote to pass filenames to a shell command, e.g. ls. The problem is that glob patterns, when quoted, no longer operate as glob patterns. So, for example, executing this: ls 'var/log/syslog*' results in this output: ls: cannot

[issue40363] shlex.quote applied to a glob pattern disables glob matching

2020-04-22 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: shlex.quote makes the string safe to pass a command, what if it's rm 'var/log/syslog*' instead? You make sure that only the file given would be removed but then shlex.quote() shoot you in the foot. This would also cause issues for files with '*' or

[issue39562] Asynchronous comprehensions don't work in asyncio REPL

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4454057269b995341b04d13f0bf97f96080f27d0 by Batuhan Taşkaya in branch 'master': bpo-39562: Prevent collision of future and compiler flags (GH-19230) https://github.com/python/cpython/commit/4454057269b995341b04d13f0bf97f96080f27d0 --

[issue38360] single-argument form of -isysroot should be supported

2020-04-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +18983 pull_request: https://github.com/python/cpython/pull/19657 ___ Python tracker

[issue38360] single-argument form of -isysroot should be supported

2020-04-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +18984 pull_request: https://github.com/python/cpython/pull/19658 ___ Python tracker ___

[issue26826] Expose new copy_file_range() syscall in os module.

2020-04-22 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38360] single-argument form of -isysroot should be supported

2020-04-22 Thread miss-islington
miss-islington added the comment: New changeset e7f8684ef77d280eb99b8533fd18455caa0fe194 by Miss Islington (bot) in branch '3.7': bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480) https://github.com/python/cpython/commit/e7f8684ef77d280eb99b8533fd18455caa0fe194

[issue40138] Windows implementation of os.waitpid() truncates the exit status (status << 8)

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: Ok, os.waitpid() is now fixed in 3.7, 3.8 and master branches, and os.waitstatus_to_exitcode() is fixed in master. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8

[issue40346] Add random.BaseRandom to ease implementation of subclasses

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: Ok, PR 19631 is now ready for a review. I completed the documentation to better explain the rationale. Copy of the What's New in Python 3.9 documentation: "Add a new random.BaseRandom class: random number generator base class. A random.BaseRandom subclass

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +18989 pull_request: https://github.com/python/cpython/pull/19666 ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 458004bf7914f96b20bb76bc3584718cf83f652e by Pablo Galindo in branch 'master': bpo-40334: Fix errors in parse_string.c with old compilers (GH-19666) https://github.com/python/cpython/commit/458004bf7914f96b20bb76bc3584718cf83f652e

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a25f3c4c8f7d4878918ce1d3d67db40ae255ccc6 by Pablo Galindo in branch 'master': bpo-40334: Fix builds outside the source directory and regenerate autoconf files (GH-19667)

[issue40361] Darwin systems using win settings for webbrowser.py

2020-04-22 Thread Viraat Das
Viraat Das added the comment: When loading Jupyter Notebook, a NotADirectoryError: [Errno 20] Not a directory: 'xdg-settings' error was showing. This seems to be because Darwin systems were using Win settings. The pull request has addressed this by modifying the webbrowser.py code.

[issue40346] Add random.BaseRandom to ease implementation of subclasses

2020-04-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a breaking change. The published API says that random() is the base method and that getrandbits() is optional. It is not okay to flat out ignore the opposing comments from the module maintainers. Being on the steering committee isn't a license

[issue40366] Start giving deprecation warnings for obsoleted flags in compile

2020-04-22 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: As suggestion of @vstinner, instead of deprecation we decided to remove support for these flags immediately. -- ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +18991 pull_request: https://github.com/python/cpython/pull/19669 ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +18996 pull_request: https://github.com/python/cpython/pull/19672 ___ Python tracker ___

[issue40369] Use PEP 590 vectorcall to speed up GenericAlias.

2020-04-22 Thread Dong-hee Na
New submission from Dong-hee Na : Since PEP 560 was approved, The following syntax has become available. from queue import Queue v = Queue[int] It's a very shiny feature. Given the direction of programming language, it's probably a very useful feature that users will use very often in the

[issue37465] Incorrect documentation for `s#` arguments in C API argument parsing

2020-04-22 Thread Inada Naoki
Inada Naoki added the comment: Fixed via GH-18663. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Ned Deily
Ned Deily added the comment: Looks like the build changes do not work with a build directory outside of the source directory: mkdir build && cd build && ../configure && make gcc -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall-std=c99 -Wextra

[issue38784] ip_network does not clear/update the broadcast_address cache when network_address is changed.

2020-04-22 Thread Inada Naoki
Inada Naoki added the comment: I close this issue as rejected. If you have opinion about this issue, please post to python-dev mailing list or discuss.python.org. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +18988 pull_request: https://github.com/python/cpython/pull/19664 ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: > bpo-40334: Fix errors in parse_string.c with old compilers (GH-19666) Pablo told me in private that he plans to add a buildbot worker to test the old parser. So this change is fine. -- ___ Python tracker

[issue40366] Remove support for obsolete flags in compile function

2020-04-22 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- title: Start giving deprecation warnings for obsoleted flags in compile -> Remove support for obsolete flags in compile function ___ Python tracker

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: test_peg_generator emits compiler warnings: https://buildbot.python.org/all/#/builders/612/builds/283 0:08:01 load avg: 1.40 [423/423/1] test_peg_generator passed (7 min 4 sec) /tmp/tmp0vbqe8gp/parse.c: In function ‘start_rule’:

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +18994 pull_request: https://github.com/python/cpython/pull/19671 ___ Python tracker ___

[issue39939] PEP 616: Add str.removeprefix and str.removesuffix methods

2020-04-22 Thread Dennis Sweeney
Dennis Sweeney added the comment: There's a failure here: https://buildbot.python.org/all/#/builders/64/builds/656 Failed subtests: test_killed_child - test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest Traceback (most recent call last): ...

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18992 pull_request: https://github.com/python/cpython/pull/19670 ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: > bpo-40334: Rename PyConfig.use_peg to _use_peg_parser (GH-19670) This change removes sys.flags.use_peg which was only used in tests. If someone sees a good reason, we may add it back. In the meanwhile, test.support.use_old_parser() can be used. I didn't

[issue40368] os.path.realpath uppercases Windows drive letter on Python 3.8

2020-04-22 Thread Eryk Sun
Eryk Sun added the comment: > This behavior is inconsistent with `os.path.abspath` where it always > returns lowercased drive letter, ntpath.abspath calls GetFullPathNameW, which generally preserves the input case of the device/drive component. But it doesn't always preserve drive-letter

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +18990 pull_request: https://github.com/python/cpython/pull/19667 ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Looks like the build changes do not work with a build directory outside of > the source directory: Opened https://github.com/python/cpython/pull/19667. Ned, could you review? -- ___ Python tracker

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Wade Sanchez
Change by Wade Sanchez : -- type: -> resource usage ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Ned Deily
Ned Deily added the comment: > These are expected. Is this a problem? People and bots running tests normally expect to not see any output from each test in the default case unless there are errors. If these are supposed to be emitted, we should find a way to hide them (and check the

[issue37846] declare that Text I/O use buffer inside

2020-04-22 Thread Inada Naoki
Inada Naoki added the comment: I still think it's too detailed. Reading C and Python code is much better way to understand such implementation detail. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c5fc15685202cda73f7c3f5c6f299b0945f58508 by Pablo Galindo in branch 'master': bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503) https://github.com/python/cpython/commit/c5fc15685202cda73f7c3f5c6f299b0945f58508

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +18993 pull_request: https://github.com/python/cpython/pull/19668 ___ Python tracker ___

[issue36299] array: Deprecate 'u' type in array module

2020-04-22 Thread Inada Naoki
Inada Naoki added the comment: While array('u') doesn't use deprecated API with GH-19653, I still don't like 'u' because: * I don't have any reason to use platform dependant wchar_t. [1] * It is not consistent with PEP-3118. [1]:

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1def7754b7a41fe57efafaf5eff24cfa15353444 by Victor Stinner in branch 'master': bpo-40334: Rename PyConfig.use_peg to _use_peg_parser (GH-19670) https://github.com/python/cpython/commit/1def7754b7a41fe57efafaf5eff24cfa15353444 --

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: > test_peg_generator emits compiler warnings These are expected. Is this a problem? -- ___ Python tracker ___

[issue40361] Darwin systems using win settings for webbrowser.py

2020-04-22 Thread Éric Araujo
Éric Araujo added the comment: xdg-settings is a program used on linux systems, not windows. Also it is an executable file, not a directory, so something weird is going on. Could you diagnose more? The proposed PR does not seem to make sense: platform can’t be both darwin and win32/nt.

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset ee40e4b8563e6e1bc2bfb267da5ffc9a2293318d by Pablo Galindo in branch 'master': bpo-40334: Don't downcast from Py_ssize_t to int (GH-19671) https://github.com/python/cpython/commit/ee40e4b8563e6e1bc2bfb267da5ffc9a2293318d --

[issue40369] Use PEP 590 vectorcall to speed up GenericAlias.

2020-04-22 Thread Dong-hee Na
Change by Dong-hee Na : -- assignee: -> corona10 type: -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Those warnings are legitimate: we cannot cast function pointers that have different return types from one to the other. This only happens in the test, but could happen in the grammar if we use lookahead with NAME (). --

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > test_peg_generator emits compiler warnings: This is fixed by https://github.com/python/cpython/pull/19672 -- ___ Python tracker

[issue40342] Programming FAQ about "How do I apply a method to a sequence of objects?" should include the option of an explicit for-loop

2020-04-22 Thread Mark Dickinson
Mark Dickinson added the comment: This is an antipattern I've seen on multiple occasions in real code. A common offender is: [worker.join() for worker in workers] Similarly, things like: [plugin.start() for plugin in plugins] I do think it would be worth updating the FAQ text.

[issue1490384] PC new-logo-based icon set

2020-04-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +18972 pull_request: https://github.com/python/cpython/pull/19646 ___ Python tracker

[issue1490384] PC new-logo-based icon set

2020-04-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +18974 pull_request: https://github.com/python/cpython/pull/19647 ___ Python tracker ___

[issue38360] single-argument form of -isysroot should be supported

2020-04-22 Thread Ned Deily
Ned Deily added the comment: New changeset b310700976524b4b99ee319c947ca40468716fc9 by Joshua Root in branch 'master': bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480) https://github.com/python/cpython/commit/b310700976524b4b99ee319c947ca40468716fc9 --

[issue39423] Process finished with exit code -1073741819 (0xC0000005) when trying to access data from a pickled file

2020-04-22 Thread mapf
mapf added the comment: Hi, thanks for your interest! Since this was quite some time ago now, I eventually found a workaround (I think I made dicts out of the 1d slices and saved them instead) and the project moved on. I don't have the code from back then anymore, I'm sorry. But I can try

[issue38329] macOS python.org installers only add or modify framework Versions/Current symlink for Python 2.x installs, not Python 3.x

2020-04-22 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +18976 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19650 ___ Python tracker ___

[issue37339] os.path.ismount returns true on nested btrfs subvolumes

2020-04-22 Thread Jakub Stasiak
Change by Jakub Stasiak : -- nosy: +jstasiak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2020-04-22 Thread AndrewGYork
AndrewGYork added the comment: We have a 10.15.3 Mac with python 3.8.2, IDLE version 3.8.2, and we see similar behavior. Summary: The *second* 'bad' .py file you double-click won't open in IDLE. This seems unrelated to permissions, but a 'bad' file (saved by IDLE) can be converted to a

[issue38439] Python needs higher resolution app/menu icons

2020-04-22 Thread miss-islington
miss-islington added the comment: New changeset 3a5545025685040842420c85a4a9aab5f044aeb8 by Miss Islington (bot) in branch '3.8': bpo-38439: Add 256px IDLE icon (GH-17473) https://github.com/python/cpython/commit/3a5545025685040842420c85a4a9aab5f044aeb8 --

[issue38329] macOS python.org installers only add or modify framework Versions/Current symlink for Python 2.x installs, not Python 3.x

2020-04-22 Thread Ned Deily
Ned Deily added the comment: New changeset bcc136ba892e62078a67ad0ca0b34072ec9c88aa by Ned Deily in branch 'master': bpo-38329: python.org macOS installers now update Current symlink (GH-19650) https://github.com/python/cpython/commit/bcc136ba892e62078a67ad0ca0b34072ec9c88aa --

[issue40342] Programming FAQ about "How do I apply a method to a sequence of objects?" should include the option of an explicit for-loop

2020-04-22 Thread Vedran Čačić
Vedran Čačić added the comment: Mapping lambdas is always inferior to comprehensions, in fact the main reason comprehensions were introduced was that mapping lambdas was cumbersome. (It didn't work so well for filtering by lambdas, but that's another story.) As I said, Py3K was beneficial

[issue1490384] PC new-logo-based icon set

2020-04-22 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok nosy_count: 2.0 -> 3.0 pull_requests: +18970 pull_request: https://github.com/python/cpython/pull/17473 ___ Python tracker ___

[issue38439] Python needs higher resolution app/menu icons

2020-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3a69f3caeeaea57048ed3bc3051e16854b9a4cd6 by Miro Hrončok in branch 'master': bpo-38439: Add 256px IDLE icon (GH-17473) https://github.com/python/cpython/commit/3a69f3caeeaea57048ed3bc3051e16854b9a4cd6 --

[issue1490384] PC new-logo-based icon set

2020-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3a69f3caeeaea57048ed3bc3051e16854b9a4cd6 by Miro Hrončok in branch 'master': bpo-38439: Add 256px IDLE icon (GH-17473) https://github.com/python/cpython/commit/3a69f3caeeaea57048ed3bc3051e16854b9a4cd6 -- nosy: +terry.reedy

[issue38439] Python needs higher resolution app/menu icons

2020-04-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +18973 pull_request: https://github.com/python/cpython/pull/19647 ___ Python tracker ___

[issue38439] Python needs higher resolution app/menu icons

2020-04-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +18971 pull_request: https://github.com/python/cpython/pull/19646 ___ Python tracker

[issue33065] IDLE debugger: failure stepping through module loading

2020-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe I found the bug. For IDLE's original single process mode, still available with the -n startup option, debugger.py contains the entire debugger. The values displayed for global and local names are obtained with reprlib.Repr.repr. That in turn

[issue38439] Python needs higher resolution app/menu icons

2020-04-22 Thread miss-islington
miss-islington added the comment: New changeset abdfb3b47156a6ca5696b6f4380d412a460b718a by Miss Islington (bot) in branch '3.7': bpo-38439: Add 256px IDLE icon (GH-17473) https://github.com/python/cpython/commit/abdfb3b47156a6ca5696b6f4380d412a460b718a --

[issue38439] Python needs higher resolution app/menu icons

2020-04-22 Thread Miro Hrončok
Change by Miro Hrončok : -- pull_requests: +18975 pull_request: https://github.com/python/cpython/pull/19648 ___ Python tracker ___

[issue1490384] PC new-logo-based icon set

2020-04-22 Thread miss-islington
miss-islington added the comment: New changeset 3a5545025685040842420c85a4a9aab5f044aeb8 by Miss Islington (bot) in branch '3.8': bpo-38439: Add 256px IDLE icon (GH-17473) https://github.com/python/cpython/commit/3a5545025685040842420c85a4a9aab5f044aeb8 --

[issue1490384] PC new-logo-based icon set

2020-04-22 Thread miss-islington
miss-islington added the comment: New changeset abdfb3b47156a6ca5696b6f4380d412a460b718a by Miss Islington (bot) in branch '3.7': bpo-38439: Add 256px IDLE icon (GH-17473) https://github.com/python/cpython/commit/abdfb3b47156a6ca5696b6f4380d412a460b718a --

[issue40342] Programming FAQ about "How do I apply a method to a sequence of objects?" should include the option of an explicit for-loop

2020-04-22 Thread Mark Dickinson
Mark Dickinson added the comment: However, the list comprehension pattern is not as bad as lines like this one [#1]: map(lambda plugin: self.start_plugin(plugin), self._plugins) ... which of course stopped working as soon as we transitioned to Python 3. :-( [#1]

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2020-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: By design, IDLE should only allow one editor instance per file for a given python-IDLE process. "$ python3 fails.py" opens a new python-IDLE process, independent of existing processes. It is possible that double-clicking good.py multiple times opens a new

[issue38360] single-argument form of -isysroot should be supported

2020-04-22 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR! This seems like a borderline feature rather than a bug so, unless there is a compelling reason to backport it to 3.8.x, I'm just going to push it to master for release in 3.9.0 (as of alpha 6). -- assignee: -> ned.deily resolution:

[issue40361] Darwin systems using win settings for webbrowser.py

2020-04-22 Thread Viraat Das
Change by Viraat Das : -- components: Distutils nosy: Viraat Das, dstufft, eric.araujo priority: normal severity: normal status: open title: Darwin systems using win settings for webbrowser.py versions: Python 3.8 ___ Python tracker

[issue38329] macOS python.org installers only add or modify framework Versions/Current symlink for Python 2.x installs, not Python 3.x

2020-04-22 Thread Ned Deily
Ned Deily added the comment: With Python 2 now officially retired, it's time to change the installer behavior. With the merged change, as of Python 3.9.0 (alpha 6) the python.org macOS installers will now update the Current version symmlink in the /Library/Frameworks Python being

[issue39939] PEP 616: Add str.removeprefix and str.removesuffix methods

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: > This should be unrelated to the patch, right? It's unrelated. It smells like bpo-39995. -- ___ Python tracker ___

[issue40370] AIX: ld_so_aix not found during test of test_peg_generator

2020-04-22 Thread Michael Felt
New submission from Michael Felt : As part, I assume, of PR19503, that includes 91 changed files with 27,058 additions and 147 deletions the AIX buildbot is broken. Rather than looking/finding Modules/ld_so_aix (where I expect it to be) tests are failing, ulitmately because they look/expect

[issue40214] test_ctypes.test_load_dll_with_flags Windows failure

2020-04-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +18978 pull_request: https://github.com/python/cpython/pull/19652 ___ Python tracker ___

[issue38360] single-argument form of -isysroot should be supported

2020-04-22 Thread Joshua Root
Joshua Root added the comment: That ValueError I mentioned causes build failures for extension modules whenever the CFLAGS in sysconfig contains an -isysroot flag in the single arg form. We ran into it a lot in MacPorts on Mojave and Catalina. So I would consider it a bug, and would prefer

[issue40244] AIX: build: _PyObject_GC_TRACK Asstertion failure

2020-04-22 Thread Michael Felt
Michael Felt added the comment: When I have more time I hope to investigate specifically what is different in the assembly code - with/without the __noreturn__ change. On 19/04/2020 08:20, Batuhan Taskaya wrote: > Batuhan Taskaya added the comment: > > Moving assertion from

[issue39423] Process finished with exit code -1073741819 (0xC0000005) when trying to access data from a pickled file

2020-04-22 Thread mapf
mapf added the comment: Ok, I created a little something. It's not very pretty, but it works for me, meaning it causes the process to finish with exit code -1073741819 (0xC005). -- Added file: https://bugs.python.org/file49084/temp.py ___

[issue39817] CRITICAL: TypeError: cannot pickle 'generator'

2020-04-22 Thread Oscar
Oscar added the comment: Hello there. Im sorry very much by not replying to the answers. The source code is not mine, not written by me. I can pass a link from the project issue tracker https://github.com/getpelican/pelican/issues/2674#issuecomment-569431530 telling that the code works with

[issue34990] year 2038 problem in compileall.py

2020-04-22 Thread Ammar Askar
Change by Ammar Askar : -- nosy: +ammar2 nosy_count: 4.0 -> 5.0 pull_requests: +18977 pull_request: https://github.com/python/cpython/pull/19651 ___ Python tracker ___

[issue40346] Add random.BaseRandom to ease implementation of subclasses

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: > Making it easy to create subclasses was never a goal regardless. It's clearly advertised at the beginning of the documentation: "Class Random can also be subclassed if you want to use a different basic generator of your own devising: (...)" Do you mean

[issue40138] Windows implementation of os.waitpid() truncates the exit status (status << 8)

2020-04-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18980 pull_request: https://github.com/python/cpython/pull/19654 ___ Python tracker ___

[issue39966] mock 3.9 bug: Wrapped objects without __bool__ raise exception

2020-04-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The patch assumed using the magic method attribute as the way to evaluate an object in a context which I got to know is wrong since evaluations in context like boolean are not only dependent on one magic method but has a precedence over several

[issue40260] modulefinder traceback regression starting on Windows

2020-04-22 Thread Barry Alan Scott
Barry Alan Scott added the comment: Anthony, Now that everything is opened using open_code that returns bytes its not clear to me why this breaks for you. Further the data must be bytes for the codings to be figured out. Removing the b'\n' may be reasonable, but not for the reason given. I

[issue40334] PEP 617: new PEG-based parser

2020-04-22 Thread STINNER Victor
STINNER Victor added the comment: Once PR 19503 will be merged, I would be interested to see if setjmp()/longjmp() can be avoided. I'm scared by these functions: they require that all functions in between setjmp() and longjmp() call stack have no state and don't need any cleanup at exit.

[issue36299] array: Deprecate 'u' type in array module

2020-04-22 Thread Inada Naoki
Inada Naoki added the comment: I closed GH-12497 (Py_UNICODE -> Py_UCS4). I created GH-19653 (Py_UNICODE -> wchar_t) instead. -- ___ Python tracker ___

  1   2   >