[issue39116] StreamReader.readexactly() raises GeneratorExit on ProactorEventLoop

2020-10-19 Thread twisteroid ambassador
Change by twisteroid ambassador : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42051] plistlib inherits XML vulnerabilities: we should document them

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm working on a PR. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42026] index function return first index for same element if repetitive in a list

2020-10-19 Thread Chetan Palliwal
Chetan Palliwal added the comment: If the index() is working fine. why my previous attached code sample is returning 0 for each time I try to get the index for element 11 in the list. -- ___ Python tracker

[issue42026] index function return first index for same element if repetitive in a list

2020-10-19 Thread Chetan Palliwal
Chetan Palliwal added the comment: can you let it work using the index method then it index() is working fine. I can resolve it by using enumerate and another way. The issue I raised here for the index() method not for enumerate. -- status: closed -> open

[issue42026] index function return first index for same element if repetitive in a list

2020-10-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: > If the index() is working fine. why my previous attached > code sample is returning 0 for each time I try to get > the index for element 11 in the list. Your code is buggy. It assumes that list.index() changes its starting point as your for-loop

[issue19270] Document that sched.cancel() doesn't distinguish equal events and can break order

2020-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5368c2b6e23660cbce7e38dc68f859c66ac349ee by Bar Harel in branch 'master': bpo-19270: Fixed sched.scheduler.cancel to cancel correct event (GH-22729) https://github.com/python/cpython/commit/5368c2b6e23660cbce7e38dc68f859c66ac349ee

[issue42041] venv subprocess call to python resolves to wrong interpreter

2020-10-19 Thread Mark Keller
Mark Keller added the comment: Paul explained precisely of what I was going through when I reached out to you with this: > then the "running executable" is "path/to/venv/scripts/python.exe", and so > the path containing the running executable is "path/to/venv/scripts", so a > search for

[issue13451] sched.py: speedup cancel() method

2020-10-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +21724 pull_request: https://github.com/python/cpython/pull/22759 ___ Python tracker ___

[issue39116] StreamReader.readexactly() raises GeneratorExit on ProactorEventLoop

2020-10-19 Thread twisteroid ambassador
twisteroid ambassador added the comment: This problem still exists on Python 3.9 and latest Windows 10. I tried to catch the GeneratorExit and turn it into a normal Exception, and things only got weirder from here. Often several lines later another await statement would raise another

[issue42078] _tracemalloc.c and Clang-cl

2020-10-19 Thread Gisle Vanem
New submission from Gisle Vanem : Related to: https://bugs.python.org/issue33351 where I commented above the following. When using `clang-cl` to build, I get the following error: ``` Modules/_tracemalloc.c(55,9): error: declaration of anonymous struct must be a definition typedef struct

[issue42051] plistlib inherits XML vulnerabilities: we should document them

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The PR is fairly simple: Just reject files with entity declarations as invalid files. Adding an option to accept entity declarations should not be necessary as Apple tools won't accept these declarations. -- ___

[issue42041] venv subprocess call to python resolves to wrong interpreter

2020-10-19 Thread Eryk Sun
Eryk Sun added the comment: > I'd read it because I'm interested, but that is probably too much detail > for someone who is trying to get something done quickly. I did say that I don't know how much should be documented. I tend to dump a lot of information in issues so that people can make

[issue31878] Cygwin: _socket module does not compile due to missing ioctl declaration

2020-10-19 Thread Erik Bray
Change by Erik Bray : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-19 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21727 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22764 ___ Python tracker ___

[issue31818] [macOS] _scproxy.get_proxies() crash -- get_proxies() is not fork-safe?

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm in favour of closing this issue. If anything needs to be done its adding a warning to the documentation of os.fork() to the effect that doing substantial work in the child can be problematic on macOS. Maybe something like: .. warning:: On macOS the

[issue29688] Add support for Path.absolute()

2020-10-19 Thread 4-launchpad-kalvdans-no-ip-org
Change by 4-launchpad-kalvdans-no-ip-org : -- nosy: +4-launchpad-kalvdans-no-ip-org ___ Python tracker ___ ___ Python-bugs-list

