Re[2]: [Zope3-dev] LocationProxy+None

2007-08-14 Thread Adam Groszer
Thank you Jeff for the clarification. Thought so that could be something like this, but was not so clear on spot. Tuesday, August 14, 2007, 4:15:48 PM, you wrote: JS> On 8/14/07, Adam Groszer <[EMAIL PROTECTED]> wrote: >> A strange thing happened today: >> >>> x = LocationProxy(None, "foo", "bar

Re: [Zope3-dev] LocationProxy+None

2007-08-14 Thread Jeff Shell
On 8/14/07, Adam Groszer <[EMAIL PROTECTED]> wrote: > A strange thing happened today: > >>> x = LocationProxy(None, "foo", "bar") > >>> x is None > False > >>> x == None > True > > Is this OK or I'm just missing something? You have to understand how Python's ``is`` differs from ``==``. An `is` che

[Zope3-dev] LocationProxy+None

2007-08-14 Thread Adam Groszer
Hello, A strange thing happened today: >>> x = LocationProxy(None, "foo", "bar") >>> x is None False >>> x == None True Is this OK or I'm just missing something? -- Best regards, Adam mailto:[EMAIL PROTECTED] ___ Zope3-dev m