Message213485
> If you only had the latter exception all you would know is Python
> doesn't consider datetime a package but you wouldn't know why that is
Well, I’d be satisfied with that. Looking at the doc or importing just datetime would let me know it’s a module, not a package.
> unless you knew the exact definition (the __path__ attribute exists).
To me that’s an implementation detail. The real definition in my mental model is that modules are files and packages are directories. __path__ is advanced stuff. |
|
Date |
User |
Action |
Args |
2014-03-13 22:24:34 | eric.araujo | set | recipients:
+ eric.araujo, brett.cannon, vstinner, alex, eric.snow |
2014-03-13 22:24:34 | eric.araujo | set | messageid: <1394749474.77.0.488298271401.issue19257@psf.upfronthosting.co.za> |
2014-03-13 22:24:34 | eric.araujo | link | issue19257 messages |
2014-03-13 22:24:34 | eric.araujo | create | |
|