can classes
test canning classes
py3compat for class canning
Merge pull request #2755 from minrk/canclass

can interactively defined classes

*Only* interactively defined classes are canned.

closes #2754