On Jun 24, 7:07 pm, Terry Reedy wrote:
> Дамјан Георгиевски wrote:
> > I need to programmaticaly enumerate all the classes in a given module.
> > Currently I'm using dir(module) but the Notice on the documentation page
> > [1] says "dir() is supplied primarily as a convenience for use at an
> > i
On Thu, 25 Jun 2009 11:30:03 -0500, Nick Craig-Wood wrote:
>> Something makes me think that module.__dict__ was only added to Python
>> fairly recently, but I'm not sure.
>
> It exists in python2.1 - I don't have an older python to check at the
> moment.
$ python1.5
Python 1.5.2 (#1, Apr 1 20
Carl Banks wrote:
> On Jun 23, 10:02 pm, Дамјан Георгиевски wrote:
> > I need to programmaticaly enumerate all the classes in a given module.
> > Currently I'm using dir(module) but the Notice on the documentation page
> > [1] says "dir() is supplied primarily as a convenience for use at an
> >
Дамјан Георгиевски wrote:
I need to programmaticaly enumerate all the classes in a given module.
Currently I'm using dir(module) but the Notice on the documentation page
[1] says "dir() is supplied primarily as a convenience for use at an
interactive prompt" so that kind of scares me.
That n
On Jun 23, 10:02 pm, Дамјан Георгиевски wrote:
> I need to programmaticaly enumerate all the classes in a given module.
> Currently I'm using dir(module) but the Notice on the documentation page
> [1] says "dir() is supplied primarily as a convenience for use at an
> interactive prompt" so that k
Дамјан Георгиевски wrote:
> I need to programmaticaly enumerate all the classes in a given module.
> Currently I'm using dir(module) but the Notice on the documentation page
> [1] says "dir() is supplied primarily as a convenience for use at an
> interactive prompt" so that kind of scares me.
>