[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2020-10-19 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Work with item 7 is progressing; see WIP branch for details. Current showstopper is how to fetch module state from Connection.__init__ when it has been overloaded (for example in /Lib/sqlite3/test/factory.py). Guessing that Py_TYPE(self) does not

[issue33972] AttributeError in email.message.iter_attachments()

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thank you all for the fix. Closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37461] email.parser.Parser hang

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thanks everyone for the fixes; I think this bug is now resolved. Closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41784] Promote PyUnicode_AsUTF8AndSize to be available with the limited API (PEP 384)

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Agreed that there's no way we can make Py_buffer part of the limited ABI. I just looked over the PR and it's missing a What's New entry (e.g. https://docs.python.org/3/whatsnew/3.9.html#c-api-changes). Other than that, looks fine to me. -- nosy:

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Unfortunately, fixing this won't make the builds work in previous versions, so it can't be backported. We also need to update the version check in the PR - I left a comment for it. -- nosy: +steve.dower versions: -Python 3.8, Python 3.9

[issue38320] Clarify unittest expectedFailure behaviour in the documentation

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

[issue38320] Clarify unittest expectedFailure behaviour in the documentation

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

[issue38320] Clarify unittest expectedFailure behaviour in the documentation

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset fa8748271a61177e9bf609921fa464cc6990478b by Irit Katriel in branch 'master': bpo-38320: Clarify that expectedFailure is satisfied by either failure or error of the test. (GH-22740)

[issue42091] strftime returns empty string for -d, -I 3.8.3

2020-10-19 Thread Eric V. Smith
Eric V. Smith added the comment: Can you tell us what the expected behavior is? >From the strftime docs: "The full set of format codes supported varies across >platforms, because Python calls the platform C library’s strftime() function, >and platform variations are common. To see the full

[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: My understanding is that this is specifically a problem with the Objective-C runtime that _scproxy.c accesses. The runtime is not thread safe and whereas in earlier versions of macOS, it silently failed, now macOS is explicitly aborting the process.

[issue42092] test_host_resolution_bad_address does not always fail as expected

2020-10-19 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : This is very likely caused by something janky my ISP (AT) is doing with IPv6, but the above named test fails for me because IPv6 addresses like `::1q` do not fail to resolve as the test expects. I'm not sure what can or should be done about it, but as

[issue42089] Better message in PackageNotFoundError

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 96ddc58281d2b6b2258b1a628bccf252090d5611 by Barry Warsaw in branch 'master': bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775) https://github.com/python/cpython/commit/96ddc58281d2b6b2258b1a628bccf252090d5611

[issue42091] strftime returns empty string for -d, -I 3.8.3

2020-10-19 Thread Pridhvi Myneni
New submission from Pridhvi Myneni : My system has python from MSYS2 integrated with my windows environment, so I can't test if Windows exhibits the same issue; however, this works perfectly in Ubuntu. The issue is %-d, %-I don't work as expected and instead cause the function call to return

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

2020-10-19 Thread Steve Dower
Steve Dower added the comment: I did some bad things in git and so I had to recreate the PR against master, but the importlib.resources tests still fail. Seems like the ensurepip/venv tests are fine though? Did something change in pip/certifi between 20.2.1 and 20.2.3? I still consider the

[issue42090] zipfile.Path.joinpath API inconsistent with pathlib.Path.joinpath

2020-10-19 Thread conchylicultor
New submission from conchylicultor : The following code fail with zipfile.Path, but works with pathlib.Path: ``` path = path.joinpath().joinpath('other', 'other') ``` Zipfile: https://github.com/python/cpython/blob/95ad890a7b0341d8d2fde13f824bc24c65a8ece0/Lib/zipfile.py#L2363 ``` def

[issue42089] Better message in PackageNotFoundError

2020-10-19 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- keywords: +patch nosy: +barry nosy_count: 1.0 -> 2.0 pull_requests: +21740 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22775 ___ Python tracker

[issue42089] Better message in PackageNotFoundError

2020-10-19 Thread Jason R. Coombs
New submission from Jason R. Coombs : As reported in https://gitlab.com/python-devs/importlib_metadata/-/issues/124, it would be nice if the PackageNotFoundError gave some guidance to the user about the context of the error and how to investigate. -- assignee: jaraco components:

[issue34716] MagicMock.__divmod__ should return a pair

2020-10-19 Thread Zachary Ware
Change by Zachary Ware : -- versions: +Python 3.10 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

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

2020-10-19 Thread Ned Deily
Change by Ned Deily : -- keywords: +newcomer friendly stage: -> needs patch type: crash -> behavior versions: -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: status: lib2to3 PendingDeprecationWarning shipped in 3.9. Since we don't have a specific release planned for the final deprecation, I'll leave this issue open while we figure that out. Once we do, we should promote this to a regular DeprecationWarning

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-10-19 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: gregory.p.smith -> stage: patch review -> ___ Python tracker ___ ___ Python-bugs-list

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

2020-10-19 Thread Ned Deily
Ned Deily added the comment: That does seem very odd but the issue clearly has been seen by multiple users. Since it shouldn't cause any negative effects, I'm in favor of just adding NotADirectoryError to the try/except list as suggested in the workaround and make the problem go away.

[issue42037] Documentation confusion in CookieJar functions

2020-10-19 Thread Éric Araujo
Éric Araujo added the comment: Hello! I don’t see the problem that you are mentioning: the request methods removed from Request objects are not in the list of methods required by the CookieJar methods. -- nosy: +eric.araujo ___ Python tracker

[issue40423] Optimization: use close_range(2) if available

