On Tue, 5 Jul 2005, James Graham wrote:

Veusz let me save a file with a period "." in a descriptor (specifically in a field name) but wouldn't let me open the same file. Obviously this is a bug... Is there any actual non-fixable reason for this limitation on characters?

Hmmm... I'm trying to remember whether there are any assumptions here that the name is a valid python variable name...

I think we should disallow dots, as this breaks things like the create dataset dialog which uses eval to evaluate datasets. Dots aren't valid in python variable names.

How was the dataset created? Presumably not using import.

Options are:
 o Allow dots, but things like create dataset will fail
 o Disallow dots, but need to find the places where dots are allowed

There's probably a larger issue to do with any non python variable name names. The importer may even allow numerical names...

Jeremy

--
Jeremy Sanders <[EMAIL PROTECTED]>
http://www.jeremysanders.net/                Cambridge, UK
Public Key Server PGP Key ID: E1AAE053

Répondre à