[issue1564508] RFC 2965 BaseCookie does not support "$Port"

2019-04-24 Thread Martin Panter
Martin Panter added the comment: The original report comes from . Anders was trying to parse a HTTP request Cookie field, something like: BaseCookie('sessionid=a2be2e7debe71af8d88d350c4d14d768;$Path=/;$Domain=192.168.0.2;$Port="8000"') The problem

[issue36654] Add example to tokenize.tokenize

2019-04-24 Thread Windson Yang
Change by Windson Yang : -- keywords: +patch pull_requests: +12871 stage: -> patch review ___ Python tracker ___ ___

[issue36654] Add example to tokenize.tokenize

2019-04-24 Thread Windson Yang
Windson Yang added the comment: Yes, I can make a PR for it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23930] http.cookies.SimpleCookie doesn't parse comma-only separated cookies correctly

2019-04-24 Thread Martin Panter
Change by Martin Panter : -- resolution: -> rejected status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36715] Dictionary initialization

2019-04-24 Thread Inada Naoki
Change by Inada Naoki : -- nosy: -inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: With an additonal change on SOABI (I will open a separated issue for that), PR 12946 allows to load lxml built in release mode in a Python built in debug mode! That's *very* useful for debugging: see my gdb example below. --- I just modified the ABI of

[issue36715] Dictionary initialization

2019-04-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23298] Add ArgumentParser.add_mutually_dependence_group

2019-04-24 Thread Martin Panter
Change by Martin Panter : -- superseder: -> Add "necessarily inclusive" groups to argparse ___ Python tracker ___ ___

[issue36717] Allow retrieval of return value from the target of a threading.Thread

2019-04-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22742] IDLE shows traceback when printing non-BMP character

2019-04-24 Thread Martin Panter
Martin Panter added the comment: I haven’t looked at the code, but I suspect Idle implements a custom “sys.displayhook”: >>> help(sys.displayhook) Help on function displayhook in module idlelib.rpc: displayhook(value) Override standard display hook to use non-locale encoding >>>

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 12946: "On Unix, C extensions are no longer linked to libpython". Using PR 12946, the use case described in the initial message (msg218806) now works as expected. I can load a C extension built by a shared library Python with a statically linked

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: > bpo-34814 is linked to this use case: > https://bugzilla.redhat.com/show_bug.cgi?id=1585201 is an example of Python > embedded in C using dlopen("libpython2.7.so.1.0", RTLD_LOCAL | RTLD_NOW). > Problem: some C extensions of the standard library cannot be

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12870 stage: -> patch review ___ Python tracker ___ ___

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: Antoine: > Hmm, apparently the -l flag was added in #832799, for a rather complicated > case where the interpreter is linked with a library dlopened by an embedding > application (I suppose for some kind of plugin system). The OP there also > mentions

[issue36711] duplicate method definition in Lib/email/feedparser.py

2019-04-24 Thread Martin Panter
Martin Panter added the comment: This is caused by Serhiy’s first change to 2.7 in Issue 21448. Compare Mercurial rev. 1b1f92e39462 (3.4 branch) with ba90bd01c5f1 (2.7). In 2.7, he applied the Python 3 version of the code, which used “str.splitlines” rather than a regular expression

[issue36717] Allow retrieval of return value from the target of a threading.Thread

2019-04-24 Thread Joel Croteau
New submission from Joel Croteau : It would be nice if, after a threading.Thread has completed its run, it were possible to retrieve the return value of the target function. You can do this currently by setting a variable from your target or by subclassing Thread, but this should really be

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-34814. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36465] Make release and debug ABI compatible

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 235e7b2b0d937ba8b4a9172aa72206187e3e1f54 by Victor Stinner in branch 'master': bpo-36465: Fix test_regrtest on Windows (GH-12945) https://github.com/python/cpython/commit/235e7b2b0d937ba8b4a9172aa72206187e3e1f54 --

[issue36465] Make release and debug ABI compatible

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12869 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36465] Make release and debug ABI compatible

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36465] Make release and debug ABI compatible

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset f4e4703e746067d6630410408d414b11003334d6 by Victor Stinner in branch 'master': bpo-36465: Make release and debug ABI compatible (GH-12615) https://github.com/python/cpython/commit/f4e4703e746067d6630410408d414b11003334d6 --

[issue36716] Embedded Python fails to import module files with version_platform extensions

2019-04-24 Thread Steve Dower
Steve Dower added the comment: Where are you running the embedded Python from, and how have you configured it to include the packages? Is your install in Program Files from the full installer? Or have you extracted the embeddable distro there? --

