This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients cary, gvanrossum, levkivskyi, rhettinger
Date 2019-03-31.15:36:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554046615.47.0.580956612259.issue36466@roundup.psfhosted.org>
In-reply-to
Content
There's a similar thing with docstrings though. Some code depend on docstrings (e.g. David Beazley's parser generator). help() of course also depends on it. And yet we have a way to disable it. (Same with asserts, plenty of code depends on them even though we recommend against it.)

So as long as we have a separate mechanism to disable this I'm not worried -- it's up to the person that runs the program to ensure that they don't use functionality that breaks when annotations are suppressed.

(Note that functools.singledispatch has an alternate registration syntax that doesn't require annotations.)
History
Date User Action Args
2019-03-31 15:36:55gvanrossumsetrecipients: + gvanrossum, rhettinger, levkivskyi, cary
2019-03-31 15:36:55gvanrossumsetmessageid: <1554046615.47.0.580956612259.issue36466@roundup.psfhosted.org>
2019-03-31 15:36:55gvanrossumlinkissue36466 messages
2019-03-31 15:36:55gvanrossumcreate