[issue21711] Remove site-python support
Roundup Robot added the comment: New changeset 3852afce2ca3 by Antoine Pitrou in branch 'default': Issue #21711: support for site-python directories has now been removed from the site module (it was deprecated in 3.4). http://hg.python.org/cpython/rev/3852afce2ca3 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21711 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21711] Remove site-python support
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21711 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21711] Remove site-python support
Antoine Pitrou added the comment: Thanks Ned, I'm hoping someone can give it a run under Windows too :) -- nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21711 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21711] Remove site-python support
Zachary Ware added the comment: Seems fine on Windows (especially since it doesn't look like site-python ever meant anything on Windows in the first place)! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21711 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21711] Remove site-python support
New submission from Antoine Pitrou: Support for site-python directories in site.py was deprecated in 3.4 and slated for removal in 3.5. Attached patch does the remove. -- components: Library (Lib) files: sitepython.patch keywords: patch messages: 220214 nosy: pitrou priority: normal severity: normal stage: patch review status: open title: Remove site-python support type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file35561/sitepython.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21711 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21711] Remove site-python support
Ned Deily added the comment: The patch has one problem with OS X framework builds. This fixes it: --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -240,7 +240,7 @@ sysconfig.get_config_var(PYTHONFRAMEWORK), sys.version[:3], 'site-packages') -self.assertEqual(dirs[2], wanted) +self.assertEqual(dirs[1], wanted) elif os.sep == '/': # OS X non-framwework builds, Linux, FreeBSD, etc self.assertEqual(len(dirs), 1) Otherwise, LGTM -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21711 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com