[issue36716] Embedded Python fails to import module files with version_platform extensions

2019-04-24 Thread Eric Cosatto
Eric Cosatto added the comment: Yes, and note that the command line python works fine. -- ___ Python tracker ___ ___

[issue36716] Embedded Python fails to import module files with version_platform extensions

2019-04-24 Thread Steve Dower
Steve Dower added the comment: Are you sure you don't have the 32-bit version of Python and the 64-bit version of those packages? -- ___ Python tracker ___

[issue36716] Embedded Python fails to import module files with version_platform extensions

2019-04-24 Thread Eric Cosatto
New submission from Eric Cosatto : I have an application with embedded python. When trying to import numpy, or any other module that was installed by pip, it fails with error 'ModuleNotFoundError("No module named ...")'. Yet, on the command line python, all works fine. The problem is not in

[issue22269] Resolve distutils option conflicts with priorities

2019-04-24 Thread László Kiss Kollár
Change by László Kiss Kollár : -- nosy: +lkollar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36715] Dictionary initialization

2019-04-24 Thread Josh Rosenberg
Josh Rosenberg added the comment: This is the same basic problem seen with sequence multiplication, mutable default arguments to a function, etc. It's not going to change though; the documentation says it "Create a new dictionary with keys from iterable and values set to value." "set to

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-24 Thread Eryk Sun
Eryk Sun added the comment: It's "oem", not "mbcs". -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36715] Dictionary initialization

2019-04-24 Thread Aditya Sane
New submission from Aditya Sane : When initializing a dictionary with dict.fromkeys, if an object is used as initial value, then the value is taken by reference instead of by value. This results in incorrect behavior since Python doesn't have "by reference" or pointers by default. Attached

[issue36668] semaphore_tracker is not reused by child processes

2019-04-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 004b93ea8947bcbe85b6fa16fe0999bfa712d5c1 by Antoine Pitrou (Thomas Moreau) in branch 'master': bpo-36668: FIX reuse semaphore tracker for child processes (#5172) https://github.com/python/cpython/commit/004b93ea8947bcbe85b6fa16fe0999bfa712d5c1

[issue36668] semaphore_tracker is not reused by child processes

2019-04-24 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36695] Change (regression?) in v3.8.0a3 doctest output after capturing the stderr output from a raised warning

2019-04-24 Thread Brian Skinn
Brian Skinn added the comment: LOL. No special thanks necessary, that last post only turned into something coherent (and possibly correct, it seems...) after a LOT of diving into the source, fiddling with the code, and (((re-)re-)re-)writing! Believe me, it reads as a lot more knowledgeable

[issue36541] Make lib2to3 grammar more closely match Python

2019-04-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: For the changes of PEP570, please wait until I merge the implementation to do the grammar changes in lib2to3 for that. -- ___ Python tracker

[issue36695] Change (regression?) in v3.8.0a3 doctest output after capturing the stderr output from a raised warning

2019-04-24 Thread Thomas Kluyver
Thomas Kluyver added the comment: D'oh, yes. I missed that the failing example was displaying the captured string through displayhook. It makes sense now. Thanks for patiently explaining. :-) -- ___ Python tracker

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-04-24 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +12867 stage: -> patch review ___ Python tracker ___ ___

[issue36708] can not execute the python + version, to launch python under windows.

2019-04-24 Thread Steve Dower
Steve Dower added the comment: More precisely, the default Python install for Windows does not include versioned executables. If you install Python 3.7 from the Microsoft Store then you will get them, though it's not identical to the full development kit you'll get from python.org. There

[issue36695] Change (regression?) in v3.8.0a3 doctest output after capturing the stderr output from a raised warning

2019-04-24 Thread Brian Skinn
Brian Skinn added the comment: Well, the warning content *itself* may not get passed through the displayhook at raise-time, in the process of being run through stderr and displayed by the REPL. But, when you capture the warning content with redirect_stderr(sio) and then ">>>

[issue36695] Change (regression?) in v3.8.0a3 doctest output after capturing the stderr output from a raised warning

2019-04-24 Thread Thomas Kluyver
Thomas Kluyver added the comment: The 'single' option to compile() means it's run like at a REPL, calling displayhook if it's an expression returning a value. But warnings shouldn't go through the displayhook, as far as I know: >>> from contextlib import redirect_stdout, redirect_stderr >>>

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36654] Add example to tokenize.tokenize