[issue42057] pytest case which catch exceptions become segfault

2020-10-19 Thread Mark Shannon
Mark Shannon added the comment: The test example has no reference to pytest in it. How are you running it? Can you produce a segmentation fault when run without pytest? -- ___ Python tracker

[issue27126] Apple-supplied libsqlite3 on OS X is not fork safe; can cause crashes

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The installers on Python.org no longer use the system version of libsqlite, sidestepping that issue. That doesn't fix the issue with _scproxy, but that's something we cannot easily fix in Python itself. -- resolution: -> wont fix stage: ->

[issue11698] Improve repr for structseq objects to show named, but unindexed fields

2020-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Other problem is that the repr looks like an evaluable expression, but evaluating it will always produce error. >>> st = os.stat('/dev/null') >>> st os.stat_result(st_mode=8630, st_ino=6, st_dev=6, st_nlink=1, st_uid=0, st_gid=0, st_size=0,

[issue42051] plistlib inherits XML vulnerabilities: we should document them

2020-10-19 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21725 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22760 ___ Python tracker ___

[issue42056] Configure on Apple ARM: "Unexpected output of 'arch' on OSX"

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this issue because it is a duplicate of #41100, the patches needed to build on Apple Silicon are more involved than just a configure check. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder:

[issue42041] venv subprocess call to python resolves to wrong interpreter

2020-10-19 Thread Paul Moore
Paul Moore added the comment: My biggest concern with the suggested wording (which in broad terms looks OK to me) is that it reintroduces the issue with the redirector. By specifically saying that the behaviour in `CreateProcess` applies, we lead the user to the statement that the search

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Given this plist: http://www.apple.com/DTDs/PropertyList-1.0.dtd;> hex 0x010c oct 0123 ``plutil -convert json`` prints: {"hex":[16777228],"oct":[123]} That is,

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-19 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21726 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22762 ___ Python tracker

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: This file is still present on the latest version of macOS 11 beta on ARM64, with this integer value. Furthermore plutil will happily read this file. I'm in favour of changing plistlib to parse files like this. --

[issue41270] NamedTemporaryFile is not its own iterator.

2020-10-19 Thread Seth Sims
Change by Seth Sims : -- pull_requests: +21728 pull_request: https://github.com/python/cpython/pull/22766 ___ Python tracker ___

[issue41812] Broken link on documentation header

2020-10-19 Thread Julien Palard
Julien Palard added the comment: Thanks for the heads up cocoatomo!! Fixed: https://github.com/python/docsbuild-scripts/commit/c23b401425a47b9c8eaa9626701ba6b9b50531f7 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue41680] Turtles in Python 3.8.5 crashes OSX 10.14.6

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Also: What's meant by "crash OSX 10.14.6"? Could this be a duplicate of #37833? -- ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +21729 pull_request: https://github.com/python/cpython/pull/22765 ___ Python tracker

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The error is due to invalid proxy settings on the system. I can reproduce the error by enabling a HTTP proxy in system settings, while adding "172.19.0.0/40" to the proxy exclude list in the HTTP proxy settings. -- stage: -> needs patch versions:

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've tested the same settings with Safari, and that browser ignores excludes with an invalid prefix length. I've created a PR that does the same for urllib.request. -- ___ Python tracker

[issue42077] Some absolute domain name not work in urllib

2020-10-19 Thread Christian Heimes
Christian Heimes added the comment: SSLV3_ALERT_UNEXPECTED_MESSAGE means that the server is responding with incorrect TLS data. That's usually the case when the port on the server is HTTP instead of HTTPS. It's also possible that the server does not like the SNI header (Server Name

[issue41754] Webbrowser Module Cannot Find xdg-settings on OSX

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: It is far from clear what's going on here. In particular, it not clear to my why check_output(['xdg-settings', ...]) would ever raise NotADirectoryError. - What packages do you have installed through homebrew? - Is there an xdg-settings command installed

[issue42079] Why does tarfile.next swallow InvalidHeaderError

2020-10-19 Thread Jan Schatz
New submission from Jan Schatz : I have a tar gz archive that fails to be extracted via tarfile.extractall(). By adding some debug code I found that at some point InvalidHeaderError is raised inside tarfile.next(). But the function just swallows the exception, because the offset isn't 0 (see

[issue39107] Upgrade tcl/tk to 8.6.10 (Windows and maxOS)

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 985f0ab3ad5e8e9a8d7fc53026c38390b1f2b466 by Steve Dower in branch 'master': bpo-39107: Updated Tcl and Tk to 8.6.10 in Windows installer (GH-22405) https://github.com/python/cpython/commit/985f0ab3ad5e8e9a8d7fc53026c38390b1f2b466 --

[issue41017] warning: 'Tk_Init' is deprecated: first deprecated

2020-10-19 Thread Ronald Oussoren
New submission from Ronald Oussoren : The log shows a number of deprecation warnings in the Tcl/Tk headers included in the macOS SDK. That's just because Apple doesn't want you to use the system version of Tcl/Tk anymore. The APIs themselves are fine if you use a non-system version of

[issue41192] Some audit events are undocumented

2020-10-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: New changeset ebc8c3828779374b9be4fae5c8ffc0059d36ac8c by Saiyang Gou in branch 'master': bpo-41192: Fix some broken anchors for audit event entries (#21310) https://github.com/python/cpython/commit/ebc8c3828779374b9be4fae5c8ffc0059d36ac8c -- nosy:

[issue41192] Some audit events are undocumented

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +21730 pull_request: https://github.com/python/cpython/pull/22767 ___ Python tracker

[issue42057] pytest case which catch exceptions become segfault

2020-10-19 Thread Inada Naoki
Inada Naoki added the comment: I confirmed the issue. The simple version of the reproducer is: ``` def callee(): raise Exception def caller(): try: callee() except Exception or Exception: pass caller() ``` I can see assertion failure consisntently, when I use

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I cannot reproduce this issue on macOS 10.15 (with python 3.9). I intent to close this issue because (a) this is a platform problem and (b) seems no longer to be a problem with the latest macOS and Python versions. -- resolution: -> out of date

[issue42057] pytest case which catch exceptions become segfault

2020-10-19 Thread Inada Naoki
Inada Naoki added the comment: I confirmed fix42057.patch fix the assertion failure. But I don't know where and how to write test yet. -- keywords: +patch Added file: https://bugs.python.org/file49527/fix42057.patch ___ Python tracker

[issue26376] Tkinter root window won't close if packed.

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I cannot reproduce this issue with Python 3.9 (Python.org installer). Both with "Run Module" and in the interactive shell (both in IDLE) the window will close properly. In both cases the window it too small to show the minimise and maximise buttons (as

[issue41192] Some audit events are undocumented

2020-10-19 Thread A.M. Kuchling
Change by A.M. Kuchling : -- pull_requests: +21731 pull_request: https://github.com/python/cpython/pull/22768 ___ Python tracker ___

[issue42080] Disutils on windows debug build fails without -j1

2020-10-19 Thread John Ehresman
New submission from John Ehresman : Compiling pillow for a debug build fails without -j1 because distutils parallelizes the build, but there are problems with locking the .pdb file during when compiling the C files. An example of the error message from a cl.exe command is: fatal error

[issue42041] venv subprocess call to python resolves to wrong interpreter

2020-10-19 Thread Eryk Sun
Eryk Sun added the comment: > My biggest concern with the suggested wording ... is that it > reintroduces the issue with the redirector. I thought I addressed that in second paragraph by recommending sys.executable. It could be emphasized that running "python[x][.y]" is unreliable, without

[issue41192] Some audit events are undocumented

2020-10-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: New changeset 2ee6ef98b4cf94f4c21cc4301d4e226b70809c7e by Miss Skeleton (bot) in branch '3.9': bpo-41192: Fix some broken anchors for audit event entries (GH-21310) (GH-22767) https://github.com/python/cpython/commit/2ee6ef98b4cf94f4c21cc4301d4e226b70809c7e

[issue41667] The python PEG generator incorrectly handles empty sequences in gather rules

2020-10-19 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: This c -- nosy: +lys.nikolaou resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42082] Eliminate test_peg_generator redundant output

2020-10-19 Thread Terry J. Reedy
New submission from Terry J. Reedy : When running tests locally (Win10), test_peg_generator outputs the following 20 times. parse.c pegen.c string_parser.c tokenizer.c Python-ast.c asdl.c peg_extension.c Creating library

[issue41310] micro-optimization: increase our float parsing speed by Nx

2020-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: FTR, no formal description of the algorithm seems to have been published, but the source code is amply commented: https://github.com/lemire/fast_double_parser/blob/master/include/fast_double_parser.h -- nosy: +pitrou

[issue41310] micro-optimization: increase our float parsing speed by Nx

2020-10-19 Thread Antoine Pitrou
Change by Antoine Pitrou : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42080] Disutils on windows debug build fails without -j1

2020-10-19 Thread John Ehresman
John Ehresman added the comment: It is a setuptools bug and I've opened a setuptools issue at https://github.com/pypa/setuptools/issues/2442 Thanks! -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue42051] plistlib inherits XML vulnerabilities: we should document them

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21734 pull_request: https://github.com/python/cpython/pull/22772 ___ Python tracker ___

[issue42051] plistlib inherits XML vulnerabilities: we should document them

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 05ee790f4d1cd8725a90b54268fc1dfe5b4d1fa2 by Ronald Oussoren in branch 'master': bpo-42051: Reject XML entity declarations in plist files (#22760) https://github.com/python/cpython/commit/05ee790f4d1cd8725a90b54268fc1dfe5b4d1fa2 --

[issue42051] plistlib inherits XML vulnerabilities: we should document them

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21733 pull_request: https://github.com/python/cpython/pull/22771 ___ Python tracker

[issue39107] Upgrade Windows tcl/tk to 8.6.10

2020-10-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -macOS resolution: -> fixed stage: -> resolved status: open -> closed title: Upgrade tcl/tk to 8.6.10 (Windows and maxOS) -> Upgrade Windows tcl/tk to 8.6.10 ___ Python tracker

[issue26376] Tkinter root window won't close if packed.

2020-10-19 Thread Ned Deily
Ned Deily added the comment: Unfortunately, I can reproduce it, or at least odd behavior when run from an IDLE.app edit window on with 3.9.0 on macOS 10.15. By observing the macOS Dock while running this, it looks like a second Python app instance is created while running this. We have seen

[issue41192] Some audit events are undocumented

2020-10-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: New changeset ec18c468b8aed4b4a3d1942ae18b96d8efebe04b by Miss Skeleton (bot) in branch '3.8': bpo-41192: Fix some broken anchors for audit event entries (GH-21310) (GH-22770) https://github.com/python/cpython/commit/ec18c468b8aed4b4a3d1942ae18b96d8efebe04b

[issue42084] Language aware diff headers

2020-10-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42084] Language aware diff headers

2020-10-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 95ad890a7b0341d8d2fde13f824bc24c65a8ece0 by Raymond Hettinger in branch 'master': bpo-42084: Language aware diff headers (GH-22776) https://github.com/python/cpython/commit/95ad890a7b0341d8d2fde13f824bc24c65a8ece0 --

[issue41746] Add optional type information to asdl_seq objects

2020-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Pablo, can this be closed now that PR3 is merged? Nop, we still need to fix the CHECK macros that do type erasure (they cast the result to void). -- ___ Python tracker

[issue41667] The python PEG generator incorrectly handles empty sequences in gather rules

2020-10-19 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- Removed message: https://bugs.python.org/msg378963 ___ Python tracker ___ ___ Python-bugs-list

[issue42081] Consider fast_double_parser for faster str->double

2020-10-19 Thread Eric V. Smith
Eric V. Smith added the comment: This was proposed in issue 41310. -- nosy: +eric.smith ___ Python tracker ___ ___

[issue39107] Upgrade tcl/tk to 8.6.10 (Windows and maxOS)

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The Windows part of this is done. Existing tests also pass on my machine. Ned, do you want this left open for macOS? or close? -- stage: patch review -> ___ Python tracker

[issue39107] Upgrade Windows tcl/tk to 8.6.10

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: We should then upgrade on Windows again. PR would have nearly the same changes. -- ___ Python tracker ___

[issue42041] venv subprocess call to python resolves to wrong interpreter

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Proposed alternative based on Eryk's: For maximum reliability, use a fully-qualified path for the executable. To search for an unqualified name on :envvar:`PATH`, use :meth:`shutil.which`. On all platforms, passing :data:`sys.executable`

[issue38144] Add the root_dir and dir_fd parameters in glob.glob()

2020-10-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: I'm digging around in the sys.audit() feature. Did the sys.audit("glob.glob", ...) call disappear in commit 8a64ceaf9856e7570cad6f5d628cce789834e019, or is something clever going on that I missed? -- nosy: +akuchling

[issue40484] Document existing compiler flags under ast

2020-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a358a0ad7140ee636ab2631cfee0f365a5dbd4ea by Miss Skeleton (bot) in branch '3.9': bpo-40484: Document compiler flags under AST module (GH-19885) (GH-22758) https://github.com/python/cpython/commit/a358a0ad7140ee636ab2631cfee0f365a5dbd4ea

[issue38693] Use f-strings instead of str.format within importlib

2020-10-19 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.10 -Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42041] venv subprocess call to python resolves to wrong interpreter

2020-10-19 Thread Paul Moore
Paul Moore added the comment: I like that, I've updated the PR accordingly. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue26376] Tkinter root window won't close if packed.

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just reproduced this too with Airbook Mohave. When IDLE's Shell is running, it is linked to an execution subprocess that is initially invisible, unless and until the user creates a visible window. Tk() does this. On Windows, a tk Window icon appears

[issue41746] Add optional type information to asdl_seq objects

2020-10-19 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Pablo, can this be closed now that PR3 is merged? -- ___ Python tracker ___ ___

[issue41192] Some audit events are undocumented

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21732 pull_request: https://github.com/python/cpython/pull/22770 ___ Python tracker ___

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2020-10-19 Thread Ned Deily
Ned Deily added the comment: I can't reproduce with 3.9 on 10.9, either. If someone can reproduce with current Pythons and/or macOS without involving forking, feel free to reopen with details. -- status: pending -> closed ___ Python tracker

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21736 pull_request: https://github.com/python/cpython/pull/22774 ___ Python tracker ___

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +21735 pull_request: https://github.com/python/cpython/pull/22773 ___ Python tracker

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 93a1ccabdede416425473329b8c718d507c55e29 by Ronald Oussoren in branch 'master': bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS (GH-22762)

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-19 Thread Dennis Sweeney
Dennis Sweeney added the comment: Unfortunately due to licensing issues, it looks like I'll have to ditch the PR and start from scratch: it was too heavily based on the glibc implementation, which has a stricter license. It may be take a good deal of time before I have a potential

[issue42084] Language aware diff headers

2020-10-19 Thread Raymond Hettinger
New submission from Raymond Hettinger : Improve our development environment by making the diff headers language aware. See: https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more -- components: Build messages: 378980 nosy: rhettinger priority: normal

[issue39107] Upgrade tcl/tk to 8.6.10 (Windows and maxOS)

2020-10-19 Thread Ned Deily
Ned Deily added the comment: We might as well close this for now. I'm hoping for an 8.6.11 real soon now with almost a year's worth of changes, many for macOS, and we will need to incorporate it all into a revised installer variant. It won't be forgotten :) --

[issue37741] importlib.metadata docs not showing up in the module index

2020-10-19 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41019] The necessary bits to build these optional modules were not found:

2020-10-19 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> compile error ___ Python tracker ___

[issue41016] warning: 'Tk_GetNumMainWindows' is deprecated

2020-10-19 Thread Ronald Oussoren
New submission from Ronald Oussoren : This is not a bug in Python, but a warning from Apple that they don't want you to use the system provided Tcl/Tk libraries. The Python.org installers are already build using a custom build of Tcl/Tk, mostly because the system provided build is ancient

[issue41954] [mock] Recursion on mocking inspect.isfunction

2020-10-19 Thread Lisa Roach
Lisa Roach added the comment: Oof yeah, sorry my commit broke this but it is pretty hard to avoid. Mario is right in that it would be messy and challenging to ensure anything mocked from the stdlib doesn't also break mock itself. I want to mark this as `wont fix`, unless there is a

[issue24130] Remove -fno-common compile option from OS X framework builds?

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've checked and '-fcommon' is default (at least with Xcode 12 beta on x86_64), and likely not what you'd want: With "-fcommon" the definition a non-static variable in two different files will get merged: first.m: int x; second.m: int x; Without

[issue42068] For macOS, package the included Tcl and Tk frameworks in a rational way.

2020-10-19 Thread Aivar Annamaa
Change by Aivar Annamaa : -- nosy: +Aivar.Annamaa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37677] Seg Fault on OSX when multiprocessing

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this issue because this crash is caused by a platform issue, and Python 3.8 has a workaround by using a different spawn method in multiprocessing. -- resolution: -> out of date stage: -> resolved status: open -> closed

