sympy/sympy — pull request #2010 by darky1 (2013-04-13 17:47:51+00:00)
Title: Improved the divmod() function to include polynomials

Passed the tests on my machine.