2019-04-24 Thread Lisa Roach
Lisa Roach added the comment: This could be added to the examples section of the tokenize doc, would you want to make the PR Windson? -- nosy: +lisroach ___ Python tracker

[issue36708] can not execute the python + version, to launch python under windows.

2019-04-24 Thread Brett Cannon
Brett Cannon added the comment: This is by design in the Windows installer. You can check a box to put python3.6 on PATH if you want. If you want the Python Launcher on UNIX, see https://crates.io/crates/python-launcher. -- nosy: +brett.cannon resolution: -> not a bug stage: ->

[issue35224] PEP 572: Assignment Expressions

2019-04-24 Thread Guido van Rossum
Guido van Rossum added the comment: > Maybe we could update the What's New quickly now, and then get the longer > more complex docs done later? People have been asking if this feature is in > 3.8 because they don't see it mentioned. Here it is (PR 12941) --

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-24 Thread Lorenz Mende
Lorenz Mende added the comment: Sorry, was off some days. I tried to decode the output with mbcs, solves the issue partly - the counter name is still wrong. Was able to pick the localization specific counter name from registry and use it for the typeperf. But the tests fail after several

[issue35224] PEP 572: Assignment Expressions

2019-04-24 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +12865 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36540] PEP 570: Python Positional-Only Parameters

2019-04-24 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +12866 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36695] Change (regression?) in v3.8.0a3 doctest output after capturing the stderr output from a raised warning

2019-04-24 Thread Brian Skinn
Brian Skinn added the comment: The application of repr() (or a repr()-equivalent) appears to occur as some part of the exec(compile(...)) call within doctest (https://github.com/python/cpython/blob/4f5a3493b534a95fbb01d593b1ffe320db6b395e/Lib/doctest.py#L1328-L1329). On 3.6.6, in REPL: ```

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-24 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35224] PEP 572: Assignment Expressions

2019-04-24 Thread Guido van Rossum
Guido van Rossum added the comment: I will add stub sections to the 3.8 whatsnew. -- ___ Python tracker ___ ___ Python-bugs-list

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-24 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 43125224d6da5febb34101ebfd36536d791d68cd by Victor Stinner in branch 'master': bpo-36710: Add runtime variable to Py_InitializeEx() (GH-12939) https://github.com/python/cpython/commit/43125224d6da5febb34101ebfd36536d791d68cd --

[issue36616] Optimize thread state handling in function call code

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: See also my PR 12934 which includes a similar change but for correctness, not for optimization. -- ___ Python tracker ___

[issue36714] Tweak doctest 'example' regex to allow a leading ellipsis in 'want' line

