[issue12919] Control what module is imported first

2019-10-22 Thread STINNER Victor
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

[issue12919] Control what module is imported first

2013-02-01 Thread Brett Cannon
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 ___

[issue12919] Control what module is imported first

2012-03-12 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +carljm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12919 ___ ___ Python-bugs-list mailing

[issue12919] Control what module is imported first

2011-11-29 Thread Antoine Pitrou
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

[issue12919] Control what module is imported first

2011-11-29 Thread Raymond Hettinger
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 ___

[issue12919] Control what module is imported first

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12919 ___ ___

[issue12919] Control what module is imported first

2011-09-09 Thread Éric Araujo
É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

[issue12919] Control what module is imported first

2011-09-07 Thread Thomas Wouters
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:

[issue12919] Control what module is imported first

2011-09-06 Thread Brett Cannon
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:

[issue12919] Control what module is imported first

2011-09-06 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12919 ___ ___ Python-bugs-list