[issue29480] Mac OSX Installer SSL Roots

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Thanks for your suggestions. I agree that the Root Certificates and OpenSSL situation on macOS is still less than desirable. For 3.7.0b2, I have tried to make things more obvious in two ways. One, the installer package will now attempt to open a Finder window f

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: xdegaye wrote: > An explanation should be given for the behavior of 3.7 and 3.8 in the jump.py > case. In 3.7 when running jump.py as in msg183254, Python aborts with a frame stack overflow. The reason is that when the generator is resumed after the jump, it

[issue29480] Mac OSX Installer SSL Roots

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Tommy, you should ask your question elsewhere, like on Stackoverflow or on the Python mailing list. It does not seem related to this issue at all or to indicate a problem with Python itself. (For the record, the Python Developer's Guide has some good tips on how

[issue32864] Visual glitches when animating ScrolledText instances using place geometry manager

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Victor, FYI, 3.7.0b2 has just been released and the macOS 10.9+ installer contains an updated version of Tcl/Tk (8.6.7 -> 8.6.8). According to the Tk change log, there were a number of macOS related fixes that went in to 8.6.8. Perhaps some of the glitches you we

[issue32940] IDLE: pyparse - simplify StringTranslatePseudoMapping

2018-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Don't use ord('x'). Use just 'x' or b'x'[0]. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue15663] Investigate providing Tcl/Tk 8.6 with OS X installers

2018-02-27 Thread Ned Deily
Ned Deily added the comment: As of 3.7.0b1, the new macOS 10.9+ installer variant includes a private copy of Tcl/Tk 8.6: 8.6.7 for 3.7.0b1, updated to 8.6.8 for 3.7.0b2. The framework layout is pretty much the same as in the original attempt, that is, everything is installed within /Library/

[issue32940] IDLE: pyparse - simplify StringTranslatePseudoMapping

2018-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I settled on the following to compare ParseMap implementations. from idlelib.pyparse import Parser import timeit class ParseGet(dict): def __getitem__(self, key): return self.get(key, ord('x')) class ParseMis(dict): def __missing__(self, key): return o

[issue32968] Fraction modulo infinity should behave consistently with other numbers

2018-02-27 Thread Ned Deily
Change by Ned Deily : -- nosy: +mark.dickinson, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue32968] Fraction modulo infinity should behave consistently with other numbers

2018-02-27 Thread Elias Zamaria
New submission from Elias Zamaria : Usually, a positive finite number modulo infinity is itself. But modding a positive fraction by infinity produces nan: >>> from fractions import Fraction >>> from math import inf >>> 3 % inf 3.0 >>> 3.5 % inf 3.5 >>> Fraction('1/3') % inf nan Likewise, a pos

[issue32959] zipimport fails when the ZIP archive contains more than 65535 files

2018-02-27 Thread Thomas Wouters
Thomas Wouters added the comment: FWIW, yes, this is because zipimport doesn't support ZIP64, and doesn't even flag it as an error when the ZIP requires it. Instead it skips files; the ZIP64 format works by setting the fields that would overflow to the maximum value as a signal that the real

[issue32966] Python 3.6.4 - 0x80070643 - Fatal Error during installation

2018-02-27 Thread Steve Dower
Steve Dower added the comment: Make sure all your Windows updates are installed, reboot if necessary, and try again. I believe this is the error that occurs when another installation is ongoing, and Windows Update is about the only tool likely to be installing something without telling you o

[issue32959] zipimport fails when the ZIP archive contains more than 65535 files

