[issue23447] Relative imports with __all__ attribute

2015-02-11 Thread Antonio Cota
New submission from Antonio Cota: That's the situation: a/ __init__.py first.py second.py #init.py __all__ = ['second', 'first'] print('i\'m starting the directory') #first.py print('hi, i\'m the first') from . import * #second

[issue23447] Relative imports with __all__ attribute

2015-02-11 Thread Antonio Cota
Changes by Antonio Cota : -- versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue23447> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23447] Relative imports with __all__ attribute

2015-02-12 Thread Antonio Cota
Antonio Cota added the comment: I tried the following on python 3.5.0a1: #init.py __all__ = ['second', 'first'] print('i\'m starting the directory') #first.py print('hi, i\'m the first') from . import second #second.py print('hi, i\

[issue23447] Relative imports with __all__ attribute

2015-02-12 Thread Antonio Cota
Changes by Antonio Cota : -- versions: -Python 3.4 ___ Python tracker <http://bugs.python.org/issue23447> ___ ___ Python-bugs-list mailing list Unsubscribe: