This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author acooke
Recipients acooke
Date 2013-07-10.12:36:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373459784.39.0.18734737033.issue18422@psf.upfronthosting.co.za>
In-reply-to
Content
Using python 3.3, if I try to run __main__ I see this error:

Traceback (most recent call last):                                              
  File "/usr/local/lib/python3.3/runpy.py", line 140, in _run_module_as_main    
    mod_name, loader, code, fname = _get_module_details(mod_name)               
  File "/usr/local/lib/python3.3/runpy.py", line 105, in _get_module_details    
    if loader.is_package(mod_name):                                             
AttributeError: 'NamespaceLoader' object has no attribute 'is_package'          

My directory structure is:

> tree .
.
├── README.md
├── src
│   └── simplessl
│       ├── ca.py
│       ├── __main__.py
│       ├── req.py
│       └── utils.py
└── ssl.iml

i assume this is related to http://bugs.python.org/issue18058 but don't understand why this is not a bugfix that can be back-ported.  this appears to be a bug to me...
History
Date User Action Args
2013-07-10 12:36:24acookesetrecipients: + acooke
2013-07-10 12:36:24acookesetmessageid: <1373459784.39.0.18734737033.issue18422@psf.upfronthosting.co.za>
2013-07-10 12:36:24acookelinkissue18422 messages
2013-07-10 12:36:23acookecreate