[issue34011] Default preference not given to venv DLL's

2018-07-02 Thread Vinay Sajip
Vinay Sajip added the comment: Hmmm. I managed to find a machine to install Python3.3.0 on, and it appears that even with that copy suite removed, the tests still work. So possibly it's something that changed between 3.3.0 alpha and 3.3.0 final. I can try removing the copy code for 3.8 but

[issue34011] Default preference not given to venv DLL's

2018-07-02 Thread Vinay Sajip
Vinay Sajip added the comment: The code that does the copy is the original PEP 405 implementation code (from 26 May 2012). I'm fairly sure that these files were copied over only because (at least prior to the Python 3.3 release in September 2012) they were needed to be in the venv for the

Re: .replace("a" or "b")

2018-07-02 Thread Cameron Simpson
On 03Jul2018 07:52, Abdur-Rahmaan Janhangeer wrote: that's another oddity i wanted to clear how do i know that string methods accept or and and in like .replace("a" or "b") i can't figure out how to deduce that it can accept that Well, it accepts an expression like that, but it doesn't do

.replace("a" or "b")

2018-07-02 Thread Abdur-Rahmaan Janhangeer
that's another oddity i wanted to clear how do i know that string methods accept or and and in like .replace("a" or "b") i can't figure out how to deduce that it can accept that Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ -- https://mail.python.org/mailman/listinfo/python-list

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Tim Daneliuk
On 07/02/2018 06:22 PM, Gregory Ewing wrote: > A > truly good programmer will be able to learn about the language > being used on the job. Except that the current attempt is to use techniques like agile, scrum, pair programming, and so forth to turn programming into a factory activity. High

[issue25345] Unable to install Python 3.5 on Windows 10

2018-07-02 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2018-07-02 Thread Orivej Desh
Orivej Desh added the comment: I understand the desirability of avoiding potential problems on supported platforms (given that you can not test building Python on all of them) and recognize that both options you have given are reasonable, but as I see it posixmodule.c incorrectly uses

Re: Python 3.7 Windows Help Behaviour

2018-07-02 Thread Terry Reedy
On 7/2/2018 8:57 PM, Steven D'Aprano wrote: On Fri, 29 Jun 2018 12:53:15 -0400, Terry Reedy wrote: On 6/29/2018 6:14 AM, BlindAnagram wrote: In Python 3.7.0 on Windows the help file (python370.chm) displays with a fixed line length and does not adjust its line length when the user expands the

[issue34011] Default preference not given to venv DLL's

2018-07-02 Thread Eryk Sun
Change by Eryk Sun : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34011] Default preference not given to venv DLL's

2018-07-02 Thread Eryk Sun
Eryk Sun added the comment: Offhand I don't know why it copies PYD and DLL files from the DLLs directory. It's part of the standard library. The virtual environment should only need to copy or symlink the binaries in the application directory, such as python.exe, pythonw.exe,