2020-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: thanks Kyle! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42088] types.SimpleNamespace.__repr__ documentation inconsistency

2020-10-19 Thread Ben Avrahami
New submission from Ben Avrahami : According to the documentation for types.SimpleNamespace, `repr(SimpleNamespace())` should return `"SimpleNamespace()"`, but in actuality returns `"namespace()"`. This is because SimpleNamespace is an alias for the C implemented type `_PyNamespaceObject`.

[issue24725] test_socket testFDPassEmpty fails on OS X 10.11+ with "Cannot allocate memory"

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The issue is still present with python 3.9 and macOS 10.15 as well as current macOS 11 betas. The following python scriptlet reproduces the issue: # --- import socket sd1, sd2 = socket.socketpair() sd1.sendmsg([b"hello"], [(socket.SOL_SOCKET,

[issue42087] Remove pre-AIX 6.1 dead code paths

2020-10-19 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40680] thread_cputime isn't supported by AIX5

2020-10-19 Thread Kevin
Kevin added the comment: Ok, I've opened https://bugs.python.org/issue42087 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42087] Remove pre-AIX 6.1 dead code paths

2020-10-19 Thread Kevin
New submission from Kevin : Follow on to https://bugs.python.org/issue40680. In there, it was decided that since AIX 5 and below doesn't support thread_cputime, support for it would be dropped and the issue was closed without removing any of the dead code paths and references. --

[issue41680] Turtles in Python 3.8.5 crashes OSX 10.14.6

2020-10-19 Thread Ned Deily
Ned Deily added the comment: > Could this be a duplicate of #37833? I suppose it's possible if not using a python.org Python. I'm not able to reproduce this with a current Python 3.9.0 on macOS 10.15.7. I'm going to close this for now. If someone is able to provide more information on

[issue39567] Add audit for os.walk(), os.fwalk(), Path.glob() and Path.rglob()

2020-10-19 Thread Saiyang Gou
Saiyang Gou added the comment: Should we backport this to 3.8? I believe that we should either backport this to 3.8 or document that these audit events are new in 3.9. -- nosy: +gousaiyang ___ Python tracker

[issue42086] AST: Document / re-design? the simple constructor nodes from sums

2020-10-19 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : Simple constructors (basically constructors with no fields) are currently 'cached' / pre-created and dispatched. What I mean by that is, when a user parses some code with `ast.parse()` and gets a tree object, all simple constructors with the same value

[issue2190] MozillaCookieJar ignore HttpOnly cookies

2020-10-19 Thread Daniel Lenski
Daniel Lenski added the comment: I've got a patch that will address both loading and saving of "HTTP-only" cookies: https://github.com/python/cpython/compare/master...dlenski:patch-1 Testing/feedback before I submit as a PR would be very welcome. -- versions: +Python 3.10, Python

[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 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

[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

[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

[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
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

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

2020-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: Status: Waiting until after the importlib.metadata and importlib.resources backports drop support for both Python 2.7 and 3.5 as keeping them in sync would be a pain for maintainers (per jaraco on our sprint importlib-any chat today) --

[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

[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

[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

[issue42072] requests

2020-10-19 Thread Lisa Roach
Lisa Roach added the comment: Requests is a third-party library (https://pypi.org/project/requests/2.7.0/), it is not a part of CPython so this is not the correct forum to report bugs. They have their own issue tracker here: https://github.com/psf/requests/issues I'd also suggest a

[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

[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

[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

[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:

[issue42083] PyStructSequence_NewType broken in 3.8

2020-10-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 --

[issue40680] thread_cputime isn't supported by AIX5

2020-10-19 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > Also, I can submit changes to remove pre-AIX 6 dead code paths. Should I open > a separate issue for that or reference this one? Yes, please do so. -- ___ Python tracker

[issue41349] Tk window not going full screen on 90° rotated screen on mac

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The python.org installers don't include wish, which means I cannot attempt to reproduce the issue without using tkinter. I agree that this likely is an issue with Tk itself. Maybe keep the issue open for a bit longer to check if the upcoming Tk 8.6.11

[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

[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

[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

[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 ___

[issue40680] thread_cputime isn't supported by AIX5

2020-10-19 Thread Kevin
Kevin added the comment: Does this need an update to PEP 11 documenting the drop of support? Also, I can submit changes to remove pre-AIX 6 dead code paths. Should I open a separate issue for that or reference this one? -- nosy: +kadler ___

[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:

[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 ___

[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

[issue42084] Language aware diff headers

2020-10-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +21737 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22776 ___ Python tracker

[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 :) --

[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

[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

[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 keeping integration with system proxy settings, that's more user friendly. Note that _scproxy is an example of triggering this using the standard library, the same may happen when using 3th-party libraries on PyPI if those happen to use

[issue42083] PyStructSequence_NewType broken in 3.8

2020-10-19 Thread Xemistry GmbH
New submission from Xemistry GmbH : Calling PyStructSequence_NewType() with a NULL field in the desc.doc parameter (explicitly allowed as per docs) leads to a crash in Objects/typeobject.c:2956 2956size_t len = strlen(old_doc)+1; where old_doc is NULL. If the doc string is

[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 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)

[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

[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

[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 --

[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

[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 ___

[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

[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

[issue42082] Eliminate test_peg_generator redundant output

2020-10-19 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Let me look into that. -- assignee: -> lys.nikolaou nosy: +lys.nikolaou ___ 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:

[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. -- ___

[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
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

[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:

[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 ___ ___

[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

[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 ___

[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 ___ ___

[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 ___ ___

[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

[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

[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

[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 --

<    1   2   3   >