[issue1644818] Allow built-in packages and submodules as well as top-level modules

2018-05-02 Thread Fred L. Drake, Jr.

Change by Fred L. Drake, Jr. :


--
nosy: +fdrake

___
Python tracker 

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



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2017-07-24 Thread Eric Snow

Changes by Eric Snow :


--
nosy: +eric.snow

___
Python tracker 

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



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2015-10-05 Thread Nick Coghlan

Nick Coghlan added the comment:

Petr, this could be an interesting issue to take a look at from the point of 
view of the builtin and extension module import changes in Python 3.5.

Given the extent of the import system changes across 3.3/4/5, it's even 
conceivable we may have made this work somewhere along the line. In that case 
we'd still need a new regression test to ensure it keeps working - we didn't 
even have a regression test to ensure extension module imports from inside a 
package worked, so we definitely don't have one for builtin submodules.

--
nosy: +encukou

___
Python tracker 

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



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2013-10-17 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +haypo

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



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2012-07-20 Thread Brett Cannon

Changes by Brett Cannon br...@python.org:


--
versions: +Python 3.4 -Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2012-06-12 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2010-08-09 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

I believe this is covered by the PEP3003 3.2 change moratorium.

--
nosy: +terry.reedy
versions: +Python 3.3 -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2010-08-09 Thread Brett Cannon

Brett Cannon br...@python.org added the comment:

Import is explicitly exempt from the moratorium. But since the moratorium 
expires starting with Python 3.3 it really doesn't matter since this change 
will not go into 3.2.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro s...@pobox.com:


--
nosy:  -skip.montanaro

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2010-04-29 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

OK, reassessing with brain fully engaged this time: the current patch is 
incorrect, and this request is more complicated than one might initially think 
:)

It appears that since the patch was originally tried out only on Windows, a 
Modules/Setup based system based system like mine can't even build a patched 
tree. The current incarnation of the Modules/makesetup script won't allow the 
use of a dotted name for a module named in Modules/Setup.

Anyway, I'm uploading a more fleshed out test case which explicitly details 
some of the module namespace invariants that built-in packages would need to 
support (and changing the issue type and title accordingly).

Even beyond these stricter tests, pkgutil and importlib would need to be 
checked to make sure they also support the new behaviour. 

Since I can't build the patch as it currently stands, I don't know how well it 
actually fairs against the stronger set of invariants. However, just looking at 
the patch I'm pretty confident that it doesn't include the necessary work to 
make sure that the parent package actually looks like a package from the 
interpreter's point of view.

--
components:  -Build
stage:  - needs patch
title: Allow importing built-in submodules - Allow built-in packages and 
submodules as well as top-level modules
type: behavior - feature request
versions:  -Python 2.6, Python 2.7, Python 3.1
Added file: http://bugs.python.org/file17126/test_builtin_submodule.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2010-04-29 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


--
stage: needs patch - 

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2010-04-29 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

Unassigning - this idea needs a lot more specification work to be done before 
actually implementing it becomes a good idea.

(e.g. IronPython and Jython should be looked at to see how they handle the 
naming schemes in the standard libraries for their respective runtime 
environments)

--
assignee: ncoghlan - 

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com