[Paul Prescod] > It's not about keeping people out of your module. In fact I would > propose that mod.__dict__ should be as loose as ever. [Skip Montanaro] > Okay, how about this as a compromise first step? Allow programmers to put > __exports__ lists in their modules but don't do anything with them *except* > modify dir() to respect that if it exists? That would pretty up dir() > output for newbies, almost certainly not break anything, improve the > internal documentation of the modules that use __exports__, and still allow > us to move in a more restrictive direction at a later time if we so choose. I'm +1 on that personally. -- Moshe Zadka <sig@zadka.site.co.il> This is a signature anti-virus. Please stop the spread of signature viruses!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4