From: russ <ru...@ag...> - 2005-01-23 05:38:34
|
>> Actually I'd disagree with that. I think the beauty of allowing any >> arbitrary string in the __getitem__ is that anything is allowed; there >> are no special cases for the programmer to have to worry about. It is >> very simple to use. It doesn't make sense to me to provide a special >> interpretation for the "/" character purely in order to save typing a >> few characters in an interactive session. >'/' is prohibited by the underlying HDF5 as part of an identifier. It is >therefore not an option to allow it in a PyTables identifer. The only >question is whether it should raise an exception or have the special meaning. >Personally, I have no strong opinion on this question. Well, in that case maybe it is best to allow the special "/" interpretation. Cheers, -Russ |