STINNER Victor added the comment:
I close the issue since I see disagreement on the feature request.
Modules/getpath.c and PC/getpathp.c use Lib/os.py to detect the stdlib
directory.
_PyUnicode_InitEncodings() is the first function importing modules: to import
the Python codec of the
Brett Cannon added the comment:
This would tie into PEP 432 at this point.
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12919
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +carljm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12919
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
I don't think conflating two orthogonal needs in a single feature like that
is a good idea. This will become one of these obscure implementation details
which complicate the code for no real benefit. If there's a need to customize
the first
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I concur with Antoine.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12919
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12919
___
___
Éric Araujo mer...@netwok.org added the comment:
Thomas: I assume you have “hg add”-ed the file; you may need to use git-style
diffs to have new files included in diffs:
http://hgtip.com/tips/beginner/2009-10-22-always-use-git-diffs/
--
nosy: +eric.araujo
Thomas Wouters tho...@python.org added the comment:
Here's the patch implementing this, which I'd attached to Issue11561 (although
I noticed 'hg diff' omitted the empty stdlib_landmark.py file.)
--
keywords: +patch
nosy: +twouters
Added file:
New submission from Brett Cannon br...@python.org:
Issue11561 had a use case for controlling what module is imported first (along
with a patch to use a module other than 'os' to control finding the stdlib).
There have been others who could use this feature as well.
--
components:
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12919
___
___
Python-bugs-list
10 matches
Mail list logo