[Zope] Strange pass REQUEST reserved key...

Phil Harris phil.harris@zope.co.uk
Thu, 27 Sep 2001 15:44:01 +0100


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 )