[issue31453] Debian Sid/Buster: Cannot enable TLS 1.0/1.1 with PROTOCOL_TLS

2018-05-24 Thread Kurt Roeckx
Kurt Roeckx added the comment: The effect is the same as calling SSL_CTX_set_min_proto_version(). -- ___ Python tracker ___ ___ Pyth

[issue32374] Document that m_traverse for multi-phase initialized modules can be called with m_state=NULL

2018-05-24 Thread miss-islington
miss-islington added the comment: New changeset d9eb22c67c38b45764dd924801c72092770d200f by Miss Islington (bot) in branch '3.7': bpo-33629: Prevent coredump in test_importlib (GH-7090) https://github.com/python/cpython/commit/d9eb22c67c38b45764dd924801c72092770d200f --

[issue33629] test_importlib creates a coredump on AMD64 FreeBSD 10.x Shared 3.7

2018-05-24 Thread miss-islington
miss-islington added the comment: New changeset d9eb22c67c38b45764dd924801c72092770d200f by Miss Islington (bot) in branch '3.7': bpo-33629: Prevent coredump in test_importlib (GH-7090) https://github.com/python/cpython/commit/d9eb22c67c38b45764dd924801c72092770d200f -- nosy: +miss-i

[issue33639] Use high-performance os.sendfile() in shutil.copy*

2018-05-24 Thread desbma
desbma added the comment: Duplicate of https://bugs.python.org/issue25156 ? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue33354] Python2: test_ssl fails on non-ASCII path

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: Oh. I approved the PR but it's not merged yet :-/ -- ___ Python tracker ___ ___ Python-bugs-list m

[issue33629] test_importlib creates a coredump on AMD64 FreeBSD 10.x Shared 3.7

2018-05-24 Thread miss-islington
miss-islington added the comment: New changeset fc0356d2a34719df517a5056bf1a3709850776cf by Miss Islington (bot) in branch '3.6': bpo-33629: Prevent coredump in test_importlib (GH-7090) https://github.com/python/cpython/commit/fc0356d2a34719df517a5056bf1a3709850776cf --

[issue32374] Document that m_traverse for multi-phase initialized modules can be called with m_state=NULL

2018-05-24 Thread miss-islington
miss-islington added the comment: New changeset fc0356d2a34719df517a5056bf1a3709850776cf by Miss Islington (bot) in branch '3.6': bpo-33629: Prevent coredump in test_importlib (GH-7090) https://github.com/python/cpython/commit/fc0356d2a34719df517a5056bf1a3709850776cf --

[issue33640] uuid: endian of the bytes argument is not documented

2018-05-24 Thread STINNER Victor
New submission from STINNER Victor : I don't understand what is the endian of the 'bytes' parameter of the uuid.UUID constructor: https://docs.python.org/dev/library/uuid.html#uuid.UUID According to examples, it seems like the endian is big endian, but I'm not sure. Related issue: bpo-32493.

[issue33639] Use high-performance os.sendfile() in shutil.copy*

2018-05-24 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Oh! I got confused by the fact that #25063 was rejected due to concerns about copyfileobj() otherwise I would have commented on your patch which I totally missed. Yes, this overlaps with #25156 patch but it uses the same logic of socket.sendfile() which IM

[issue25156] shutil.copyfile should internally use os.sendfile when possible

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: Different implementation: bpo-33639. -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-lis

[issue33641] Add links to RFCs

2018-05-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR replaces "RFC XYZ" with ":rfc:`XYZ`". This adds hyperlinks to RFC documents. Actually 85% of all RFC references already use this markup, the PR change the rest 15% written as plain text. -- assignee: docs@python components: Documen

[issue33639] Use high-performance os.sendfile() in shutil.copy*

2018-05-24 Thread desbma
desbma added the comment: Honestly, whatever gets this thing moving forward is good with me. I'm a bit depressed by the number of issues here that have a good patch waiting to be merged, or even read, and that languish for years. I haven't read your patch in detail, but if others agree that i

[issue33641] Add links to RFCs

2018-05-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6742 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue33354] Python2: test_ssl fails on non-ASCII path

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 19f6bd06af3c7fc0db5f96878aaa68f5589ff13e by Victor Stinner (Pablo Galindo) in branch '2.7': bpo-33354: Fix test_ssl when a filename cannot be encoded (GH-6613) https://github.com/python/cpython/commit/19f6bd06af3c7fc0db5f96878aaa68f5589ff13e --

[issue33354] Python2: test_ssl fails on non-ASCII path

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: Thanks Pablo for your fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33629] test_importlib creates a coredump on AMD64 FreeBSD 10.x Shared 3.7

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

[issue33640] uuid: endian of the bytes argument is not documented

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: At least, the UUID.bytes *attribute* is documented as using big endian: https://docs.python.org/dev/library/uuid.html#uuid.UUID.bytes -- ___ Python tracker __

