Mark Summerfield <m...@qtrac.eu> added the comment:

If you do:

>>> import regex as re
>>> dir(re)

you get over 160 items, many of which begin with an underscore and so are 
private. Couldn't __dir__ be reimplemented to eliminate them. (I know that the 
current re module's dir() also returns private items, but I guess this is a 
legacy of not having the __dir__ special method?)

----------

_______________________________________
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