[issue37616] [3.10 prep] zip path incorrect

2020-05-19 Thread STINNER Victor


Change by STINNER Victor :


--
components: +Interpreter Core
resolution:  -> fixed
versions: +Python 3.10 -Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37616] [3.10 prep] zip path incorrect

2020-05-19 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 2a561b5f6830aee39cf05dc70c24e26c3558dda0 by Pablo Galindo in 
branch 'master':
bpo-37616: Handle version information more gracefully in getpath.c (GH-20214)
https://github.com/python/cpython/commit/2a561b5f6830aee39cf05dc70c24e26c3558dda0


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37616] [3.10 prep] zip path incorrect

2020-05-19 Thread STINNER Victor


Change by STINNER Victor :


--
nosy: +vstinner
nosy_count: 3.0 -> 4.0
pull_requests: +19516
pull_request: https://github.com/python/cpython/pull/20225

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37616] [3.10 prep] zip path incorrect

2020-05-19 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
nosy: +pablogsal
nosy_count: 2.0 -> 3.0
pull_requests: +19509
pull_request: https://github.com/python/cpython/pull/20214

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37616] [3.10 prep] zip path incorrect

2020-05-18 Thread Anthony Sottile


Anthony Sottile  added the comment:

via 
https://github.com/python/cpython/commit/b4d4aef8433da2657c8d80207686124d15d32054

--
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37616] [3.10 prep] zip path incorrect

2019-07-20 Thread Ngalim Siregar


Change by Ngalim Siregar :


--
keywords: +patch
pull_requests: +14661
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/14874

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37616] [3.10 prep] zip path incorrect

2019-07-18 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37616] [3.10 prep] zip path incorrect

2019-07-17 Thread Anthony Sottile


New submission from Anthony Sottile :

In an effort to try and fix some of the ecosystem before python3.10 (or 4.0) is 
a thing, I figured I'd set up a build where the version is bumped and see 
what's broken.

If you're interested in reproducing my findings, I've included a build that's 
installable in ubuntu in this PPA: 
https://launchpad.net/~asottile/+archive/ubuntu/python3.10

It's mostly based on this patch: 
https://github.com/asottile/python3.10/blob/ubuntu/bionic/debian/patches/0029-pretend-3.10.patch

while tracking down why pip doesn't work, I've encountered the following from 
doing this:

$ python3.10 -c 'import sys; print(sys.path)'
['', '/usr/lib/python31.zip', '/usr/lib/python3.10', 
'/usr/lib/python3.10/lib-dynload', '/usr/lib/python3/dist-packages']


notably, the second `sys.path` entry appears incorrect and should probably be 
`/usr/lib/python310.zip`

this should be an easy fix:

https://github.com/python/cpython/blob/1b3892243433da7eae7f5f3a4f98f13d309c8926/Modules/getpath.c#L1019-L1028

--
messages: 348100
nosy: Anthony Sottile
priority: normal
severity: normal
status: open
title: [3.10 prep] zip path incorrect
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com