From: Ivan V. i B. <iv...@ca...> - 2004-12-15 08:17:00
|
On Tue, Dec 14, 2004 at 06:50:43PM +0100, Norbert Nemec wrote: > [...] > I don't think that there is any point in giving that warning. If one is a= ble=20 > to create a node with a non-pythonic name, he obviously knows how to work= =20 > around natural naming, so he can access it afterwards as well. I still believe that the warning would be useful. Imagine the following statement: >>> t =3D h5f.createEArray('/measurements', '1st', ...) That does'nt need setattr() voodoo and still creates a non-pythonic id. Other strange characters may also slip in (i.e. dots in file names when using FileNode), so issuing a warning is justified. And remember that using it gives us for free the possibility of turning it into an exception (or completely off), if the user wishes so. --=20 Ivan Vilata i Balaguer >qo< http://www.carabos.com/ C=E1rabos Coop. V. V V Enjoy Data "" |