Strange pass REQUEST reserved key...
Hi all, I spent a few minutes trying to save changes on a DTML Method. Each time, it failed because of a syntax problem... Finaly, I renamed a private REQUEST key that I called pass into password and it works... REQUEST.pass seems to be a reserved key. Is it ??? Regards, Frederic Quin
Well, 'pass' is a Python reserved word so it may follow that all python reserved words are not good keys to use in REQUEST. Try creating a key with another reserved word, 'if','while' etc. Phil ----- Original Message ----- From: "Frederic Quin" <fquin@profile4u.com> To: <zope@zope.org> Sent: Thursday, September 27, 2001 4:40 PM Subject: [Zope] Strange pass REQUEST reserved key...
Hi all,
I spent a few minutes trying to save changes on a DTML Method. Each time, it failed because of a syntax problem... Finaly, I renamed a private REQUEST key that I called pass into password and it works...
REQUEST.pass seems to be a reserved key. Is it ???
Regards, Frederic Quin
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Frederic Quin -
Phil Harris