[issue37399] XML text behaviour change if there are comments

2019-06-27 Thread Stefan Behnel
Stefan Behnel added the comment: I think it might be this call that strikes here: https://github.com/python/cpython/commit/43851a202c#diff-f3b827d6e1d5c270ab42bc2c0523c1d2R2842 treebuilder_flush_data() is not made for concatenating text, it simply replaces it. If both text parts come

[issue37436] os.path.isfile() with big number cause OverflowError: fd is greater than maximum

2019-06-27 Thread Aldwin Pollefeyt
Aldwin Pollefeyt added the comment: Integers seems to be accepted, so not a TypeError? Maybe documentation needs some more information. Documentation os.path under os.path.exists(path): Changed in version 3.3: path can now be an integer: True is returned if it is an open file descriptor,

[issue20443] __code__. co_filename should always be an absolute path

2019-06-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This change seems to produce a new warning on my Mac. ./Modules/getpath.c:764:23: warning: incompatible pointer types passing 'char [1025]' to parameter of type 'const wchar_t *' (aka 'const int *') [-Wincompatible-pointer-types]

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread miss-islington
miss-islington added the comment: New changeset 4397c68663efe58930b31c561e5948b4038875ae by Miss Islington (bot) in branch '2.7': closes bpo-37437: Update vendorized expat to 2.2.7. (GH-14436) https://github.com/python/cpython/commit/4397c68663efe58930b31c561e5948b4038875ae --

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread miss-islington
miss-islington added the comment: New changeset 87cc66877ccf9c8222d51515c0d8de40c39d8af2 by Miss Islington (bot) in branch '3.7': closes bpo-37437: Update vendorized expat to 2.2.7. (GH-14436) https://github.com/python/cpython/commit/87cc66877ccf9c8222d51515c0d8de40c39d8af2 --

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread miss-islington
miss-islington added the comment: New changeset 6632906c08e1d4de0fceba42c47886be41b7ba3d by Miss Islington (bot) in branch '3.6': closes bpo-37437: Update vendorized expat to 2.2.7. (GH-14436) https://github.com/python/cpython/commit/6632906c08e1d4de0fceba42c47886be41b7ba3d --

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread miss-islington
miss-islington added the comment: New changeset 515a026eb068e2730b6e2cddc9bbb1aef39d71fd by Miss Islington (bot) in branch '3.8': closes bpo-37437: Update vendorized expat to 2.2.7. (GH-14436) https://github.com/python/cpython/commit/515a026eb068e2730b6e2cddc9bbb1aef39d71fd --

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14254 pull_request: https://github.com/python/cpython/pull/14438 ___ Python tracker ___

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14255 pull_request: https://github.com/python/cpython/pull/14439 ___ Python tracker ___

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14256 pull_request: https://github.com/python/cpython/pull/14440 ___ Python tracker ___

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14253 pull_request: https://github.com/python/cpython/pull/14437 ___ Python tracker ___

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 3b03b09fc94425915c5b1225e9200a3a95bc827b by Benjamin Peterson in branch 'master': closes bpo-37437: Update vendorized expat to 2.2.7. (GH-14436) https://github.com/python/cpython/commit/3b03b09fc94425915c5b1225e9200a3a95bc827b --

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +14252 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14436 ___ Python tracker

[issue37437] update vendorized expat to 2.2.7

2019-06-27 Thread Benjamin Peterson
New submission from Benjamin Peterson : Fixes CVE-2018-20843. -- components: XML messages: 346794 nosy: benjamin.peterson priority: normal severity: normal status: open title: update vendorized expat to 2.2.7 versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8, Python 3.9

[issue37422] Documentation on the change of __path__ in Python 3

2019-06-27 Thread Jim Li
Jim Li added the comment: Ah, that started to make sense. To be honest I didn't really pay much attention to the _namespace's documentation, I only looked at that of __path__ and somehow expected it to mention that certain namespace won't be a type anymore. I will re-read your comments and

[issue37436] os.path.isfile() with big number cause OverflowError: fd is greater than maximum

2019-06-27 Thread Zufu Liu
New submission from Zufu Liu : I think it's should be TypeError as Python 2.7. The doc https://docs.python.org/3/library/os.path.html doesn't says it accept file descriptor. Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help",

[issue37422] Documentation on the change of __path__ in Python 3

2019-06-27 Thread Eric V. Smith
Eric V. Smith added the comment: And I see you're not asking for changed behavior, just documentation. But I think it is documented that this is how namespace packages work. -- ___ Python tracker

[issue37422] Documentation on the change of __path__ in Python 3

2019-06-27 Thread Eric V. Smith
Eric V. Smith added the comment: It's a _NamespacePath in 3.7 because there's no __init__.py in the top-level "google" directory, and that makes it a namespace package. I'm not exactly sure why it works in 2.7, frankly. Looking some more: it's because they're playing tricks in a .pth file.

[issue20443] __code__. co_filename should always be an absolute path

2019-06-27 Thread STINNER Victor
STINNER Victor added the comment: Example of case where a module path is still relative: --- import sys import os modname = 'relpath' filename = modname + '.py' sys.path.insert(0, os.curdir) with open(filename, "w") as fp: print("import sys", file=fp) print("mod =

[issue26828] Implement __length_hint__() on map() and filter() to optimize list(map) and list(filter)

2019-06-27 Thread STINNER Victor
STINNER Victor added the comment: The main issue with using length hint is that calling a method is Python is not free. Calling the method may add more overhead than the speedup provided by smarter memory allocations. The worst case for this optimization should be measured on very small

[issue37428] SSLContext.post_handshake_auth implicitly enables cert validation

2019-06-27 Thread Ned Deily
Ned Deily added the comment: Christian, just confirming that, since you have not set this as a "release blocker", 3.7.4 will go out without it. -- nosy: +ned.deily ___ Python tracker

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-27 Thread STINNER Victor
STINNER Victor added the comment: > For 3.8 I can apply the same fix and make sys.base_executable public, or keep > it as sys._base_executable. Either way, it'll show up in PyConfig. (Victor - > thoughts here? Should be a non-breaking change, right?) There is _PyConfig._config_version which

[issue37415] Error build Python with Intel compiler: doesn't provide atomic_uintptr_t

2019-06-27 Thread STINNER Victor
STINNER Victor added the comment: I suggested you to test the following change on the master branch of Python: diff --git a/Include/internal/pycore_atomic.h b/Include/internal/pycore_atomic.h index 336bc3fec2..c624a0cf1c 100644 --- a/Include/internal/pycore_atomic.h +++

[issue37430] range is not a built-in function

2019-06-27 Thread bob gailer
bob gailer added the comment: Thanks for explaining. Indeed range appears in __builtins__. It is a surprise to type range and get in response. sum otoh gives . The distinction between function, type and class seems muddy. When I enter "range" in the index box in the windows documentation

[issue37412] os.getcwdb() doesn't implement PEP 528 (UTF-8) on Windows

2019-06-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14251 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/14434 ___ Python tracker ___

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-27 Thread Eryk Sun
Eryk Sun added the comment: > you should go through your current user's apps directory > (C:\Users\name\AppData\Local\Microsoft\WindowsApps\, > which contains only symlinks to the actual executables). "%LocalAppData%\Microsoft\WindowsApps" contains IO_REPARSE_TAG_APPEXECLINK reparse points.

[issue23014] Don't have importlib.abc.Loader.create_module() be optional

2019-06-27 Thread Anthony Sottile
Anthony Sottile added the comment: I suspect it would be closed since it's essentially just a revert of this issue :S -- ___ Python tracker ___

[issue37433] syntax error in f-string in multiline string produces ~40k spaces of output

2019-06-27 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +14250 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14433 ___ Python tracker ___

[issue37416] If threading is not imported from the main thread it sees the wrong thread as the main thread.

2019-06-27 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37409] relative import without parent

2019-06-27 Thread Brett Cannon
Brett Cannon added the comment: Please open a separate issue for the relative import issue. -- stage: resolved -> test needed ___ Python tracker ___

[issue23014] Don't have importlib.abc.Loader.create_module() be optional

2019-06-27 Thread Brett Cannon
Brett Cannon added the comment: Feel free to open a new issue to propose changing it. -- ___ Python tracker ___ ___

[issue26828] Implement __length_hint__() on map() and filter() to optimize list(map) and list(filter)

2019-06-27 Thread Nicholas Musolino
Nicholas Musolino added the comment: Before seeing this issue and its closed status, I created PR 14432, which adds `__length_hint__()` to the iterator returned by builtin `map`. This PR differs from the original 2017 PR by MSeifert in that the code can distinguish between the cases where a

[issue37415] Error build Python with Intel compiler: doesn't provide atomic_uintptr_t

2019-06-27 Thread Borja
Borja added the comment: Two things. I searched a bit more and found "atomic_uint" inside , but it's not exactly the same as what you wrote. What you have put me to try, where do I put it? I attached in case it helps. -- Added file: https://bugs.python.org/file48443/stdatomic.h

[issue37433] syntax error in f-string in multiline string produces ~40k spaces of output

2019-06-27 Thread Aaron Meurer
Aaron Meurer added the comment: This looks like the same issue I mentioned here https://bugs.python.org/msg344764 -- nosy: +asmeurer ___ Python tracker ___

[issue37435] builtin map iterator should provide __length_hint__

2019-06-27 Thread Nicholas Musolino
Change by Nicholas Musolino : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue26828] Implement __length_hint__() on map() and filter() to optimize list(map) and list(filter)

2019-06-27 Thread Nicholas Musolino
Change by Nicholas Musolino : -- pull_requests: +14249 pull_request: https://github.com/python/cpython/pull/14432 ___ Python tracker ___

[issue37435] builtin map iterator should provide __length_hint__

2019-06-27 Thread Nicholas Musolino
Nicholas Musolino added the comment: Thanks, Serihy. I can close this issue. I actually have been looking at this problem for some time, and created a patch, but don't what the "length transparency issues" that led to #26828 being closed. Do you think I should close this and comment on

[issue36944] Add support for ARM64 to libffi

2019-06-27 Thread Paul Monson
Paul Monson added the comment: submitted new PR to fix build and test issues for Windows ARM64 in Python https://github.com/libffi/libffi/pull/496 -- ___ Python tracker ___

[issue36943] Windows test changes for Windows ARM64

2019-06-27 Thread Paul Monson
Change by Paul Monson : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue36942] Windows code changes for Windows ARM64

2019-06-27 Thread Paul Monson
Change by Paul Monson : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue36941] Windows build changes for Windows ARM64

2019-06-27 Thread Paul Monson
Change by Paul Monson : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue37236] fix test_complex for Windows arm64

2019-06-27 Thread Paul Monson
Change by Paul Monson : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue37201] fix test_distutils failures for Windows ARM64

2019-06-27 Thread Paul Monson
Change by Paul Monson : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue37435] builtin map iterator should provide __length_hint__

2019-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue26828. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue37435] builtin map iterator should provide __length_hint__

2019-06-27 Thread Nicholas Musolino
Change by Nicholas Musolino : -- keywords: +patch pull_requests: +14248 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14432 ___ Python tracker

[issue36511] Add Windows ARM32 buildbot

2019-06-27 Thread Paul Monson
Change by Paul Monson : -- pull_requests: +14247 pull_request: https://github.com/python/cpython/pull/14431 ___ Python tracker ___

[issue37433] syntax error in f-string in multiline string produces ~40k spaces of output

2019-06-27 Thread Anthony Sottile
Anthony Sottile added the comment: Debugging further, there's a token with a `multi_line_start` pointing at uninitialized memory -- let's see if I can't track down where that gets set and fix it :) -- ___ Python tracker

[issue37435] builtin map iterator should provide __length_hint__

2019-06-27 Thread Nicholas Musolino
New submission from Nicholas Musolino : The builtin `map` function takes one or more user-supplied iterators, and returns an iterator. When all the user-supplied iterator arguments to `map` provide a valid length hint (according to the PEP 424 length hint protocol), the iterator returned by

[issue37433] syntax error in f-string in multiline string produces ~40k spaces of output

2019-06-27 Thread Anthony Sottile
Anthony Sottile added the comment: I can also trigger this with: ``` 1+ """\q """ ``` And `python -Werror` so it seems not necessarily related to fstrings -- ___ Python tracker

[issue37434] Segfault in typeobject.c at _PyObject_GC_UNTRACK(type)

2019-06-27 Thread Timothy Lusk
Timothy Lusk added the comment: I've realized this might not be Python 3.7 specific, the reason protobuf is throwing an exception during import in my above example (as well as in our application) is because it's throwing a deprecation warning that was only introduced in 3.7. Python 3.6

[issue37434] Segfault in typeobject.c at _PyObject_GC_UNTRACK(type)

