Instance Names

Tim Cook timothywayne.cook at
Thu Jul 3 22:05:31 CEST 2008

On Thu, 2008-07-03 at 14:20 -0500, Larry Bates wrote:

> I suspect there is some "misunderstanding" here.  Why exactly do you think you 
> need to have your instances named with [] characters in them?

I often misunderstand.  :-)

But, I am implementing specifications in Python that are already
implemented in other languages.

These specifications say that an archetype node id consists of
identifiers like [at0000] and [at0001].  Now these are valid URIs and
the associated query language (AQL) used by other services will send
queries with those characters in them. 

For example:
>= 140

Since I am also using Zope3 it would be easier on me to name the
instances with those characters.  

But my fall back is to set at0000.__name__='[at0000]' and manipulate the
query to match __name__ instead of the actual instance ID.




Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile: 
Skype ID == timothy.cook 
*You may get my Public GPG key from  popular keyservers or   *
*from this link*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Python-list mailing list