Archives week 10 of 2015
March 9, 2015 - March 15, 2015
So there's a big flamey thread over on python-list about the Python 3.x type-annotation. Thing is, I can't say the annotations seem all *that* important to the behaviour (static type checking): Consider this Python 2.7 decorator-set:
def _func_annotation_for(func): """Retrieve the function annotation for a given function or create it""" current = getattr(func,'func_annotation',None) if current is ...