Message220787
Is this expected? It was very confusing when I cloned a repo that didn't have the __init__.py there when I had just made it, but of course git doesn't track files, only directories. I had accidentaly done mkdir instead of touch.
$ mkdir pkg/__init__.py
$ touch pkg/foobar.py
$ python
Python 3.4.1 (default, May 19 2014, 17:23:49)
[GCC 4.9.0 20140507 (prerelease)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pkg import foobar
>>> foobar
<module 'pkg.foobar' from '/home/abraithwaite/pkg/foobar.py'>
>>> |
|
Date |
User |
Action |
Args |
2014-06-17 02:48:32 | abraithwaite | set | recipients:
+ abraithwaite, docs@python |
2014-06-17 02:48:32 | abraithwaite | set | messageid: <1402973312.89.0.00365270476425.issue21784@psf.upfronthosting.co.za> |
2014-06-17 02:48:32 | abraithwaite | link | issue21784 messages |
2014-06-17 02:48:31 | abraithwaite | create | |
|