2019-06-27 Thread Tim Lusk
Tim Lusk added the comment: Alright I was finally able to reproduce the issue with a small code snip and capture the stack in gdb. It looks like the issue has something to do with an exception thrown while importing a class (and possibly only when the class is a c_ext, but I haven't

[issue37433] syntax error in f-string in multiline string produces ~40k spaces of output

2019-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37434] Segfault in typeobject.c at _PyObject_GC_UNTRACK(type)

2019-06-27 Thread Tim Lusk
New submission from Tim Lusk : I'm working on porting an application from Python 3.6.8 to 3.7.3 and am running into this segfault. I'm not able to pin point exactly what Python code is causing this as it's a very large enterprise application and I can't seem to pinpoint exactly where this is

[issue37433] syntax error in f-string in multiline string produces ~40k spaces of output

2019-06-27 Thread Anthony Sottile
New submission from Anthony Sottile : For instance this file: foo = f"""{} foo""" $ python3.8 --version --version Python 3.8.0b1 (default, Jun 6 2019, 03:44:52) [GCC 7.4.0] $ python3.8 t.py | wc -c File "t.py", line 1 <> ^ SyntaxError: f-string:

[issue37390] Generate table of audit events for docs

2019-06-27 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37390] Generate table of audit events for docs

2019-06-27 Thread miss-islington
miss-islington added the comment: New changeset 4fee28aa42dbac7f08a6d2829546b7d8e848034d by Miss Islington (bot) in branch '3.8': bpo-37390: Add audit event table to documentations (GH-14406) https://github.com/python/cpython/commit/4fee28aa42dbac7f08a6d2829546b7d8e848034d -- nosy:

[issue37432] Fix a small param type in allocation.rst

2019-06-27 Thread hai shi
hai shi added the comment: Due to https://github.com/python/cpython/blob/master/Include/objimpl.h#L102, `void PyObject_Del(PyObject *op)` should be `void PyObject_Del(void *op)` -- ___ Python tracker

[issue37432] Fix a small param type in allocation.rst

2019-06-27 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +14246 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14430 ___ Python tracker ___

[issue37432] Fix a small param type in allocation.rst

2019-06-27 Thread SilentGhost
New submission from SilentGhost : Could you please elaborate on what exactly needs fixing? -- nosy: +SilentGhost ___ Python tracker ___

[issue37432] Fix a small param type in allocation.rst

2019-06-27 Thread hai shi
Change by hai shi : -- title: Fix a small param type allocation.rst -> Fix a small param type in allocation.rst ___ Python tracker ___

[issue37432] Fix a small param type allocation.rst

2019-06-27 Thread hai shi
Change by hai shi : -- assignee: docs@python components: Documentation nosy: docs@python, shihai1991 priority: normal severity: normal status: open title: Fix a small param type allocation.rst type: behavior ___ Python tracker

[issue37390] Generate table of audit events for docs

2019-06-27 Thread Steve Dower
Steve Dower added the comment: New changeset 44f91c388a6f4da9ed3300df32ca290b8aa104ea by Steve Dower in branch 'master': bpo-37390: Add audit event table to documentations (GH-14406) https://github.com/python/cpython/commit/44f91c388a6f4da9ed3300df32ca290b8aa104ea --

[issue37390] Generate table of audit events for docs

2019-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14245 pull_request: https://github.com/python/cpython/pull/14429 ___ Python tracker ___

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2019-06-27 Thread miss-islington
miss-islington added the comment: New changeset 60f24b23bf6ac485d195bb904635bdc3fe646b07 by Miss Islington (bot) in branch '3.8': bpo-30345: travis: use -Og with --with-pydebug (GH-14423) https://github.com/python/cpython/commit/60f24b23bf6ac485d195bb904635bdc3fe646b07 -- nosy:

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-27 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +14244 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14428 ___ Python tracker ___

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-27 Thread Steve Dower
Steve Dower added the comment: So I have a fix for 3.9 for this, I believe (involves making sys.base_executable configurable via PyConfig and overriding it and config->home when we know we're inside an app container). For 3.8 I can apply the same fix and make sys.base_executable public, or

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2019-06-27 Thread Inada Naoki
Inada Naoki added the comment: I think test_gdb is useful for 3.8 branch because some PEP 590 relating changes will be backported to it. But I don't know how test_gdb is useful for older branches. -- ___ Python tracker

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2019-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14243 pull_request: https://github.com/python/cpython/pull/14427 ___ Python tracker ___

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2019-06-27 Thread Inada Naoki
Inada Naoki added the comment: New changeset 21cfae107e410bf4b0ab3c142ca4449bc33290f5 by Inada Naoki in branch 'master': bpo-30345: travis: use -Og with --with-pydebug (GH-14423) https://github.com/python/cpython/commit/21cfae107e410bf4b0ab3c142ca4449bc33290f5 --

[issue37422] Documentation on the change of __path__ in Python 3

2019-06-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37431] test_asyncio: test_start_tls_server_1() failed on ARMv7 Debian buster 3.7

