matplotlib/matplotlib — pull request #1642 by tacaswell (2013-01-07 20:06:51+00:00)
Title: remove `import new` from cbook.py

Related to the other efforts to clean up cbook.py

removed the `import new` in favor of `import types` for all versions.

`types` is supported from 2.2 and `new` is deprecated as of 2.6.

This is the only place `import new` appears in the code.