Georg Brandl <ge...@python.org> added the comment:

Mark, __dir__ as a special method only works when defined on types, so you'd 
have to use a module subclass for the "regex" module :)

As I already suggested, it is probably best to move most of the private stuff 
into a separate module, and only import the really needed entry points into the 
regex module.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2636>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to