2019-04-24 Thread Brian Skinn
New submission from Brian Skinn : doctest requires code examples have PS1 as ">>> " and PS2 as "... " -- that is, each is three printed characters, followed by a space: ``` $ cat ell_err.py import doctest class Foo: """Test docstring. >>>print("This is a test sentence.") ...a

[issue36541] Make lib2to3 grammar more closely match Python

2019-04-24 Thread Lisa Roach
Lisa Roach added the comment: I agree we should get lib2to3 up to date. Looks like for *args and **kwargs there is issue33348 (this has a PR) and issue32496 (no PR) and related closed issue24791 and issue24176. Adding `:=` seems straighforward to me, as for the big change maybe

[issue30840] Contrary to documentation, relative imports cannot pass through the top level

2019-04-24 Thread Nick Coghlan
Change by Nick Coghlan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: behavior -> enhancement versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker

[issue30840] Contrary to documentation, relative imports cannot pass through the top level

2019-04-24 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 4d0233ec656bc7e7814e5f6f484e79a50a0daf91 by Nick Coghlan (Miss Islington (bot)) in branch '3.7': bpo-30840: Document relative imports (GH-12831) (GH-12938) https://github.com/python/cpython/commit/4d0233ec656bc7e7814e5f6f484e79a50a0daf91

[issue16079] list duplicate test names with patchcheck

2019-04-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not sure the unittest module is the right place to implement these checks. The following issues deal with duplicates that are not unittest methods: #19127 #19128 #36711 -- ___ Python tracker

[issue16079] list duplicate test names with patchcheck

2019-04-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +12864 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8e91c246e468515b877690e090c73f496552541d by Victor Stinner in branch 'master': bpo-36710: Add runtime variable to Py_FinalizeEx() (GH-12937) https://github.com/python/cpython/commit/8e91c246e468515b877690e090c73f496552541d --

[issue16079] list duplicate test names with patchcheck

2019-04-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: List of issues entered for all the current duplicate method definitions in 2.7: #19113 #36711 #36712 #36713 -- ___ Python tracker ___

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12863 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36713] uplicate method definition in Lib/ctypes/test/test_unicode.py

2019-04-24 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/ctypes/test/test_unicode.py:110 StringTestCase.test_ascii_replace -- components: Library (Lib) messages: 340782 nosy: xdegaye priority: normal severity: normal stage: needs patch

[issue19119] duplicate test name in Lib/test/test_heapq.py

2019-04-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19113] duplicate test names in Lib/ctypes/test/test_functions.py

2019-04-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- versions: +Python 2.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list

[issue26528] NameError for built in function open when re-raising stored exception from yielded function

2019-04-24 Thread Davide Rizzo
Davide Rizzo added the comment: I've just stumbled on the same thing happening on some code that attempts to use logging on __del__. Comparing dir(__builtins__) normally and on shutdown, these are missing: ['copyright', 'credits', 'exit', 'help', 'license', 'open', 'quit'] The traceback of

[issue30840] Contrary to documentation, relative imports cannot pass through the top level

2019-04-24 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 70bf713617e15fad390ed953e48b3c65d9bc90ec by Nick Coghlan (Joannah Nanjekye) in branch 'master': bpo-30840: Document relative imports (#12831) https://github.com/python/cpython/commit/70bf713617e15fad390ed953e48b3c65d9bc90ec --

[issue36711] duplicate method definition in Lib/email/feedparser.py

2019-04-24 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/email/feedparser.py:140 BufferedSubFile.pushlines -- components: Library (Lib) messages: 340778 nosy: xdegaye priority: normal severity: normal stage: needs patch status: open

[issue30840] Contrary to documentation, relative imports cannot pass through the top level

2019-04-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +12862 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36712] duplicate method definition in Lib/email/test/test_email_renamed.py

2019-04-24 Thread Xavier de Gaye
New submission from Xavier de Gaye : As reported in issue 16079, the following method is a duplicate: Lib/email/test/test_email_renamed.py:521 TestEncoders.test_default_cte -- components: Library (Lib) messages: 340781 nosy: xdegaye priority: normal severity: normal stage: needs patch

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset b930a2d2b1247bdba560db341ba90a9cbb538eb3 by Victor Stinner in branch 'master': bpo-36710: PyOS_AfterFork_Child() pass runtime parameter (GH-12936) https://github.com/python/cpython/commit/b930a2d2b1247bdba560db341ba90a9cbb538eb3 --

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12861 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35224] PEP 572: Assignment Expressions

2019-04-24 Thread Vedran Čačić
Vedran Čačić added the comment: ... and probably also because they start Python, type x := 2 and get SyntaxError (as explained above). ;-) -- ___ Python tracker ___

[issue35224] PEP 572: Assignment Expressions

2019-04-24 Thread Ned Batchelder
Ned Batchelder added the comment: Maybe we could update the What's New quickly now, and then get the longer more complex docs done later? People have been asking if this feature is in 3.8 because they don't see it mentioned. -- ___ Python

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12860 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8bb3230149538c25c1bacced5e64a3c071475f73 by Victor Stinner in branch 'master': bpo-36710: Add runtime parameter to _PyThreadState_Init() (GH-12935) https://github.com/python/cpython/commit/8bb3230149538c25c1bacced5e64a3c071475f73 --

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12859 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35224] PEP 572: Assignment Expressions

2019-04-24 Thread Emily Morehouse
Emily Morehouse added the comment: Ned is correct! I will be sprinting on docs for this at PyCon. -- ___ Python tracker ___ ___

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6c44fde3e03079e0c69f823dafbe04af50b5bd0d by Victor Stinner in branch 'master': bpo-36707: Remove the "m" flag (pymalloc) from SOABI (GH-12931) https://github.com/python/cpython/commit/6c44fde3e03079e0c69f823dafbe04af50b5bd0d --

[issue36475] PyEval_AcquireLock() and PyEval_AcquireThread() do not handle runtime finalization properly.

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- components: +Build resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12858 stage: -> patch review ___ Python tracker ___ ___

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-24 Thread STINNER Victor
New submission from STINNER Victor : Eric Snow moved global variables into a _PyRuntimeState structure which is made of sub-structures. There is a single instance of _PyRuntimeState: the _PyRuntime global variable. I would like to add "_PyRuntimeState *" parameters to functions to avoid

[issue36659] distutils UnixCCompiler: Remove standard library path from rpath

2019-04-24 Thread Matej Cepl
Matej Cepl added the comment: OK, vstinner asked me for more explanation: * we at openSUSE are as opposed to rpath as Fedora developers (actually, https://en.opensuse.org/openSUSE:Packaging_checks#Beware_of_Rpath is stolen from Fedora wiki, apparently) * none of Python packages (python2,

[issue35224] PEP 572: Assignment Expressions

2019-04-24 Thread Ned Batchelder
Ned Batchelder added the comment: 3.8.0a3 is out, and the What's New still doesn't mention this work yet. -- nosy: +nedbat ___ Python tracker ___

[issue36659] distutils UnixCCompiler: Remove standard library path from rpath

2019-04-24 Thread Matej Cepl
Matej Cepl added the comment: Just to add my CZK 0.02 (or €0,0008 ;)). We don't have this patch in openSUSE Python packages, we run rpmlint on all submissions to our build system (so unwanted rpath shouldn't sneak into the distribution), and yet the only Python C extension which needs RPATH

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-04-24 Thread Kubilay Kocak
Kubilay Kocak added the comment: @Eric Happy to give you SSH access to one of the FreeBSD buildbots that's experienced the crash if it helps. Just flick me a pubkey, I'm on IRC (koobs @ freenode / #python-dev) -- nosy: +koobs ___ Python tracker

[issue36632] test_multiprocessing_forkserver: test_rapid_restart() leaked a dangling process on AMD64 FreeBSD 10-STABLE Non-Debug 3.x

2019-04-24 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35755] On Unix, shutil.which() and subprocess no longer look for the executable in the current directory if PATH environment variable is not set

2019-04-24 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36454] test_time: test_monotonic() failed on AMD64 FreeBSD 10-STABLE Non-Debug 3.7

2019-04-24 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-04-24 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36669] weakref proxy doesn't support the matrix multiplication operator

2019-04-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: Yeah, seems like a simple oversight to me. (Actually this is the first I've heard of weakref.proxy...) -- ___ Python tracker ___

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-04-24 Thread STINNER Victor
STINNER Victor added the comment: pymalloc is enabled by default. --without-pymalloc allows to build Python without pymalloc and use malloc by default. -- ___ Python tracker

[issue36708] can not execute the python + version, to launch python under windows.

2019-04-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: -serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2019-04-24 Thread Tom Christie
Tom Christie added the comment: This appears somewhat related: https://bugs.python.org/issue34506 As it *also* logs exceptions occuring during `_fatal_error` and `_force_close`. -- ___ Python tracker

[issue36708] can not execute the python + version, to launch python under windows.

2019-04-24 Thread sakamotoaya
Change by sakamotoaya : -- nosy: +CuriousLearner, docs@python, ncoghlan, ronaldoussoren, serhiy.storchaka, xtreak ___ Python tracker ___

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2019-04-24 Thread Tom Christie
New submission from Tom Christie : If an asyncio SSL connection is left open (eg. any kind of keep-alive connection) then after closing the event loop, an exception will be raised... Python: ``` import asyncio import ssl import certifi async def f(): ssl_context =

