Skip to content

Conversation

@ilevkivskyi
Copy link
Member

@gvanrossum
Here I am adding tests as discussed with @bintoro.

These tests actually revealed three small bugs:

  • Old style classes in Python don't have __mro__.
  • We should use __extra__ instead of extra in Python2 (since no kwargs in classes).
  • We should allow overriding __subclasshook__ by subclasses.

@gvanrossum gvanrossum merged commit 126d3be into python:master Oct 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants