Message302405
| Author | rhettinger |
|---|---|
| Recipients | brett.cannon, codypiersall, rhettinger |
| Date | 2017-09-18.02:36:13 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1505702174.17.0.30292013662.issue31503@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I think change this would be risky and could break code that uses dir() to actually know what is in a module. IIRC, this was discussed when __all__ was introduced. I believe it was decided that __all__ would affect from-imports and help() but not dir(). This decision has been in place for a long time now and I would expect that people (and tools) have come to rely on the current behavior. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-09-18 02:36:14 | rhettinger | set | recipients: + rhettinger, brett.cannon, codypiersall |
| 2017-09-18 02:36:14 | rhettinger | set | messageid: <1505702174.17.0.30292013662.issue31503@psf.upfronthosting.co.za> |
| 2017-09-18 02:36:14 | rhettinger | link | issue31503 messages |
| 2017-09-18 02:36:13 | rhettinger | create | |