[issue36669] weakref proxy doesn't support the matrix multiplication operator

2019-04-24 Thread Mark Dickinson
Change by Mark Dickinson : -- assignee: -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36669] weakref proxy doesn't support the matrix multiplication operator

2019-04-24 Thread Mark Dickinson
Mark Dickinson added the comment: Adding Nathaniel Smith (the matrix multiplication PEP author), just in case he knows some reason why weakref.proxy objects should _not_ support the matrix multiplication operator. -- nosy: +njs ___ Python tracker

[issue36639] Provide list.rindex()

2019-04-24 Thread 林自均
林自均 added the comment: Hi @SilentGhost, Yes, sorry I didn't make it clear. I was just posting the discussion here for some reference, not claiming that this issue should be reopened. -- ___ Python tracker

[issue36669] weakref proxy doesn't support the matrix multiplication operator

2019-04-24 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +12857 stage: -> patch review ___ Python tracker ___ ___

[issue36708] can not execute the python + version, to launch python under windows.

2019-04-24 Thread sakamotoaya
New submission from sakamotoaya : I am sorry if it is existing problem to launch Python 3.6, execute the command in Command Prompt under windows py -3.6→Success python3.6→Fail to launch Python 3.6, execute the command in Command Prompt under Linux py -3.6→Fail python3.6→Success I would like

  1   2   >