This looks unnecessary:
-# from whrandom import randint
+ from random import randint
and I wouldn't have introduced a patch system for these two patches (needs to get merged if the changes don't go upstream), other than that: good work! Who takes care of forwardin the changes upstream?
Minor things:
This looks unnecessary:
-# from whrandom import randint
+ from random import randint
and I wouldn't have introduced a patch system for these two patches (needs to get merged if the changes don't go upstream), other than that: good work! Who takes care of forwardin the changes upstream?