2018-02-27 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-02-27 Thread miss-islington
miss-islington added the comment: New changeset 8c65360dd0c1ea5b5d2e60a0694daf3f9df8f56b by Miss Islington (bot) in branch '3.6': bpo-30928: Update idlelib/NEWS.txt, possibly for 3.7.0b2 (GH-5932) https://github.com/python/cpython/commit/8c65360dd0c1ea5b5d2e60a0694daf3f9df8f56b --

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-02-27 Thread miss-islington
miss-islington added the comment: New changeset 0ea49fc0bfa10205895f9fb78b4d6659b2946883 by Miss Islington (bot) in branch '3.7': bpo-30928: Update idlelib/NEWS.txt, possibly for 3.7.0b2 (GH-5932) https://github.com/python/cpython/commit/0ea49fc0bfa10205895f9fb78b4d6659b2946883 --

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2018-02-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: It looks like this patch was close to being approved. Ron, would you be able to open a Github pull request for your patch? Thanks! -- nosy: +csabella versions: +Python 3.8 -Python 3.4 ___ Python tracker

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Let's get the changes into master first and stabilized there and then we can discuss the possibility of a 3.7 backport. -- ___ Python tracker ___

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Thanks for everyone's input and thanks for the PRs! Since there are still outstanding review comments, I decided to revert this from both master and 3.7 for 3.7.0b2. I would suggest getting a polished version stabilized in master for 3.8.0. We could then discuss

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-02-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +5706 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-02-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +5705 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0954c9e9c8fbea452f56120df592f2061d3209c7 by Terry Jan Reedy in branch 'master': bpo-30928: Update idlelib/NEWS.txt, possibly for 3.7.0b2 (GH-5932) https://github.com/python/cpython/commit/0954c9e9c8fbea452f56120df592f2061d3209c7 -- _

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I plan to start a new issue for 3.8.0 when 3.7.0rc1 is released and 'What's new in 3.8.0 (since 3.7.0)' is added to master. IDLE PRs after rc1 that are not an emergency fix will go into 3.7.1 -- title: Copy modified blurbs to idlelib/NEWS.txt -> Copy

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-27 Thread Ned Deily
Ned Deily added the comment: New changeset b7dcae358e9d5a3ac9dafec9f6b64e9a66843ad8 by Ned Deily (Miss Islington (bot)) in branch '3.7': Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" (GH-5912) (GH-5931) https://github.com/python/cpython/commit/b7dcae358e9d5a3ac9dafec9f6b

[issue32967] make check in devguide failing

2018-02-27 Thread Mariatta Wijaya
New submission from Mariatta Wijaya : Thanks. Can you open the issue in github.com/python/devguide? -- nosy: +Mariatta resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker __

[issue31512] Add non-elevated symlink support for dev mode Windows 10

2018-02-27 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- nosy: +izbyshev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2018-02-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +5704 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32967] make check in devguide failing

2018-02-27 Thread Neeraj Badlani
Change by Neeraj Badlani : -- assignee: docs@python components: Documentation nosy: docs@python, neerajbadlani priority: normal severity: normal status: open title: make check in devguide failing versions: Python 3.8 ___ Python tracker

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-27 Thread Ned Deily
Ned Deily added the comment: New changeset be50a7b627d0aa37e08fa8e2d5568891f19903ce by Ned Deily (Serhiy Storchaka) in branch 'master': Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" (#5912) https://github.com/python/cpython/commit/be50a7b627d0aa37e08fa8e2d5568891f19903ce

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +5703 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Terry: > Is "this will only be useful on Windows," in the source-deps readme still > true? It appears that the tcl/tk tar.gz source is meant for Mac also. The macOS installer builds do not use the cpython-source-deps repo. -- priority: release blocker ->

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-27 Thread Ned Deily
Ned Deily added the comment: New changeset a7edca7122cb952874e74d64d693c5b938c758cb by Ned Deily in branch '3.7': bpo-32901: update macOS 10.9+ installer to Tcl/Tk 8.6.8 https://github.com/python/cpython/commit/a7edca7122cb952874e74d64d693c5b938c758cb --

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-27 Thread Ned Deily
Ned Deily added the comment: New changeset 9189e95d9c6691de18783b2e9213ec2dc18fd0c5 by Ned Deily in branch 'master': bpo-32901: update macOS 10.9+ installer to Tcl/Tk 8.6.8 https://github.com/python/cpython/commit/9189e95d9c6691de18783b2e9213ec2dc18fd0c5 -- _

