[Zope] Possible dictionary bug?

Dennis Allison allison at sumeru.stanford.EDU
Mon Aug 23 12:57:45 EDT 2004


A.update(...) should have a value of None as it should.  I would suspect
the test program rather than the interpreter.   Can you post exactly what 
fails in bopth instances?

On Mon, 23 Aug 2004, Garito wrote:

> Hi all
> 
> I try these code in a Python Script:
> 
> A = dict()
> A['Example'] = 1
> 
> return A.update({'DoesItWorks': 'Perhaps'})
> 
> In the python interpreter it works fine but in the python script returns 
> None
> 
> Can anyone reproduce the problem?
> 
> Thanks!!!!!
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 



More information about the Zope mailing list