From: Norbert N. <Nor...@gm...> - 2004-12-14 17:50:53
|
Am Dienstag, 14. Dezember 2004 14:23 schrieb Francesc Altet: > What about replacing the NameError > exception with an UserWarning? The other possibility is allowing any string > as node or attribute name, even if they cannot be used by natural naming, > without any warning at all. What do you think is best? Other people would > chime in? I don't think that there is any point in giving that warning. If one is able to create a node with a non-pythonic name, he obviously knows how to work around natural naming, so he can access it afterwards as well. -- _________________________________________Norbert Nemec Bernhardstr. 2 ... D-93053 Regensburg Tel: 0941 - 2009638 ... Mobil: 0179 - 7475199 eMail: <No...@Ne...> |