> Given the new strictness characters allowed in id's, it'd be great if
> there was something called id_quote which behaved in the same way as
> html_quote or url-quote except it made a string suitable for use as an
> id. It's be great if ti was available as a methdo in python as well :-)
> What do people think?

This might wind up rather confusing: you can't find back your objects. If
they are created automatically you may create them such that they do not
create invalid ids. In such a case the id-quote method might be a good idea.
If you create them by hand (have them create by hand) then you'd better
throw in an exception (or error page) instead of mutilating the id. If only
for educational purposes ;-)


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to