[issue15877] xml.dom.minidom cannot parse ISO-2022-JP

2020-10-19 Thread Irit Katriel
Irit Katriel added the comment: Closing - this now works for me on Python 3.8 and 3.10. It was fixed sometime in the last 8 years. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker

[issue42085] Add dedicated slot for sending values

2020-10-19 Thread Vladimir Matveev
New submission from Vladimir Matveev : https://bugs.python.org/issue41756 has introduced PyIter_Send as a common entrypoint for sending values however currently fast path that does not use StopIteration exception is only available for generators/coroutines. It would be quite nice if this

[issue42066] CookieJar cookies should not be sorted

2020-10-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-19 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +21738 pull_request: https://github.com/python/cpython/pull/22779 ___ Python tracker ___

[issue42085] Add dedicated slot for sending values

2020-10-19 Thread Vladimir Matveev
Change by Vladimir Matveev : -- keywords: +patch pull_requests: +21739 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22780 ___ Python tracker

[issue42080] Disutils on windows debug build fails without -j1

2020-10-19 Thread Steve Dower
Steve Dower added the comment: If you're building through setuptools, then it's a setuptools bug (they own distutils going forward). https://github.com/pypa/setuptools If you're not, please try with setuptools in the picture. It shouldn't require any more than just importing its "setup()"