2019-06-27 Thread STINNER Victor
New submission from STINNER Victor : The test failed but then passed when run again. See also bpo-35998 "test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29" and bpo-35031 "test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots"

[issue37420] os.sched_setaffinity does not handle errors during iteration.

2019-06-27 Thread miss-islington
miss-islington added the comment: New changeset 6fbed5350c786ab88868925d67f59e19d0ab841c by Miss Islington (bot) in branch '3.8': closes bpo-37420: Handle errors during iteration in os.sched_setaffinity. (GH-14414)

[issue37425] Using Pyinstaller with (Anaconda) Python 3.7.3 needs PyQt5 even if not imported in code

2019-06-27 Thread Steve Dower
Steve Dower added the comment: In any case, it's definitely pyinstaller and not CPython. Please report it on their issue tracker. -- status: open -> closed ___ Python tracker

[issue37422] Documentation on the change of __path__ in Python 3

2019-06-27 Thread Jim Li
Jim Li added the comment: Hi Eric, Sorry for the late reply. I think I did not accurately describe the issue at all. As a minimal example, set up two virtual environments, one from 2.7.x, one from 3.7.2. When you are in the virtual environment, do - pip install protobuf==3.3.0 - python (to

[issue37420] os.sched_setaffinity does not handle errors during iteration.

2019-06-27 Thread miss-islington
miss-islington added the comment: New changeset 65e187239a6feb09840ed9c2ebee51ed151e690d by Miss Islington (bot) in branch '3.7': closes bpo-37420: Handle errors during iteration in os.sched_setaffinity. (GH-14414)

[issue37430] range is not a built-in function

2019-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you are referring to 8.3 of the language reference https://docs.python.org/3/reference/compound_stmts.html#the-for-statement which has "the built-in function range()". Types/classes *are* functions, which is why dist, list, range, etc are listed in

[issue37425] Using Pyinstaller with (Anaconda) Python 3.7.3 needs PyQt5 even if not imported in code

2019-06-27 Thread Sameer Bobade
Sameer Bobade added the comment: PyQt5 was installed when trying to make exe with Python 3.7.3 because without it pyinstaller will fail to produce output. Added log without PyQt5 & Python 3.7.3 which fails to produce output. Maybe this is issue of Matplotlib then? Not sure if versions are

[issue37420] os.sched_setaffinity does not handle errors during iteration.

2019-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14242 pull_request: https://github.com/python/cpython/pull/14426 ___ Python tracker ___

[issue37420] os.sched_setaffinity does not handle errors during iteration.

2019-06-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 45a30af109f69a81576b87ea775863ba12d55316 by Benjamin Peterson (Brandt Bucher) in branch 'master': closes bpo-37420: Handle errors during iteration in os.sched_setaffinity. (GH-14414)

[issue37420] os.sched_setaffinity does not handle errors during iteration.

2019-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14241 pull_request: https://github.com/python/cpython/pull/14425 ___ Python tracker ___

[issue37416] If threading is not imported from the main thread it sees the wrong thread as the main thread.

2019-06-27 Thread Pavel Minaev
Pavel Minaev added the comment: Debuggers will have to work around this in past Python versions that they support (which still includes Python 2 for pretty much all of them), so this is solely about resolving the inconsistency for the future. No point rushing it for 3.8 specifically. (The

[issue35121] Cookie domain check returns incorrect results

2019-06-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I also reported it to secur...@python.org . Please check with them too to see if there is a CVE request already made. Thanks. -- ___ Python tracker

[issue35121] Cookie domain check returns incorrect results

2019-06-27 Thread Riccardo Schirone
Riccardo Schirone added the comment: Did anybody request a CVE for this issue? I think it deserves one as it is a security issue and it may leak cookies to wrong domains. Does anybody have anything against assigning a CVE to this issue? If not, I would try to get one from MITRE. --

[issue37416] If threading is not imported from the main thread it sees the wrong thread as the main thread.

2019-06-27 Thread Eric Snow
Eric Snow added the comment: FWIW, this might also have implications for thread shutdown during runtime/interpreter finalization. -- nosy: +vstinner ___ Python tracker ___

[issue37416] If threading is not imported from the main thread it sees the wrong thread as the main thread.

2019-06-27 Thread Eric Snow
Eric Snow added the comment: Note that in Python 3.7 we consolidated a bunch of the global runtime state. The "main_thread" static in ceval.c moved to the internal struct _PyRuntimestate and in 3.7 it is accessible as _Runtime.ceval.pending.main_thread (but only if you build with

[issue37430] range is not a built-in function

2019-06-27 Thread bob gailer
New submission from bob gailer : In section 8.3 The for statement there is a reference to range as a built-in function. That was true in python 2. Now range is a built-in type. -- assignee: docs@python components: Documentation messages: 346745 nosy: bgailer, docs@python priority:

[issue37425] Using Pyinstaller with (Anaconda) Python 3.7.3 needs PyQt5 even if not imported in code

2019-06-27 Thread Steve Dower
Steve Dower added the comment: This looks like because you have Qt installed in one environment and not the other, so when matplotlib imports it pyinstaller decides to include it. You'll have to report this to pyinstaller. It's nothing to do with core Python. -- resolution: ->

[issue37412] os.getcwdb() doesn't implement PEP 528 (UTF-8) on Windows

2019-06-27 Thread STINNER Victor
STINNER Victor added the comment: > This update breaks long-path support in Windows. Oops. This is the risk of not testing a feature :-) My PR added very basic tests for getcwd() and getcwdb(). I wrote PR 14424 to not only fix the integer overflow check, but also to add a new unit tests

[issue37412] os.getcwdb() doesn't implement PEP 528 (UTF-8) on Windows

2019-06-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14240 pull_request: https://github.com/python/cpython/pull/14424 ___ Python tracker ___

[issue37427] sorted() and list.sort() don't accept non-boolean objects with __bool__() as `reverse` parameter

2019-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue15999. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33926] test_gdb is skipped in builds since gdb is not installed as part of build script

2019-06-27 Thread STINNER Victor
STINNER Victor added the comment: > Feel free to close... What about 2.7 and 3.7 branches? -- ___ Python tracker ___ ___

[issue33926] test_gdb is skipped in builds since gdb is not installed as part of build script

2019-06-27 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Feel free to close... -- nosy: +jdemeyer ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36889] Merge StreamWriter and StreamReader into just asyncio.Stream

