[issue36732] Windows: test_asyncio: test_huge_content_recvinto() fails randomly with ProactorEventLoop

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: AMD64 Windows7 SP1 3.x: https://buildbot.python.org/all/#/builders/40/builds/3470 ERROR: test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) ... ERROR: test_huge_content

[issue29275] time module still has Y2K issues note

2019-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +16833 pull_request: https://github.com/python/cpython/pull/17349 ___ Python tracker ___

[issue29275] time module still has Y2K issues note

2019-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +16832 pull_request: https://github.com/python/cpython/pull/17348 ___ Python tracker ___

[issue29275] time module still has Y2K issues note

2019-11-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 42bc60ead39c7be9f6bb7329977826e962f601eb by Benjamin Peterson (Callum Ward) in branch 'master': closes bpo-29275: Remove Y2K reference from time module docs (GH-17321)

[issue37334] Add a cancel method to asyncio Queues

2019-11-22 Thread Martin Teichmann
Martin Teichmann added the comment: Yes, in the one-producer-many-consumers situation on can indeed to the trick with the None. But this is just a clumsy hack, cancelling the tasks is IMHO more in line with asyncio. In the many-producers-one-consumer scenario this does not work. The one

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: I introduced a workaround to a reference leak in bpo-36854 because _PyImport_Cleanup() doesn't clear modules dictionary in some cases: https://bugs.python.org/issue36854#msg357160 Maybe _PyImport_Cleanup() should be enhanced to ensure that the dictionary of

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16829 pull_request: https://github.com/python/cpython/pull/17345 ___ Python tracker ___

[issue37334] Add a cancel method to asyncio Queues

2019-11-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: My point is that closing (or cancellation) should be one-way ticket. Is there a case where continuing after stopping? -- ___ Python tracker

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +16827 pull_request: https://github.com/python/cpython/pull/17343 ___ Python tracker ___

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16831 pull_request: https://github.com/python/cpython/pull/17347 ___ Python tracker ___

[issue38895] performance degradation creating a mock object (by factor 7-8)

2019-11-22 Thread Julian
Change by Julian : -- title: performance degradation creating a mock object -> performance degradation creating a mock object (by factor 7-8) ___ Python tracker ___

[issue29275] time module still has Y2K issues note

2019-11-22 Thread miss-islington
miss-islington added the comment: New changeset ca5fafc2bbda9373c9ab12b76d17614585cffc23 by Miss Islington (bot) in branch '3.8': closes bpo-29275: Remove Y2K reference from time module docs (GH-17321) https://github.com/python/cpython/commit/ca5fafc2bbda9373c9ab12b76d17614585cffc23

[issue29275] time module still has Y2K issues note

2019-11-22 Thread miss-islington
miss-islington added the comment: New changeset c58a8116475fc9e90fe87b150cde4e535173ec1c by Miss Islington (bot) in branch '3.7': closes bpo-29275: Remove Y2K reference from time module docs (GH-17321) https://github.com/python/cpython/commit/c58a8116475fc9e90fe87b150cde4e535173ec1c

[issue17639] symlinking .py files creates unexpected sys.path

2019-11-22 Thread Guido van Rossum
Guido van Rossum added the comment: It is quite intentional that symlinks are followed for the purpose of computing sys. argv[0] and sys.path. -- --Guido (mobile) -- ___ Python tracker

[issue38882] IDLE should not make the about dialog be a transient of the withdrawn root window

2019-11-22 Thread Marc Culler
Marc Culler added the comment: I should have mentioned that I did not see the IDLE hang with Python 3, only with Python 2.7. So I changed the Version in the ticket. -- versions: +Python 3.7 -Python 3.8 ___ Python tracker

[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

2019-11-22 Thread Eryk Sun
Change by Eryk Sun : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue17639] symlinking .py files creates unexpected sys.path

2019-11-22 Thread Guido van Rossum
Guido van Rossum added the comment: You have a point — I was just responding to Nick’s last message without noticing how old it was. I’ll remove myself from the nosy list. On Fri, Nov 22, 2019 at 15:14 Kristján Valur Jónsson wrote: > > Kristján Valur Jónsson added the comment: > > So you

[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 17340 to add Add PyInterpreterState_GetEvalFrameFunc() and PyInterpreterState_SetEvalFrameFunc() functions. Since the PEP 523 has been approved, for me, these functions must be public, not private. My implementation adds these functions to

[issue17639] symlinking .py files creates unexpected sys.path

2019-11-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: So you have already stated, and this issue is six years old now. While I no longer have a stake in this, I'd just like to reiterate that IMHO it breaks several good practices of architecture, particularly that of separation of roles. The abstraction

[issue22367] Add open_file_descriptor parameter to fcntl.lockf() (use the new F_OFD_SETLK flag)

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset c3cd0de9ec7ab54186cebef5b2edfd098f7ae387 by Victor Stinner (Miss Islington (bot)) in branch '3.8': bpo-22367: Update test_fcntl.py for spawn process mode (GH-17154) (GH-17252)

[issue22367] Add open_file_descriptor parameter to fcntl.lockf() (use the new F_OFD_SETLK flag)

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset d4d79209e69d52ea4c047545c6c60c3ba75f15f4 by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-22367: Update test_fcntl.py for spawn process mode (GH-17154) (GH-17253)

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16828 pull_request: https://github.com/python/cpython/pull/17344 ___ Python tracker ___

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset e0c9ab8e26d1648b870b80c296b2490a5e9553e5 by Victor Stinner in branch 'master': bpo-38858: Add init_set_builtins_open() subfunction (GH-17346) https://github.com/python/cpython/commit/e0c9ab8e26d1648b870b80c296b2490a5e9553e5 --

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset b00513636c9891deba4cae50217e25e8faf6c6ac by Victor Stinner in branch 'master': bpo-38858: Add init_interp_main() subfunction (GH-17347) https://github.com/python/cpython/commit/b00513636c9891deba4cae50217e25e8faf6c6ac --

[issue38882] IDLE should not make the about dialog be a transient of the withdrawn root window

2019-11-22 Thread Marc Culler
Change by Marc Culler : -- versions: +Python 2.7 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16835 pull_request: https://github.com/python/cpython/pull/17351 ___ Python tracker ___

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 82c83bd907409c287a5bd0d0f4598f2c0538f34d by Victor Stinner in branch 'master': bpo-38858: _PyImport_FixupExtensionObject() handles subinterpreters (GH-17350) https://github.com/python/cpython/commit/82c83bd907409c287a5bd0d0f4598f2c0538f34d

[issue37334] Add a cancel method to asyncio Queues

2019-11-22 Thread Yury Selivanov
Yury Selivanov added the comment: > 1. A CancelledError (or maybe`QueueCancelled`?) exception is raised in all > producers and consumers ) - this gives a producer a chance to handle the > error and do something with the waiting item that could not be `put()` > 2. Items currently on the

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-11-22 Thread Jukka Väisänen
Jukka Väisänen added the comment: > Are you aware of what currently supported platforms have SO_REUSEPORT defined > where the *reuse_port* parameter doesn't actually work? This would be quite > helpful to know. This was reported by a partner that was working porting our code to Android but

[issue38895] performance degradation creating a mock object (by factor 7-8)

2019-11-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38021] pep425 tag for AIX is inadequate

2019-11-22 Thread Michael Felt
Michael Felt added the comment: @paul.moore - thanks for the comment. I am trying to work from both https://packaging.python.org/specifications/platform-compatibility-tags/ which describes in a few words the goals of PEP425. As to the PEP425 itself, it does not specify what a tag looks

[issue37334] Add a cancel method to asyncio Queues

2019-11-22 Thread Caleb Hattingh
Caleb Hattingh added the comment: Ok, I see now. The improvement with only a single producer/consumer might be marginal, but the proposition that `queue.cancel()` might simplify the situation with multiple producers and/or consumers is more compelling. Usually, assuming M producers and N

[issue38894] Path.glob() sometimes misses files that match

2019-11-22 Thread Thierry Parmentelat
New submission from Thierry Parmentelat : I have observed this on a linux box running fedora29 $ python3 --version Python 3.7.5 $ uname -a Linux faraday.inria.fr 5.3.11-100.fc29.x86_64 #1 SMP Tue Nov 12 20:41:25 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/fedora-release Fedora release

[issue38882] IDLE should not make the about dialog be a transient of the withdrawn root window

2019-11-22 Thread Marc Culler
Marc Culler added the comment: It definitely makes sense for an on-screen window to have a transient dialog. With a little care (see "messages boxes" in the widget demo) on the mac the transient can be a "sheet" that opens from the top of the master window. It even makes sense for an

[issue38894] Path.glob() sometimes misses files that match

2019-11-22 Thread Thierry Parmentelat
Thierry Parmentelat added the comment: to clarify, when I said 'lambda user' I mean regular, non-root user that has no permission to read in /root -- ___ Python tracker ___

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: I'm now tracking this vulnerability at: https://python-security.readthedocs.io/vuln/cookiejar-redos.html -- ___ Python tracker ___

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16830 pull_request: https://github.com/python/cpython/pull/17346 ___ Python tracker ___

[issue38895] performance degradation creating a mock object

2019-11-22 Thread Julian
New submission from Julian : There seems to be a performance issue when creating a Mock() object from unittest module. The performance difference between 3.7.x and 3.8.0 is about 7-8 times slower in 3.8 Heres the smalles sample i could generate: Using python 3.7.5 ``` python3 -m timeit -v

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16834 pull_request: https://github.com/python/cpython/pull/17350 ___ Python tracker ___

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

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: Can this issue be closed now? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New question: if we add a public API to Python 3.8.1, would it make sense to directly change eval_frame type to add a new "tstate" parameter? See bpo-38818 for the rationale. I already proposed a change for the master branch:

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +16825 pull_request: https://github.com/python/cpython/pull/17341 ___ Python tracker ___

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1b779bfb8593739b11cbb988ef82a883ec9d077e by Victor Stinner (bcaller) in branch 'master': bpo-38804: Fix REDoS in http.cookiejar (GH-17157) https://github.com/python/cpython/commit/1b779bfb8593739b11cbb988ef82a883ec9d077e --

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +16826 pull_request: https://github.com/python/cpython/pull/17342 ___ Python tracker ___

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread miss-islington
miss-islington added the comment: New changeset cb6085138a845f8324adc011b65754acc2086cc0 by Miss Islington (bot) in branch '3.7': bpo-38804: Fix REDoS in http.cookiejar (GH-17157) https://github.com/python/cpython/commit/cb6085138a845f8324adc011b65754acc2086cc0 --

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread miss-islington
miss-islington added the comment: New changeset a1e1be4c4969c7c20c8c958e5ab5279ae6a66a16 by Miss Islington (bot) in branch '3.8': bpo-38804: Fix REDoS in http.cookiejar (GH-17157) https://github.com/python/cpython/commit/a1e1be4c4969c7c20c8c958e5ab5279ae6a66a16 -- nosy:

[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16836 pull_request: https://github.com/python/cpython/pull/17352 ___ Python tracker ___

[issue38896] Remove PyUnicode_ClearFreeList() function

2019-11-22 Thread STINNER Victor
New submission from STINNER Victor : The PyUnicode_ClearFreeList() function does nothing since Python 3.3, since this change: commit d63a3b8beb4a0841cb59fb3515347ccaab34b733 Author: Martin v. Löwis Date: Wed Sep 28 07:41:54 2011 +0200 Implement PEP 393. I propose attached PR to remove

[issue38882] IDLE should not make the about dialog be a transient of the withdrawn root window

2019-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I still want to look at what happens on 3.x. -- versions: +Python 3.9 ___ Python tracker ___ ___

[issue38882] IDLE should not make the about dialog be a transient of the withdrawn root window

2019-11-22 Thread Marc Culler
Marc Culler added the comment: One thing to keep in mind is that Apple's release of OSX 10.14.6 caused Tk 8.6.8 to stop working on many systems in an extremely obnoxious way. Starting a Tk Application would trigger a segfault in Apple's WindowServer which would then cause the user to be

[issue37334] Add a cancel method to asyncio Queues

2019-11-22 Thread Emmanuel Arias
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: > @victor if we are going to ask folks to start using a setter and getter I say > we might as well get it right the first time and start taking the tstate now. Done: New PR 17352 combines my two other PRs. -- ___

[issue38818] Modify PyInterpreterState.eval_frame to pass tstate (PyThreadState)

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16837 pull_request: https://github.com/python/cpython/pull/17352 ___ Python tracker ___

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16838 pull_request: https://github.com/python/cpython/pull/17353 ___ Python tracker ___

[issue38896] Remove PyUnicode_ClearFreeList() function

2019-11-22 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +16839 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17354 ___ Python tracker ___

[issue36854] GC operates out of global runtime state.

2019-11-22 Thread Eric Snow
Eric Snow added the comment: Did I mention that you're my hero? :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2582d46fbcf7bdf86b9cf4016850b8d155267ac6 by Victor Stinner in branch 'master': bpo-38858: new_interpreter() reuses pycore_init_builtins() (GH-17351) https://github.com/python/cpython/commit/2582d46fbcf7bdf86b9cf4016850b8d155267ac6 --

[issue38897] Example in socket documentation uses deprecated array.fromstring

2019-11-22 Thread David Coles
New submission from David Coles : See the `recv_fds` example for `socket.recvmsg`. This code produces a `DeprecationWarning` on current versions of Python. https://docs.python.org/3.9/library/socket.html#socket.socket.recvmsg -- assignee: docs@python components: Distutils,

[issue38538] dictobject dictviews don't return NotImplemented for unrecognized types.

2019-11-22 Thread Julien Palard
Julien Palard added the comment: Let's start slowly by warning when a non-set is given to the __or__ of dictview? I think it is just a side effect of the current implementation, not a feature. -- ___ Python tracker

[issue38878] os.PathLike subclasshook causes subclass checks true on abstract implementation

2019-11-22 Thread Bar Harel
Bar Harel added the comment: Done. On Fri, Nov 22, 2019, 12:23 PM Bar Harel wrote: > > Change by Bar Harel : > > > -- > keywords: +patch > pull_requests: +16820 > stage: resolved -> patch review > pull_request: https://github.com/python/cpython/pull/17336 > >

[issue36854] GC operates out of global runtime state.

2019-11-22 Thread Eric Snow
Eric Snow added the comment: Thanks so much for getting this done, Victor! > I'm not fully happy with this solution Should we have an issue open for finding a better solution? Are there risks with what you did that we don't want long-term? --

[issue17639] symlinking .py files creates unexpected sys.path

2019-11-22 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38896] Remove PyUnicode_ClearFreeList() function

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: See also similar issue, bpo-37340 "Remove PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() functions". -- ___ Python tracker ___

[issue38650] Add constantness to PyStructSequence_UnnamedField

2019-11-22 Thread Eric Snow
Eric Snow added the comment: I wouldn't worry about the c-analyzer stuff for now. I plan on re-generating the file in the near future. -- nosy: +eric.snow ___ Python tracker

[issue30060] Crash with subinterpreters and Py_NewInterpreter()

2019-11-22 Thread Eric Snow
Eric Snow added the comment: Victor's comment [1] on that related issue, implies that this may no longer be a problem (on 3.8). Please check. Thanks! [1] https://bugs.python.org/issue17978#msg355166 -- status: open -> pending ___ Python

[issue38868] Shutil cannot delete a folder that contains an .ini file

2019-11-22 Thread Eryk Sun
Eryk Sun added the comment: The directory probably has the "readonly" attribute set. The documentation includes a basic remove_readonly error handler for rmtree [1]: import os, stat import shutil def remove_readonly(func, path, _): "Clear the readonly bit and

[issue38855] test_unpack.py does not catch the unpacking of a set

2019-11-22 Thread Zachary Ware
Zachary Ware added the comment: Absent clarification from the OP (though it appears some may have been added to bpo-38853), I'm closing the issue. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue38898] Tkinter checkbutton switch on and off together

2019-11-22 Thread zaza hohonini
New submission from zaza hohonini : Hello, I am running python 3.8.0 and found a problem where multiple checkbuttons get switched when I click one. From observing it looks like each first check button in a frame is linked. And each second, etc. I ran the some program in python 2.7.17 and it

[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

2019-11-22 Thread Brett Cannon
Brett Cannon added the comment: @greg I hope this goes into 3.8.1 since it was a breaking change. @victor if we are going to ask folks to start using a setter and getter I say we might as well get it right the first time and start taking the tstate now. --

[issue38840] incorrect __all__ list in multiprocessing.managers module

2019-11-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-22 Thread Ned Deily
Ned Deily added the comment: New changeset 0716056c49e9505041e30386dad9b2e788f67aaf by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-38804: Fix REDoS in http.cookiejar (GH-17157) (#17343) https://github.com/python/cpython/commit/0716056c49e9505041e30386dad9b2e788f67aaf --

[issue38021] pep425 tag for AIX is inadequate

2019-11-22 Thread Paul Moore
Paul Moore added the comment: What complicates the issue for AIX (and reminds me very strongly of the MacOS and manylinux situations, both of which were defined after the original tag PEP, and so contain additional insights) is the business of certain tags being compatible across multiple

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2ec1a1b307cc893adae4662a32e1d2e94b6908e3 by Victor Stinner in branch 'master': bpo-38858: new_interpreter() uses pycore_init_import_warnings() (GH-17353) https://github.com/python/cpython/commit/2ec1a1b307cc893adae4662a32e1d2e94b6908e3

[issue38524] functools.cached_property is not supported for setattr

2019-11-22 Thread Florian Dahlitz
Florian Dahlitz added the comment: It would be an honor for me to work on this issue (updating the docs) as my first CPython contribution. -- nosy: +DahlitzFlorian ___ Python tracker

[issue38889] Segmentation fault when using EPF Importer

2019-11-22 Thread Sebastian Szwarc
Sebastian Szwarc added the comment: I strongly disagree. Python 2.7 is 2.7 -> if some new errors appeared after upgrading between minor version this is not expected behaviour, and therefore it means there is error in interpreter itself. upgrading from 2.7 to 2.7 is not the same as upgrading

[issue38882] IDLE should not make the about dialog be a transient of the withdrawn root window

2019-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, is our last Mac installer for 2.7 going to use tk 8.6.10? I am extremely reluctant to touch IDLE for 2.7 since beginners are nearly all using 3.x and any mistakes are forever. -- ___ Python tracker

[issue38686] WWW-Authenticate qop="auth,auth-int" rejected by urllib

2019-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +16842 pull_request: https://github.com/python/cpython/pull/17358 ___ Python tracker ___

[issue38686] WWW-Authenticate qop="auth,auth-int" rejected by urllib

2019-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +16841 pull_request: https://github.com/python/cpython/pull/17357 ___ Python tracker ___

[issue38686] WWW-Authenticate qop="auth,auth-int" rejected by urllib

2019-11-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 14a89c47983f2fb9e7fdf33c769e622eefd3a14a by Senthil Kumaran (PypeBros) in branch 'master': bpo-38686: fix HTTP Digest handling in request.py (#17045) https://github.com/python/cpython/commit/14a89c47983f2fb9e7fdf33c769e622eefd3a14a

[issue38686] WWW-Authenticate qop="auth,auth-int" rejected by urllib

2019-11-22 Thread Senthil Kumaran
Change by Senthil Kumaran : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38686] WWW-Authenticate qop="auth,auth-int" rejected by urllib

2019-11-22 Thread Senthil Kumaran
Change by Senthil Kumaran : -- versions: +Python 3.9 -Python 2.7, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

2019-11-22 Thread Steve Dower
Steve Dower added the comment: I would guess this is due to the updated libffi, and probably it's a case that is not sufficiently tested. Adding tests is the first step. It'll probably have to enumerate many parameter types (in case there's something weird here like misaligning the double

[issue37224] test__xxsubinterpreters fails randomly

2019-11-22 Thread Eric Snow
Eric Snow added the comment: Sorry I haven't gotten back to you sooner, Kyle. Thanks for working on this. I'm looking at your PR right now. -- ___ Python tracker ___

[issue38899] Document that virtual environment activation for fish should use `source`

2019-11-22 Thread Brett Cannon
New submission from Brett Cannon : https://fishshell.com/docs/current/commands.html#source -- assignee: brett.cannon components: Documentation messages: 357346 nosy: brett.cannon priority: low severity: normal status: open title: Document that virtual environment activation for fish

[issue38483] [venv] Add ~/.venvrc to change module defaults

2019-11-22 Thread Brett Cannon
Brett Cannon added the comment: Is this best served in the stdlib or in an external tool like how virtualenvwrapper is separate from virtualenv? While I get the convenience of not having to install another tool to do this, it does bring in some complexity that does not directly tie into the

[issue37224] test__xxsubinterpreters fails randomly

2019-11-22 Thread Eric Snow
Eric Snow added the comment: Thus far these are the failures we've seen: * not running when we expect it to be running: * interpreters.is_running(interp) * interpreters.run_string(interp, ...) * interpreters.destroy(interp) * can't find the interpreter even though we expect it to

[issue38896] Remove PyUnicode_ClearFreeList() function

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset d68b592dd67cb87c4fa862a8d3b3fd0a7d05e113 by Victor Stinner in branch 'master': bpo-38896: Remove PyUnicode_ClearFreeList() function (GH-17354) https://github.com/python/cpython/commit/d68b592dd67cb87c4fa862a8d3b3fd0a7d05e113 --

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-11-22 Thread Kyle Stanley
Kyle Stanley added the comment: > This was reported by a partner that was working porting our code to Android > but might be fixed current Android API levels. I cannot test this myself. Thanks, it's helpful to be aware of potential incompatibilities either way. I don't think we directly

[issue38384] An assertion failure in test_pickle

2019-11-22 Thread Tal Einat
Change by Tal Einat : -- Removed message: https://bugs.python.org/msg357336 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38384] An assertion failure in test_pickle

2019-11-22 Thread Tal Einat
Tal Einat added the comment: Good catch on this, Zackery! For anyone readying this, Serhiy posted a minimal reproducer in a PR comment, and the PR now adds a test for this. -- ___ Python tracker

[issue38384] An assertion failure in test_pickle

2019-11-22 Thread Tal Einat
Tal Einat added the comment: Good catch on this, Zackery! For anyone readying this, Serhit posted a minimal reproducer in a PR comment, and the PR now adds a test for this. -- nosy: +taleinat ___ Python tracker

[issue25872] multithreading traceback KeyError when modifying file

2019-11-22 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +16845 pull_request: https://github.com/python/cpython/pull/17360 ___ Python tracker ___

[issue38881] unexpected behaviour of random.choices with zero weights

2019-11-22 Thread Tim Peters
Tim Peters added the comment: There are a number of "obvious" properties that should obtain, given the intended meaning of weights: - An input with weight 0 should never be returned. - The distribution shouldn't be affected by adding a new input with weight 0. - The distribution shouldn't

[issue37224] test__xxsubinterpreters fails randomly

2019-11-22 Thread Kyle Stanley
Kyle Stanley added the comment: > Sorry I haven't gotten back to you sooner, Kyle. Thanks for working on this. > I'm looking at your PR right now. > BTW, Kyle, your problem-solving approach on this is on-track. Don't get > discouraged. This stuff is tricky. :) No problem at all, and

[issue37224] test__xxsubinterpreters fails randomly

2019-11-22 Thread Eric Snow
Eric Snow added the comment: BTW, Kyle, your problem-solving approach on this is on-track. Don't get discouraged. This stuff is tricky. :) -- ___ Python tracker ___

[issue38892] Audit Hook doc typos and confusion

2019-11-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +16846 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17361 ___ Python tracker

[issue37224] test__xxsubinterpreters fails randomly

2019-11-22 Thread Kyle Stanley
Kyle Stanley added the comment: So, I was finally able to replicate a failure in test_still_running locally, it required using a rather ridiculous number of parallel workers: $ ./python -m test test__xxsubinterpreters -j200 -F ... Exception in thread Thread-7: Traceback (most recent call

[issue38865] Can Py_Finalize() be called if the current interpreter is not the main interpreter?

2019-11-22 Thread Eric Snow
Eric Snow added the comment: tl;dr Py_Finalize() probably *should* only be allowed under the main interpreter. As you know well, when the runtime starts we do it at first relative to a partially initialized main interpreter and the finish initialization with a fully operational main

[issue38686] WWW-Authenticate qop="auth,auth-int" rejected by urllib

2019-11-22 Thread Senthil Kumaran
Change by Senthil Kumaran : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38686] WWW-Authenticate qop="auth,auth-int" rejected by urllib

2019-11-22 Thread Senthil Kumaran
Change by Senthil Kumaran : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

  1   2   >