I'm curious if it is possible, and if so how, to go about collecting dependent .py/.class paths from a python class passed into Java code.
Basically the user jython code would pass a python object to java, and the java code would figure out where the .class file (or the .py files) that defines the object, and then pack it into a jar.

If I overload a java object in jython and pass it back, it comes as a org.python.proxies.__main__$Test$1.class.  But the ClassLoader I get from getClassLoader doesn't seem to find the .class file using getResources.