[issue32965] Passing a bool to io.open() should raise a TypeError, not read from stdin

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Thanks for your report. Alas, this is expected behavior. As documented, the Boolean values False and True behave like the integers 0 and 1; this behavior dates back to the earliest days of Python. So when you pass False to open, you are passing the integer 0 an

[issue32959] zipimport fails when the ZIP archive contains more than 65535 files

2018-02-27 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue32966] Python 3.6.4 - 0x80070643 - Fatal Error during installation

2018-02-27 Thread Ned Deily
Change by Ned Deily : -- components: +Windows -Installation nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue32965] Passing a bool to io.open() should raise a TypeError, not read from stdin

2018-02-27 Thread Erik Johnson
Erik Johnson added the comment: Also, it's the 3rd and 4th reads that I had to hit ctrl-d to get back to the REPL, as you can see in the example the first two read just fine from that initial block of text I had pasted in. This is what I get for not properly proofreading before I file an issu

[issue32966] Python 3.6.4 - 0x80070643 - Fatal Error during installation

2018-02-27 Thread Scott
New submission from Scott : Installing Python 3.6.4, Windows 10 64bit, exits installer and dumps the following error code to log. [18B8:4394][2018-02-27T15:41:06]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No 0x80070643 - Fatal Error during installation A

[issue32965] Passing a bool to io.open() should raise a TypeError, not read from stdin

2018-02-27 Thread Erik Johnson
Erik Johnson added the comment: Please excuse the typo on the 2nd line of the OP, it should say "open/io.open", not "op/io.open". -- ___ Python tracker ___ ___

[issue32965] Passing a bool to io.open() should raise a TypeError, not read from stdin

2018-02-27 Thread Erik Johnson
New submission from Erik Johnson : When you open a filehandle using either True or False as the file, the open succeeds. This has been reproduced using op/io.open on Python 3.6.4, 3.5.2, and 3.4.5, as well as with io.open() on Python 2.7.14. This can be easily demonstrated in the REPL: >>> f

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2018-02-27 Thread Dave Malcolm
Dave Malcolm added the comment: On Fri, 2018-02-23 at 00:16 +, Cheryl Sabella wrote: > Cheryl Sabella added the comment: > > Did PEP553 make this issue obsolete? I *think* they have slightly different scope: if I'm reading it right, PEP553 is about injecting a breakpoint into the Python d

[issue31355] Remove Travis CI macOS job: rely on buildbots

2018-02-27 Thread Antoine Pitrou
Change by Antoine Pitrou : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue31355] Remove Travis CI macOS job: rely on buildbots

2018-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset d7687eb4b66c9f675b112eff1169326a1766c111 by Antoine Pitrou in branch 'master': bpo-31355: Travis-CI: re-enable macOS job (#5858) https://github.com/python/cpython/commit/d7687eb4b66c9f675b112eff1169326a1766c111 -- _

[issue10381] Add timezone support to datetime C API

2018-02-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset fff596f792a0752b0e571fa57809e5752aba6353 by Alexander Belopolsky (Miss Islington (bot)) in branch '3.7': bpo-10381, bpo-32403: What's new entries for changes to datetime (gh-5814) (gh-5929) https://github.com/python/cpython/commit/fff596f7

[issue32403] date, time and datetime alternate constructors should take fast construction path

2018-02-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset fff596f792a0752b0e571fa57809e5752aba6353 by Alexander Belopolsky (Miss Islington (bot)) in branch '3.7': bpo-10381, bpo-32403: What's new entries for changes to datetime (gh-5814) (gh-5929) https://github.com/python/cpython/commit/fff596f7

[issue32964] Reuse a testing implementation of the path protocol in tests

2018-02-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5702 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue32403] date, time and datetime alternate constructors should take fast construction path

2018-02-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +5701 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue10381] Add timezone support to datetime C API

