caterinaurban / Typpete

35 stars 6 forks source link

Incorrect function override checking for methods with default arguments #26

Closed marcoeilers closed 7 years ago

marcoeilers commented 7 years ago

If in class Super I have a method which takes one parameter (non-default) in addition to self, I cannot override it with an identical method where the one parameter has a default value? That seems wrong.

TypeError: Method _setup_sockets in subclass Router should have non-default arguments length less thanor equal that in superclass