Message297739
> I think that the names in __all__ should have the same NFKC normalisation applied as the identifiers.
Does it make sens to add to this issue : Ensure that all elements of __all__ are str ? (At least emit a warning ?)
I have encounter a small number of libraries where some member of all are the actual objects. Easy mistake to make if you make a public decorator:
__all__ = []
def public(o):
__all__.append(o)
return o
@public
def bar():
pass
Happy to open a different issue if deemed necessary. Thanks ! |
|
Date |
User |
Action |
Args |
2017-07-05 13:36:36 | mbussonn | set | recipients:
+ mbussonn, vstinner, ezio.melotti, mrabarnett, steven.daprano, Nate Soares |
2017-07-05 13:36:35 | mbussonn | set | messageid: <1499261795.93.0.0479768561352.issue30772@psf.upfronthosting.co.za> |
2017-07-05 13:36:35 | mbussonn | link | issue30772 messages |
2017-07-05 13:36:35 | mbussonn | create | |
|