2018-02-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 5bd04f964b4f1bcdbd0fa36de04f087c2db07cfe by Alexander Belopolsky (Paul Ganssle) in branch 'master': bpo-10381, bpo-32403: What's new entries for changes to datetime (gh-5814) https://github.com/python/cpython/commit/5bd04f964b4f1bcdbd0fa36d

[issue10381] Add timezone support to datetime C API

2018-02-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +5700 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32403] date, time and datetime alternate constructors should take fast construction path

2018-02-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 5bd04f964b4f1bcdbd0fa36de04f087c2db07cfe by Alexander Belopolsky (Paul Ganssle) in branch 'master': bpo-10381, bpo-32403: What's new entries for changes to datetime (gh-5814) https://github.com/python/cpython/commit/5bd04f964b4f1bcdbd0fa36d

[issue32964] Reuse a testing implementation of the path protocol in tests

2018-02-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : In a number of tests there are simple implementations of the path protocol. Unlike to pathlib.Path they implement only necessary minimum of methods. The proposed PR moves this implementation into test.support. It also fixes some misuses of it. I have nam

[issue29915] Drop Mac OS X Tiger support in Python 3.7?

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Update: due to recent changes at github.com to no longer support older implementations of SSL/TLS, the git client on the macOS 10.4 Tiger buildbot server has stopped working. We had a brief discussion with David Bolen, the buildbot's owner, and decided it was no l

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2018-02-27 Thread Ned Deily
Ned Deily added the comment: With a current Tk 8.6.8, test_virtual_event no longer fails (still does with 8.5.18) but test_identify still fails as it does with 8.5. -- versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-02-27 Thread Iryna Shcherbina
New submission from Iryna Shcherbina : test_gdb fails on Fedora 28. This happens only in debug build, and only if built with control flow protection flags: `-mcet -fcf-protection` AND optimization `-O0`. Reproduction steps on Fedora 28 (x86_64): ./configure --with-pydebug make 'EXTRA_CFLAGS=-

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: Actually $ git rebase --onto master 3.7 bpo-17288 fails with one single change in Objects/frameobject.c and one simply needs to (as I have tested it) remove all the three confict markers in this file and remove the following two lines that were enclosed

[issue32517] test_read_pty_output() of test_asyncio hangs on macOS 10.13.2 (darwin 17.3.0)

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Since this is still happening on current macOS 10.13.3, we should get a fix for this in before 3.6.5rc1. PR's welcome! -- priority: normal -> release blocker stage: -> needs patch ___ Python tracker

[issue31106] os.posix_fallocate() generate exception with errno 0

2018-02-27 Thread Ned Deily
Ned Deily added the comment: I agree with Alexey's analysis. Koobs, could you please open a new issue about the failing test? Unless someone knows of a foolproof way to determine on all platforms that a file is resident on ZFS, the fix is to skip the test on FreeBSD as well if ZFS is likely

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Usually we create a PR for master (unless the issue is gone here) and backport it to other branches. In this case it may be better to start from 3.7, but it is worth to look at the patch against master for the case if the change can written in the form that

[issue32493] UUID Module - FreeBSD build failure

2018-02-27 Thread Ned Deily
Ned Deily added the comment: We are still seeing the 3.7 and 3.8 FreeBSD buildbot failures Victor identified in msg310147. Can someone please take this on and produce a PR? -- nosy: +ned.deily priority: normal -> deferred blocker versions: +Python 3.8

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-02-27 Thread Eric Snow
Eric Snow added the comment: Sounds good, Ned. Sorry for my confusion. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: Yes, rebase fails merging two changes in Objects/frameobject.c. I can write another PR for master if you want. -- ___ Python tracker ___ _

[issue15767] add ModuleNotFoundError

