Message266120
On May 22, 2016, at 11:30 PM, Martin Panter wrote:
>Here are two examples where publicly-documented module attributes are
>intentionally omitted from __all__:
>
>* Issue 26234: typing.re and typing.io
>* Issue 23439: HTTP status codes like http.client.NOT_FOUND
Wild.
>Despite these, I think @public is a reasonable name. But I may be biased,
>because I personally think everything should be included in
>__all__. Otherwise pydoc does not pick it up.
I think it's pretty reasonable, and pretty well-established despite some
exceptions, that __all__ names a module's public symbols. |
|
Date |
User |
Action |
Args |
2016-05-23 00:50:41 | barry | set | recipients:
+ barry, rhettinger, r.david.murray, ethan.furman, berker.peksag, martin.panter, eryksun, leewz, jayvdb |
2016-05-23 00:50:41 | barry | link | issue26632 messages |
2016-05-23 00:50:39 | barry | create | |
|