[issue25884] inspect.getmro() fails when base class lacks __bases__ attribute.

2015-12-16 Thread Brandon Zerbe
Brandon Zerbe added the comment: I am using Python 2.7.5.  The segment of code from inspect that I previously extracted came from line 332 although you may also find it by "finding" _searchbases. This is really an issue with Forthon: http://hifweb.lbl.gov/Forthon/ Specifically t

[issue25884] inspect.getmro() fails when base class lacks __bases__ attribute.

2015-12-16 Thread Brandon Zerbe
New submission from Brandon Zerbe: I am using a possibly non-standard python package called Forthon, and when I inspect an object that is dependent on the Forthon class, I get the following error: File "/Users/zerbeb/homemade_programs/config2class/src/method_parsing.py"