[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2018-07-02 Thread Ned Deily
Ned Deily added the comment: Thanks for the suggested patch but I am not persuaded that there is a problem needing fixing on the Python side. As I see it, Python's posixmodule builds fine in the environments we claim to support, including macOS, and has for a long time. It appears that

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Jim Lee
On 07/02/18 17:51, Steven D'Aprano wrote: For most of us mere mortals, the "ten thousand hours" rule of thumb applies. Ten thousand hours should be read as an indefinitely large number A truly good programmer will be able to learn about the language being used on the job. Indeed, if you

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Jim Lee
On 07/02/18 17:34, Dan Stromberg wrote: The fact of the matter is the economics have changed a lot since then. Machine time used to be really expensive compared to developer time.  Today, it's the opposite: developer time is really expensive compared to machine time. If you go back

Re: Python 3.7 Windows Help Behaviour

2018-07-02 Thread Steven D'Aprano
On Fri, 29 Jun 2018 12:53:15 -0400, Terry Reedy wrote: > On 6/29/2018 6:14 AM, BlindAnagram wrote: >> In Python 3.7.0 on Windows the help file (python370.chm) displays with >> a fixed line length and does not adjust its line length when the user >> expands the help window horizontally. This

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Steven D'Aprano
On Tue, 03 Jul 2018 11:22:56 +1200, Gregory Ewing wrote: > Someone who is familiar with a > variety of languages is also very likely to be self-motivated and have > enough passion and curiosity to have acquired a broad and deep knowledge > of other aspects of the craft. "Jack of all trades,

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Dan Stromberg
On Sun, Jul 1, 2018 at 8:51 PM, Jim Lee wrote: > Languages that used to be small, lean, and exceptional at doing things > really well in a given domain have morphed into large, monolithic, bloated > language *systems* that do many things in many domains, and have many ways > to do the *same*

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Orivej Desh
Orivej Desh added the comment: The explicit conditional on __APPLE__ can be avoided with the attached patch. (Tested on NixOS and macOS with Nixpkgs.) -- nosy: +orivej Added file: https://bugs.python.org/file47666/darwin-libutil.patch ___ Python

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Jim Lee
On 07/02/18 16:22, Gregory Ewing wrote: Ian Kelly wrote: Just because somebody knows a dozen languages doesn't mean that they can come up with the correct algorithm, That doesn't mean there's no correlation. Someone who is familiar with a variety of languages is also very likely to be

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread Gene Heskett
On Monday 02 July 2018 18:29:17 Grant Edwards wrote: > On 2018-07-02, Gene Heskett wrote: > > On Monday 02 July 2018 17:17:21 Grant Edwards wrote: > >> On 2018-07-02, T Berger wrote: > >> > Is there any way to set posts to appear chronologically in tree > >> > view? > >> > >>

[issue33649] asyncio docs overhaul

2018-07-02 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: I'm a developer using Python in my application. I just spent the last couple of weeks learning about asyncio with the present documentation. I am very happy to see that work is underway for improved documentation. I would be glad to take on writing tasks or

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Gregory Ewing
Ian Kelly wrote: Just because somebody knows a dozen languages doesn't mean that they can come up with the correct algorithm, That doesn't mean there's no correlation. Someone who is familiar with a variety of languages is also very likely to be self-motivated and have enough passion and

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Bumsik Kim
Bumsik Kim added the comment: No problem :) To add more, the Opera's documentation (https://www.opera.com/docs/switches) says: "This document was last updated for Opera 11.61" This is the reason I guessed Opera changed its CLI format to Chrome's and forget to document it --

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Sorry, you are right! It seems that my Opera opened another tab with Google by default and I was confused by that. Thanks for the context. -- ___ Python tracker

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread Ben Finney
T Berger writes: > Here is another question. I replied to this email in my inbox. But > it's not showing here. Please understand that the “here” you mention is subjective, for your particular view of this forum. This forum is distributed over many servers, and the participants here use various

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread Ben Finney
T Berger writes: > Is there any way to set posts to appear chronologically in tree view? Yes, depending on what software you use to interact with this forum. See the documentation for that software. In the case of Gnus, that ordering is the default when viewing the group summary. -- \

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Bumsik Kim
Bumsik Kim added the comment: $opera --version 53.0.2907.68 $opera -remote "openURL(https://google.com,new-window)" would open a broken link: http://openurl%28https//google.com,new-window) I found that problem while answering a StackOverflow question:

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: Oh interesting, so it only used to worked by accident. I should have looked at the 3.6 log more closely. -- ___ Python tracker ___

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread Matej Cepl
Matej Cepl added the comment: Yes, it must be something in the chroot, because when run in the plain command line, all tests as well on openSUSE Tumbleweed (with the latest updates). 393 tests OK. 1 test failed: test_epoll 21 tests skipped: test_ctypes test_devpoll test_idle

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: What error do you get and what opera version are you using? -- ___ Python tracker ___ ___

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I can use opera -remote "openURL(https://google.com,new-window)" without problems as per the opera documentation with the latest version: $opera --version 53.0.2907.110 -- nosy: +pablogsal ___ Python

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Ned Deily
Ned Deily added the comment: It's failing in 3.7 because of the change introduced in Issue27659 to prohibit implicit C function declarations by adding the -Werror=implicit-function-declaration to compiles. -- ___ Python tracker

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: The headers end up in the build environment because of Libsystem which is part of our base environment. But yes, this is also the case with 3.6 and that builds just fine so I'm not sure why it's failing now. These are the logs from our build service for

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread Matej Cepl
Matej Cepl added the comment: It's somehow complicated, in the build chroot I can make tests run only with LD_LIBRARY_PATH set to $(readlink -f Python-3.7.0) and PYTHONPATH to Lib directory. However, then the set of failed tests changes. For example test_runpy runs without problems, but

File names with slashes [was Re: error in os.chdir]

2018-07-02 Thread Mikhail V
[Chris A] > [Mikhail] > > So Imo default syntax should be something like: > > > > S = "A:{x41}B:{x42}" > > > > instead of backslashes and Co. > > So how do you represent brace characters in a string? \{ and \} just kidding :-D I would be ok with {L} and {R} - easy on eye and easy to

Re: Python 3.7 Windows Help Behaviour

2018-07-02 Thread Roel Schroeven
BlindAnagram schreef op 30/06/2018 15:50: On 30/06/2018 10:43, Steven D'Aprano wrote: On Fri, 29 Jun 2018 12:53:15 -0400, Terry Reedy wrote: On 6/29/2018 6:14 AM, BlindAnagram wrote: In Python 3.7.0 on Windows the help file (python370.chm) displays with a fixed line length and does not

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread Grant Edwards
On 2018-07-02, Gene Heskett wrote: > On Monday 02 July 2018 17:17:21 Grant Edwards wrote: > >> On 2018-07-02, T Berger wrote: >> > Is there any way to set posts to appear chronologically in tree >> > view? >> >> http://slrn.sourceforge.net/docs/slrn-manual.html > > That s/b the default if

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Ned Deily
Ned Deily added the comment: Even on macOS 10.11.6, libutil.h is not installed and posixmodule.c builds just fine. So I don't think that the presence of something in opensource.apple.com necessarily means it was installed in place in a standard system. I'm not saying yet that we shouldn't

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread miss-islington
miss-islington added the comment: New changeset 580c7db172a41d6311c0f3a7aec321597576e214 by Miss Islington (bot) in branch '3.6': bpo-34006: Revert line length limit for Windows help docs (GH-8051) https://github.com/python/cpython/commit/580c7db172a41d6311c0f3a7aec321597576e214 --

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread miss-islington
miss-islington added the comment: New changeset 4d02ad856f123d68712f542d55e8ff3393f00a8f by Miss Islington (bot) in branch '3.7': bpo-34006: Revert line length limit for Windows help docs (GH-8051) https://github.com/python/cpython/commit/4d02ad856f123d68712f542d55e8ff3393f00a8f --

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: This is a build using the nix package manager, we use all of the opensource components provided by apple instead of relying on xcode. The libutil.h that's found in this case is the one from the 10.11.6 sources.

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Ned Deily
Ned Deily added the comment: I don't see this build failure. Can you say where you find libutil.h installed on macOS and what version of macOS this is? It doesn't seem to be part of the standard Apple-supplied /usr/include header files installed by xcode-select --install for macOS 10.13

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Change by Daiderd Jordan : -- keywords: +patch pull_requests: +7664 stage: -> patch review ___ Python tracker ___ ___

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread Gene Heskett
On Monday 02 July 2018 17:17:21 Grant Edwards wrote: > On 2018-07-02, T Berger wrote: > > Is there any way to set posts to appear chronologically in tree > > view? > > http://slrn.sourceforge.net/docs/slrn-manual.html That s/b the default if threading is turned off. It is in T-bird and kmail.

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Ned Deily
Change by Ned Deily : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
New submission from Daiderd Jordan : I can't really figure out why, but the import in posixmodule.c seems to get skipped since python 3.7. The condition doesn't look entirely correct in case libutil.h is also available on macOS, however this has not changed since 3.6 and it worked fine

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread Grant Edwards
On 2018-07-02, T Berger wrote: > Is there any way to set posts to appear chronologically in tree > view? http://slrn.sourceforge.net/docs/slrn-manual.html -- Grant Edwards grant.b.edwardsYow! Now we can become at

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread T Berger
On Monday, July 2, 2018 at 2:36:00 PM UTC-4, Dan Stromberg wrote: > On Mon, Jul 2, 2018 at 11:02 AM, T Berger wrote: > > > Is there any way to set posts to appear chronologically in tree view? And > > why is the tree view completely out of order? My last two posts in this > > view are from 6/27