[issue42081] Consider fast_double_parser for faster str->double

2020-10-19 Thread Antoine Pitrou
New submission from Antoine Pitrou : This is more of a "could be nice" entry if there are any interested core developers. A new algorithm and library was recently published for faster parsing of double numbers. It claims rigorous accuracy and the performance is impressive. The

[issue40671] Convert _hashlib to PEP 489 multiphase initialization

2020-10-19 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40335] [PEP 617 new parser] Regression in multiline SyntaxError offsets

2020-10-19 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: I'm closing this since this specific issue seems to be fixed both in master and in 3.9. Anthony, feel free to re-open it, in case I've missed something. -- ___ Python tracker

[issue42081] Consider fast_double_parser for faster str->double

2020-10-19 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> micro-optimization: increase our float parsing speed by Nx ___ Python tracker

[issue31818] [macOS] _scproxy.get_proxies() crash -- get_proxies() is not fork-safe?

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I agree that we should close this issue, possibly with a documentation fix. I wrote a blog posting about my investigations: https://wefearchange.org/2018/11/forkmacos.rst.html I don't think there's really much Python itself can do, and developers will

[issue40335] [PEP 617 new parser] Regression in multiline SyntaxError offsets

2020-10-19 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42081] Consider fast_double_parser for faster str->double

2020-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oh, thank you. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31818] [macOS] _scproxy.get_proxies() crash -- get_proxies() is not fork-safe?

2020-10-19 Thread Ned Deily
Ned Deily added the comment: I wish there was a better solution but, as long as we want to continue to integrate with the system-provided proxy configuration, I guess we're kind of stuck. I'll try to expand Ronald's wording into a doc PR. -- ___

  1   2   3   >