Haoyu Bai <[EMAIL PROTECTED]> added the comment: By considering the implementing, some problems emerged.
First of all, as we know, all CFunctionObject and their attributes are imutable, but the __annotations__ attribute should be a dict, and dict is mutable. So how to solve this? Secondly, the annotation value can be abitrary expression, and then, for extension module, would it be reasonable to restrict these value to string? Thanks! _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3208> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com