[issue33639] Use high-performance os.sendfile() in shutil.copy*

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: > I'm a bit depressed by the number of issues here that have a good patch > waiting to be merged, or even read, and that languish for years. I'm really sorry about that. We, core developers, are doing our best, but we are 34 active core developers who merged

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 17d8830312d82e7de42ab89739b0771f712645ff by Victor Stinner (Serhiy Storchaka) in branch 'master': bpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099) https://github.com/python/cpython/commit/17d8830312d82e7de42ab89739b0771f712645ff -- __

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +6743 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue22703] Idle Code Context: separate changing current and future editors

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, you are right. The extension-feature conversion made this issue mostly obsolete. Editors start without code context and the menu only toggles the current window. If I had thought about it, I would have closed this or added an update last fall. And

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: It would be nice to fix this bug before Python 3.7.0 final: either skip the test, or fix it. Since the functions are still private, skipping a single test (until it's fixed) should be fine. -- priority: normal -> deferred blocker ___

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: It would be nice to fix this bug before Python 3.7.0 final: either skip the test, or fix it. Flaky tests can be very annoying. For example, the full test suite is run to build a Red Hat package. If a single test fails, the package build fails and should be re

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-24 Thread Yury Selivanov
Yury Selivanov added the comment: I'm OK to skip it for now. Writing functional tests is super hard because some buildbots are super slow and unpredictable. -- ___ Python tracker

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: > I'm OK to skip it for now. Writing functional tests is super hard because > some buildbots are super slow and unpredictable. Would you mind to write a PR to skip the PR? So you will feel guilty and will try to remind to fix it! --

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-24 Thread Ned Deily
Ned Deily added the comment: Victor: >It would be nice to fix this bug before Python 3.7.0 final: either skip the >test, or fix it. These tests (and failures) are only on master / 3.x, not 3.7, right? If so, they have no bearing on 3.7.0. -- nosy: +ned.deily priority: deferred bloc

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-24 Thread Yury Selivanov
Yury Selivanov added the comment: Not at my computer right now, can do it tomorrow. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread miss-islington
miss-islington added the comment: New changeset 5734f41a9b46b4fd65b6ba90240b108f8a0b7c57 by Miss Islington (bot) in branch '3.7': bpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099) https://github.com/python/cpython/commit/5734f41a9b46b4fd65b6ba90240b108f8a0b7c57 -- nosy: +miss-islingt

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: Thank you Serhiy Storchaka for the fix! If someone cares about AIX, please open a different issue. (AIX has other more important functions that you be fixed, IHMO.) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed _

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread Ned Deily
Change by Ned Deily : -- priority: deferred blocker -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-24 Thread Eric Snow
Eric Snow added the comment: Correct. These failures are only on master. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: Oh, I didn't know that it was a 3.8-only issue. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-24 Thread Eric Snow
Eric Snow added the comment: no worries :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue22703] Idle Code Context: separate changing current and future editors

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: An experienced non-CS computer user I asked does not like 'toggle x' or 'switch x', but would like whichever of 'show x' and 'hide x' is appropriate (rather than both). For breakpoints, this would mean one menu entry, either 'set breakpoint' or 'clear breakp

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-24 Thread Cheryl Sabella
New submission from Cheryl Sabella : Item 7 from #33610: Change fixed # of lines to variable # of lines as needed, up to limit. About 15 is limit for 4-space indents in 80 char lines. * Change default number of lines to be 15 in config. * Label in config dialog. * Initialize context to be one

[issue22703] Idle Code Context menu entrie(s)

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Changing title since 'separation' has already been done. Adding a user configuration option is a separate issue. -- title: Idle Code Context: separate changing current and future editors -> Idle Code Context menu entrie(s) __

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +6744 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch, patch pull_requests: +6744, 6745 stage: -> patch review ___ Python tracker ___ ___ P

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: For item 7 - #33642. -- dependencies: +IDLE: Use variable number of lines in CodeContext ___ Python tracker ___ __

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2 quick thoughts. 1. I am not sure we can/should change the default, as it interacts with the recorded user changes for past versions. The default is that we never change defaults. (Having one user config for all Python/IDLE versions is a curse as well as

[issue33625] Release GIL for grp.getgr{nam, gid} and pwd.getpw{nam, uid}

2018-05-24 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: In the future please use gender-neutral words such as "everyone", "people", or "folks" instead of "guys". Thanks. -- nosy: +Mariatta ___ Python tracker _

[issue33616] typing.NoReturn is undocumented

2018-05-24 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- keywords: +patch pull_requests: +6746 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue32911] Doc strings no longer stored in body of AST

2018-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Regardless of the value of .docstring change, it seems it had some unexpected consequences. I think providing a new mode for compile mulitline statements is a reasonable way to address those consequences going forward. That said, it's extremely late in the

[issue32911] Doc strings no longer stored in body of AST

2018-05-24 Thread Ned Deily
Ned Deily added the comment: For the record, Serhiy commented on this issue today in a thread on the python-committers list: "I have doubts about two issues. I feel the responsibility for them because I had the opportunity to solve them before, but I lost it. 1. Changes in the AST. Few third

[issue33351] Support compiling with clang-cl on Windows

2018-05-24 Thread Ethan Smith
Ethan Smith added the comment: After wrangling with some missing compiler intrinsics, I've been able to get CPython to build with an almost vanilla clang-cl! I plan on upstreaming the patches to the LLVM project once I clean them up a bit. After that I will clean up the CPython patches and se

[issue33616] typing.NoReturn is undocumented

2018-05-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +6747 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33616] typing.NoReturn is undocumented

2018-05-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +6748 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32911] Doc strings no longer stored in body of AST

2018-05-24 Thread Ned Deily
Ned Deily added the comment: Based on more recent discussions and indirect feedback from downstream users (primarily the recent IPython experience), I am reluctantly re-opening this issue for 3.7.0. I take responsibility for encouraging us earlier in the beta phase to continue with the featu

[issue33623] Fix possible SIGSGV when asyncio.Future is created in __del__

2018-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is okay if the fact that half of the objects are freed leads to raising exceptions. But an assertion failure is sign of bugs in Python core or the _asyncio module. PR 7080 removes one way of exposing these bugs, but bugs itself still are here, and there

<    1   2