TkTech / Burger

A simple tool for picking out information from the minecraft JARs, primarily useful for developers.
MIT License
145 stars 33 forks source link

Fix module loading so it doesn't depend on __subclasses__() #16

Closed FormallyMyles closed 8 years ago

FormallyMyles commented 8 years ago

In some Python implementations subclasses() does not retain its order.

This simply compares the before and after lists.

This allows it to be more future compatible, and work with Jython.

Pokechu22 commented 8 years ago

Jython ticket regarding random __subclasses__ ordering: http://bugs.jython.org/issue2514