Wed, 14 Apr 2010 01:17:37 -0700, Fernando Perez wrote: [clip] > Exception occurred: > File "/home/fperez/ipython/repo/trunk-lp/docs/sphinxext/numpydoc.py", > line 71, in mangle_signature > 'initializes x; see ' in pydoc.getdoc(obj.__init__)): > AttributeError: class Bunch has no attribute '__init__' The full > traceback has been saved in /tmp/sphinx-err-H1VlaY.log, if you want to > report the issue to the developers. > > so it seems indeed that accessing __init__ without checking it's there > isn't a very good idea. > > But I didn't write numpydoc and I'm tired, so I don't want to commit > this without a second pair of eyes...
Yeah, it's a bug, I think. -- Pauli Virtanen _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion