From: Norbert N. <Nor...@gm...> - 2004-11-10 14:55:16
|
Hi there, find enclosed two tiny patches: * the first to throw an AttributeError on __getattr__ for nonexistant attributes in AttributeSet. Formerly, the routine returned "None", which is pretty much against convention in Python and breaks the builtin "hasattr" routine * the second to correct the behavior for shape=() arrays. These worked fine before, except for copying of trees. Ciao, Nobbi PS: In case this list is not the appropriate place for tiny patch submissions, please point me to the correct address. -- _________________________________________Norbert Nemec Bernhardstr. 2 ... D-93053 Regensburg Tel: 0941 - 2009638 ... Mobil: 0179 - 7475199 eMail: <No...@Ne...> |