2018-02-27 Thread Christoph Groth
Christoph Groth added the comment: Unfortunately I do not feel competent enough to submit a documentation patch because I still do not understand why ModuleNotFoundError was added. I don't want to bother you further with this. Thank you all for your prompt replies. If you agree with me that

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are there any problems with rebasing it to master? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue15767] add ModuleNotFoundError

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Christoph, thanks for your suggestion. If you think the documentation needs improving, please open a new issue with any suggested wording (or, even better, a doc PR). This issue (issue15767) has long been closed and any discussion here is likely to not be acted

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

2018-02-27 Thread Ned Deily
Ned Deily added the comment: Since we are already past the 3.7.0b2 cutoff time and there does not seen to be a consensus that the current 3.7 behavior needs to change and the proposed change is quite large, I think we should not change anything now for b2. You can have a discussion on python

[issue15767] add ModuleNotFoundError

2018-02-27 Thread Christoph Groth
Christoph Groth added the comment: Thank you, Chris, for your reply. If this is indeed the main use case of ModuleNotFoundError, I respectfully suggest to document it better. The way things are now, Python users who switch to 3.6 encounter this new exception during their work with the inter

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: Added PR 5928 for the 3.7 branch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-27 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5699 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2018-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, Python-Dev, of course. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

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

2018-02-27 Thread INADA Naoki
INADA Naoki added the comment: Python-list? -dev? -ideas? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would be nice to discuss this design question on Python-list. -- ___ Python tracker ___ ___ Pyth

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

2018-02-27 Thread INADA Naoki
INADA Naoki added the comment: I'm implementing (2). Please check GH-5927. -- keywords: -patch stage: patch review -> ___ Python tracker ___

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

2018-02-27 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +5698 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

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

2018-02-27 Thread Christian Heimes
Christian Heimes added the comment: Ned, I have pushed the enhancement now. I feel a bit guilty about the last minute push, but I honestly believe it's in our best interesting. There is a high chance that the new APIs will be required for Debian and other distros in the near future. OpenSSL

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

2018-02-27 Thread miss-islington
miss-islington added the comment: New changeset 4c842b09209ccf1b4f853106b1f58bb888da02ef by Miss Islington (bot) in branch '3.7': bpo-31453: Add setter for min/max protocol version (GH-5259) https://github.com/python/cpython/commit/4c842b09209ccf1b4f853106b1f58bb888da02ef -- nosy: +m

[issue15767] add ModuleNotFoundError

2018-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Eric touched on the use when he said the following above: > It's nice to be able to distinguish between the failure to *find* the module > during import from other uses of ImportError. To make up one example, you might want to use a fallback module if a packa

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

2018-02-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +5697 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32961] namedtuple displaying the internal code

2018-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In 2.7 namedtuple() takes four arguments. namedtuple(typename, field_names, verbose=False, rename=False) A sequence of field names should be passed as the second argument. In you case you pass four argumens: 'a' as field names, 'b' as the verbose flag,

[issue32961] namedtuple displaying the internal code

2018-02-27 Thread Eric V. Smith
Eric V. Smith added the comment: See https://docs.python.org/2/library/collections.html#collections.namedtuple namedtuple is called as: collections.namedtuple(typename, field_names[, verbose=False][, rename=False]) So you are passing in typename = 'Name' field_names = 'a' verbose = 'b' rename

[issue32961] namedtuple displaying the internal code

2018-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The behavior of collections.namedtuple has nothing to do with IDLE. I verified the behavior in 2.7. In 3.7, one must group the field names, as in a tuple, and the corrected statement has no output. I had nothing to do with namedtuple development. I presume

[issue32951] Prohibit direct instantiation of SSLSocket and SSLObject

2018-02-27 Thread Christian Heimes
Christian Heimes added the comment: New changeset 89c2051a554d2053ac87b0adbf11ed0f1bb65db3 by Christian Heimes in branch '3.7': [3.7] bpo-32951: Disable SSLSocket/SSLObject constructor (GH-5864) (#5925) https://github.com/python/cpython/commit/89c2051a554d2053ac87b0adbf11ed0f1bb65db3 ---

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

2018-02-27 Thread Christian Heimes
Christian Heimes added the comment: I have another good reason to land PR 5259 in 3.7. OpenSSL 1.1.0 has deprecated the old way to disable/enable protocol versions with set option. The OP_NO_TLSv1* constants will likely get removed in OpenSSL 1.2.0. I'm expecting to see a 1.2.0 release within

[issue32951] Prohibit direct instantiation of SSLSocket and SSLObject

2018-02-27 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5696 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue28124] Rework SSL module documentation

2018-02-27 Thread miss-islington
miss-islington added the comment: New changeset 102d5204add249248d1a0fa1dd3f673e884b06b4 by Miss Islington (bot) in branch '3.7': bpo-28124: deprecate ssl.wrap_socket() (GH-5888) https://github.com/python/cpython/commit/102d5204add249248d1a0fa1dd3f673e884b06b4 -- nosy: +miss-islingto

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

2018-02-27 Thread INADA Naoki
INADA Naoki added the comment: I tried this patch: diff --git a/Python/ast.c b/Python/ast.c index e2092f0f85..93be2bc839 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -3537,9 +3537,9 @@ docstring_from_stmts(asdl_seq *stmts) if (s->kind == Expr_kind && s->v.Expr.value->kind == Str_kin

[issue31727] FTP_TLS errors when use certain subcommands

2018-02-27 Thread Jonathan
Jonathan added the comment: Hi Christian - Can you not reproduce it from the code included in my original report? I think that's pretty much all that should be needed, as it's all I was using when I discovered the issue. I figure the hard part will be finding a FTP_TLS server to test with. -

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2018-02-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that I'm still -1 on merging this patch because it is unclear how to create such plist files using public Apple APIs. P.S. The low-level code for creating and reading binary plist files appears to be used for more than juist plist archives. --

[issue32963] Python 2.7 tutorial claims source code is UTF-8 encoded

2018-02-27 Thread Martijn Pieters
Change by Martijn Pieters : -- nosy: +Mariatta, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue32963] Python 2.7 tutorial claims source code is UTF-8 encoded

2018-02-27 Thread Martijn Pieters
New submission from Martijn Pieters : Issue #29381 updated the tutorial to clarify #! use, but the 2.7 patch re-used Python 3 material that doesn't apply. See r40ba60f6 at https://github.com/python/cpython/commit/40ba60f6bf2f7192f86da395c71348d0fa24da09 It now reads: "By default, Python sourc

[issue32961] namedtuple displaying the internal code

2018-02-27 Thread poornaprudhvi
New submission from poornaprudhvi : >>> from collections import namedtuple >>> sample = namedtuple('Name','a','b','c') This is returning the following code as output: class Name(tuple): 'Name(a,)' __slots__ = () _fields = ('a',) def __new__(_cls, a,): 'Create new inst

[issue32932] better error message when __all__ contains non-str objects

2018-02-27 Thread Xiang Zhang
Xiang Zhang added the comment: I would like the error message improved. The Python message is obviously much better than the C message. It sends the cause to your eyes. Different messages issued from similar statements are confusing. And due to the non-ideal message is generated by C, the tra

[issue29804] test_ctypes test_pass_by_value fails on arm64 (aarch64) architecture

2018-02-27 Thread Vinay Sajip
Vinay Sajip added the comment: > Vinay, should this back-ported to 3.6? Yes, I think it should be. -- ___ Python tracker ___ ___ Py

[issue28124] Rework SSL module documentation

2018-02-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +5695 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28124] Rework SSL module documentation

2018-02-27 Thread Christian Heimes
Christian Heimes added the comment: New changeset 90f05a527c7d439f1d0cba80f2eb32e60ee20fc3 by Christian Heimes in branch 'master': bpo-28124: deprecate ssl.wrap_socket() (#5888) https://github.com/python/cpython/commit/90f05a527c7d439f1d0cba80f2eb32e60ee20fc3 --