2019-06-27 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37415] Error build Python with Intel compiler: doesn't provide atomic_uintptr_t

2019-06-27 Thread STINNER Victor
STINNER Victor added the comment: > I searched at atomic_uintptr_t and found nothing. That's not good. I expectd std to stand for standard. I expected that atomic_uintptr_t would always be available on . GCC defines the type as: typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t; Maybe

[issue37429] Python hangs on fork when a logger is in use in a background thread

2019-06-27 Thread Ryan Petrello
Ryan Petrello added the comment: Actually, I think I *am* seeing this on 3.7: (gdb) bt #0 0x7f130d530adb in futex_abstimed_wait (cancel=true, private=, abstime=0x0, expected=0, futex=0x142c6d0) at ../nptl/sysdeps/unix/sysv/linux/sem_waitcommon.c:43 #1 do_futex_wait

[issue37429] Python hangs on fork when a logger is in use in a background thread

2019-06-27 Thread Ryan Petrello
Ryan Petrello added the comment: Also, for what it's worth, I'm *not* able to reproduce this hang in Python 3.7.0. -- ___ Python tracker ___

[issue5115] Extend subprocess.kill to be able to kill process groups

2019-06-27 Thread haizaar
Change by haizaar : -- nosy: +haizaar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37429] Python hangs on fork when a logger is in use in a background thread

2019-06-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue36533 -- nosy: +vinay.sajip, xtreak ___ Python tracker ___

[issue30154] subprocess.run with stderr connected to a pipe won't timeout when killing a never-ending shell commanad

2019-06-27 Thread haizaar
Change by haizaar : -- nosy: +haizaar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26534] subprocess.check_output with shell=True ignores the timeout

2019-06-27 Thread haizaar
Change by haizaar : -- nosy: +haizaar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >