[issue32551] 3.5.4 has a regression that was fixed in 3.6.1rc1

2018-01-15 Thread Nick Coghlan
Nick Coghlan added the comment: PR submitted for 3.5. Since the problem was in a full release this time (rather than a pre-release the way it was for 3.6), I've reclassified it as a security bug, since it means some previously safe operations (where no user-writable

[issue32551] 3.5.4 has a regression that was fixed in 3.6.1rc1

2018-01-15 Thread Nick Coghlan
Change by Nick Coghlan : -- keywords: +patch pull_requests: +5050 stage: -> patch review ___ Python tracker ___

[issue32551] 3.5.4 has a regression that was fixed in 3.6.1rc1

2018-01-15 Thread Brett Cannon
Brett Cannon added the comment: Nick makes this sound like it really should land in 3.5.5, so marking as a release blocker for now. -- nosy: +brett.cannon priority: normal -> release blocker ___ Python tracker

[issue32551] 3.5.4 has a regression that was fixed in 3.6.1rc1

2018-01-14 Thread Larry Hastings
Larry Hastings added the comment: As a reminder: I'm currently scheduled to tag Python 3.5.5rc1 on January 21st, 2018, aka about six days from now. -- ___ Python tracker

[issue32551] 3.5.4 has a regression that was fixed in 3.6.1rc1

2018-01-14 Thread Nick Coghlan
Nick Coghlan added the comment: Unfortunately, it looks like bpo-29319 was backported to the 3.5 branch, but not the follow-up fix from bpo-29723: https://github.com/python/cpython/commits/3.5/Modules/main.c (The metadata on bpo-29319 indicated that the original change

[issue32551] 3.5.4 has a regression that was fixed in 3.6.1rc1

2018-01-14 Thread Ned Deily
Change by Ned Deily : -- dependencies: +3.6.1rc1 adds the current directory to sys.path when running a subdirectory's __main__.py; previous versions did not nosy: +larry, ncoghlan ___ Python tracker

[issue32551] 3.5.4 has a regression that was fixed in 3.6.1rc1

2018-01-14 Thread Ned Batchelder
Ned Batchelder added the comment: (For clarity) The problem is that 3.5.4 adds the current directory to sys.path when running a subdirectory's __main__.py. No other version of Python does this. -- ___ Python tracker

[issue32551] 3.5.4 has a regression that was fixed in 3.6.1rc1

2018-01-14 Thread Ned Batchelder
New submission from Ned Batchelder : The issue that I reported in https://bugs.python.org/issue29723 is now affecting 3.5.4: ``` $ pwd /Users/ned/foo $ tree syspathmain syspathmain └── __main__.py 0 directories, 1 file $ cat syspathmain/__main__.py import sys