[Python-ideas] Optional static typing -- late to the party

Chris Angelico rosuav at gmail.com
Wed Aug 20 14:56:32 CEST 2014


On Wed, Aug 20, 2014 at 10:53 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
> Steven D'Aprano <steve at pearwood.info> writes:
>
>> But remember that any annotations in docstrings may not be available
>> at runtime
>
> How so? What conformant Python implementation is discarding docstrings
> from code objects?

CPython with the -OO flag. Or is that non-conformant?

ChrisA


More information about the Python-ideas mailing list