On Wed, 2010-08-11 at 13:10 +1000, Nick Coghlan wrote: > On Wed, Aug 11, 2010 at 12:39 PM, Benjamin Peterson <benja...@python.org> > wrote: > > which would require ignoring the absence of __annotations__. > > It turns out the patch that added __annotations__ support also made a > change to make all of the copied attributes optional.
The discussion happened on issue 8814. I initially made only __annotations__ optional, however, after finding issue 1576241 on the tracker and thinking about it a bit, making all of the annotations optional seemed like the only sane solution. http://bugs.python.org/issue8814 http://bugs.python.org/issue1576241 > So I'll be tidying up the implementation of that, extending it to the > updated attributes and adding unit tests to make sure they're all > optional. > > Cheers, > Nick. > -- Terrence _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com