Not found in the documentation

Chris Angelico rosuav at gmail.com
Tue Apr 27 08:12:47 EDT 2021


On Tue, Apr 27, 2021 at 9:51 PM elas tica <elasstiika at gmail.com> wrote:
>
>
> > However, in this case, the general information in the docs is
> > absolutely sufficient, and the basic principle that the repr should
> > (where possible) be a valid literal should explain what's needed.
>
>
> This is a subjective statement. Recall: explicit is better implicit. Alas, many parts of the Python docs are written in a conversational style, full of implicit and fuzzy meanings.

Is there an actual problem here, or are you just looking for something
to pick a hole in? Are you asking if a hypothetical alternate Python
implementation is allowed to have int(16) return "0x10" ?

Common sense should be a thing. Use it.

ChrisA


More information about the Python-list mailing list