[issue34001] LibreSSL does not tolerate setting minimum_version greater than maximum_version

2018-07-02 Thread Alan Huang
Change by Alan Huang : -- keywords: +patch pull_requests: +7663 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

Multi-threading with a simple timer?

2018-07-02 Thread David D
Is there a SIMPLE method that I can have a TIMER count down at a user input prompt - if the user doesn't enter information within a 15 second period, it times out. I am going to be using pycharm and not the shell. Thanks in advance. -- https://mail.python.org/mailman/listinfo/python-list

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +7662 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +7661 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Ian Kelly
On Sun, Jul 1, 2018 at 10:53 PM Jim Lee wrote: > I did get one epiphany out of that. He's right - there are orders of > magnitude more programmers today than there were a couple of decades ago > - and they ARE almost all entry level, in that they are fluent in only > one (maybe two) languages.

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d824ca7f4df9b5f77cf02490b0e98c2408e21fee by Terry Jan Reedy (Zachary Ware) in branch 'master': bpo-34006: Revert line length limit for Windows help docs (GH-8051) https://github.com/python/cpython/commit/d824ca7f4df9b5f77cf02490b0e98c2408e21fee

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Joseph L. Casale
Change by Joseph L. Casale : -- nosy: -jcasale ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34026] Request for 2 Windows installation changes.

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. I saw "Python 3.7 Module Docs (64 bit)" twice. But this seems to be a local issue. When I clicked on each, the second worked, the first brought up something like 'The python.exe this shortcut points to had been deleted [or moved?]. Delete shortcut?'.

[issue31516] current_thread() becomes "dummy" thread during shutdown

2018-07-02 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +7660 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-07-02 Thread Larry Hastings
Change by Larry Hastings : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-07-02 Thread Larry Hastings
Larry Hastings added the comment: New changeset 1b141b9553424971639bde281feb1d4e4e586dbe by larryhastings (Julien Palard) in branch '3.5': Doc: Backport language switcher (bpo-33700, bpo-31045) (#8048) https://github.com/python/cpython/commit/1b141b9553424971639bde281feb1d4e4e586dbe

[issue31045] Add a language switch to the Python documentation

2018-07-02 Thread Larry Hastings
Larry Hastings added the comment: New changeset 1b141b9553424971639bde281feb1d4e4e586dbe by larryhastings (Julien Palard) in branch '3.5': Doc: Backport language switcher (bpo-33700, bpo-31045) (#8048) https://github.com/python/cpython/commit/1b141b9553424971639bde281feb1d4e4e586dbe

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Jim Lee
On 07/02/18 04:01, Steven D'Aprano wrote: On Sun, 01 Jul 2018 20:51:42 -0700, Jim Lee wrote: Back before the dot com boom, programmers (generally) knew at least 6, 7, 8 languages. You obviously didn't know (m)any of the hundreds of thousands of COBOL programmers.   I did know a handful,

[issue34026] Request for 2 Windows installation changes.

2018-07-02 Thread Steve Dower
Steve Dower added the comment: 1. What do you mean by "listed twice"? I see 32-bit and 64-bit copies, but that's expected as they may show different modules. 2. We don't control HTML Help Reader's memory, so that's not an option unfortunately. We also don't control the initial size when not

[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

2018-07-02 Thread Dong-hee Na
Dong-hee Na added the comment: @ronaldoussoren I updated the PR and we need some discussion. I benchmarked new patch with Fibonacci codes. baseline(master): 21.330535484 without call sysctlbyname(PR 8046): 22.857963209 secs with call sysctlbyname(PR 8046): 37.125129114 secs So my choice is

Re: I lost nearly all my modules installing 3.7

2018-07-02 Thread Elliott Roper
On 2 Jul 2018, Michael Torrie wrote (in article): > On 06/30/2018 11:10 AM, Elliott Roper wrote: > > I should have mentioned that none of this went wrong in 3.6. All I'm after > > are packages I can install with pip3. I really don't need to go down all the > > twisty passages installing Fortran >

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread MRAB
On 2018-07-02 19:02, T Berger wrote: Is there any way to set posts to appear chronologically in tree view? And why is the tree view completely out of order? My last two posts in this view are from 6/27 and 6/28. You haven't said what software you're using to view this list. Judging by your

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread Dan Stromberg
On Mon, Jul 2, 2018 at 11:02 AM, T Berger wrote: > Is there any way to set posts to appear chronologically in tree view? And > why is the tree view completely out of order? My last two posts in this > view are from 6/27 and 6/28. > I'm thinking you may want to specify what software you're

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch now works for me and can be tested. The blurb is added and can be reviewed. I expect to merge within a day. -- ___ Python tracker

Re: File names with slashes [was Re: error in os.chdir]

2018-07-02 Thread MRAB
On 2018-07-02 18:16, Richard Damon wrote: On 7/2/18 9:20 AM, Mikhail V wrote: [Richard Damon] The one major issue with backslashes is that they are a special character in string literals, so you either need to use raw literals a remember the few cases they still act as special characters, or

[issue34025] SMTP EmailPolicy not using the correct line length for RCF 2045 encoded data (is 78, should be 76)

2018-07-02 Thread R. David Murray
R. David Murray added the comment: The default maximum line length is indeed supposed to be 78 (characters..and I can't now remember whether I implemented it in terms of characters or octets), that's per RFC 5322. What is wrong is that content encoded text is supposed to use a max line

[issue34026] Request for 2 Windows installation changes.

2018-07-02 Thread Terry J. Reedy
New submission from Terry J. Reedy : 1. On 3.7.0, but not 3.6.6, 'Python 3.7 Module Docs' is listed twice. 2. On both, 'Python x.y Manuals' always opens the .chm full-screen, even after the user closes in part-screen mode. I think part-screen would be better for the initial open. It would

Getting posts to sort chronologically in tree view

2018-07-02 Thread T Berger
Is there any way to set posts to appear chronologically in tree view? And why is the tree view completely out of order? My last two posts in this view are from 6/27 and 6/28. -- https://mail.python.org/mailman/listinfo/python-list

Re: EXTERNAL: OSError: [Errno 48] Address already in use

2018-07-02 Thread T Berger
On Monday, July 2, 2018 at 1:22:59 PM UTC-4, T Berger wrote: > On Saturday, June 30, 2018 at 6:02:06 PM UTC-4, T Berger wrote: > > On Friday, June 29, 2018 at 7:00:15 PM UTC-4, Cameron Simpson wrote: > > > > > The key point here from Jim is "simultaneously". Are you properly > > > shutting down

Re: EXTERNAL: OSError: [Errno 48] Address already in use

2018-07-02 Thread Marko Rauhamaa
Gregory Ewing : > Dan Stromberg wrote: >> On Thu, Jun 28, 2018 at 10:30 PM, Marko Rauhamaa wrote: >> >>>Well, the same security issue can be demonstrated without >>>SO_REUSEADDR: >>> >>>The security issue can be real but is not directly related with >>>SO_REUSEADDR. >> >> Yes, it can. It just

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Tim Daneliuk
On 07/01/2018 12:17 PM, MRAB wrote: > On 2018-07-01 18:06, Abdur-Rahmaan Janhangeer wrote: >> was viewing pep526, so, finally, python cannot do without hinting the type >> as other languages? >> will python finally move to >> int x = 3 where int is a pre annotation? >> >> i am not arguing it's

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I built and ran these tests using commands from msg320892 on openSUSE Leap 42.3, and all tests are passed. -- nosy: +serhiy.storchaka ___ Python tracker

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, I will add a blurb and merge and backport, when the patch is modified to change htmlhelp rather than htmlview. -- ___ Python tracker

Re: EXTERNAL: OSError: [Errno 48] Address already in use

2018-07-02 Thread T Berger
On Saturday, June 30, 2018 at 6:02:06 PM UTC-4, T Berger wrote: > On Friday, June 29, 2018 at 7:00:15 PM UTC-4, Cameron Simpson wrote: > > > The key point here from Jim is "simultaneously". Are you properly shutting > > down > > the Flask instance in IDLE before running from Terminal, and vice

Re: File names with slashes [was Re: error in os.chdir]

2018-07-02 Thread Richard Damon
On 7/2/18 9:20 AM, Mikhail V wrote: > [Richard Damon] > >> The one major issue with backslashes is that they are a special >> character in string literals, so you either need to use raw literals a >> remember the few cases they still act as special characters, or remember >> to convert them to

[issue23850] Missing documentation for Py_TPFLAGS_HAVE_NEWBUFFER

2018-07-02 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Documentation fixes to 2.7 is still accepted. Please create a PR on GitHub. -- nosy: +Mariatta ___ Python tracker ___

Re: File names with slashes [was Re: error in os.chdir]

2018-07-02 Thread Chris Angelico
On Tue, Jul 3, 2018 at 2:20 AM, Mikhail V wrote: > [Richard Damon] > >> The one major issue with backslashes is that they are a special >> character in string literals, so you either need to use raw literals a >> remember the few cases they still act as special characters, or remember >> to

[issue33968] os.makedirs and empty string

2018-07-02 Thread Emily Morehouse
Change by Emily Morehouse : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30849] test_stress_delivery_dependent() of test_signal randomly fails on AMD64 Debian root 3.6/3.x

2018-07-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: After increasing the number of CPUs in the virtual machine the failure no longer reproduced. It is reproducible only with a single CPU. -- ___ Python tracker

Re: File names with slashes [was Re: error in os.chdir]

2018-07-02 Thread Mikhail V
[Richard Damon] > The one major issue with backslashes is that they are a special > character in string literals, so you either need to use raw literals a > remember the few cases they still act as special characters, or remember > to convert them to double back slashes, at a minimum for all the

[issue23835] configparser does not convert defaults to strings

2018-07-02 Thread Anthony Sottile
Anthony Sottile added the comment: Unclear if this regression (from this patch) is intentional or not: ``` $ python3.6 -c 'import configparser; configparser.ConfigParser(defaults={"a": None})' $ python3.7 -c 'import configparser; configparser.ConfigParser(defaults={"a": None})' Traceback

[issue34025] SMTP EmailPolicy not setting max_line_length as expected. RCF 2045 states 76 char, Default policy uses 78

2018-07-02 Thread Douglas Thor
New submission from Douglas Thor : It appears that the SMTP EmailPolicy object does not correctly set max_line_length. RFC 2045 (https://www.ietf.org/rfc/rfc2045.txt) requires a max_line_length of 76 characters, while email._policybase.Policy sets it to 78 (which typically is correct).

[issue23850] Missing documentation for Py_TPFLAGS_HAVE_NEWBUFFER

2018-07-02 Thread ndevenish
ndevenish added the comment: I've just spent some time running around because of this. Are documentation contributions still being accepted for python 2.7 at all? Some of the buffer documentation seems to be confusing as to whether you use new or old API. -- nosy: +ndevenish

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Zachary Ware
Zachary Ware added the comment: Terry: PR8051 should do that, but I haven't tested it. Would you mind taking over the PR if it does what you want it to? -- ___ Python tracker

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +patch pull_requests: +7659 stage: -> patch review ___ Python tracker ___ ___

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: > Hmm, what about version of gcc? I suspect some troubles could be caused by > gcc version 8 (we have in openSUSE), or LTO option switched on? For my tests on Fedora, I used gcc 8.1.1. I used the OpenSUSE configure command which includes --with-lto.

[issue34023] timedelta(seconds=x) strange results when type(x) == np.int32

2018-07-02 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread Matej Cepl
Matej Cepl added the comment: Hmm, what about version of gcc? I suspect some troubles could be caused by gcc version 8 (we have in openSUSE), or LTO option switched on? -- ___ Python tracker

[issue34024] Builtin types take no keyword arguments anymore

2018-07-02 Thread Kay Hayen
Kay Hayen added the comment: Hello Ned, sorry for noise. I checked that, but oversaw it. Maybe I also wasn't expecting this. There has been such a huge trend towards * and ** support for like everything, e.g. class definitions in 3.6, that this felt like a move in the opposite direction.

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread STINNER Victor
Change by STINNER Victor : -- title: Python 3.7: 6 tests failed on OpenSUSE -> Python 3.7: 6 tests failed on OpenSUSE and Debian ___ Python tracker ___

[issue34022] Python 3.7: 6 tests failed on OpenSUSE

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: I also ran the Python test suite on Debian sid using the master branch of Python and all tests pass: --- $ ./configure --prefix=/usr --enable-ipv6 --enable-loadable-sqlite-extensions --with-dbmliborder=bdb:gdbm --with-computed-gotos --without-ensurepip

[issue30849] test_stress_delivery_dependent() of test_signal randomly fails on AMD64 Debian root 3.6/3.x

2018-07-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I can reproduce the failure on multiple OSes in VirtaulBox when run test_signal in parallel with test_regrtest: ./python -m test -j2 test_signal test_regrtest test_regrtest test_regrtest Run tests in parallel using 2 child processes 0:00:29 load avg: 4.24

[issue33995] test_min_max_version in test_ssl.py fails when Python is built against LibreSSL; {min,max}imum_version behavior differs from OpenSSL

2018-07-02 Thread Alan Huang
Alan Huang added the comment: PR 8050 implements option 2a (use PY_PROTO_{MIN,MAX}IMUM_AVAILABLE). -- ___ Python tracker ___ ___

[issue34024] Builtin types take no keyword arguments anymore

2018-07-02 Thread Ned Deily
Ned Deily added the comment: Alas, it's not a bug. That was a deliberate change (see https://bugs.python.org/issue29695 for the discussion leading up to the change) and is documented in the "What's New in 3.7" document here:

[issue34024] Builtin types take no keyword arguments anymore

2018-07-02 Thread Kay Hayen
New submission from Kay Hayen : Hello, things like list(sequence = something) ought to work in Python 3.6 back to the oldest Python2 I know. However, in 3.7 this raises an exception about not accepting keyword arguments. I noticed the same for tuple, int, float(x=9.0), and probably a lot

[issue33995] test_min_max_version in test_ssl.py fails when Python is built against LibreSSL; {min,max}imum_version behavior differs from OpenSSL

2018-07-02 Thread Alan Huang
Change by Alan Huang : -- keywords: +patch pull_requests: +7658 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34001] LibreSSL does not tolerate setting minimum_version greater than maximum_version

2018-07-02 Thread Alan Huang
Alan Huang added the comment: Strangely, LibreSSL's `ssl_clamp_version_range` function is perfectly happy to accept minimum protocol versions lower than the lowest supported protocol version, and likewise is happy to accept maximum protocol versions higher than the highest supported

  1   2   >