[Python-Dev] Keyword arg dictionary without keyword arguments

Jack Jansen jack@oratrix.nl
2001年1月20日 00:23:18 +0100


Recently, Guido van Rossum <guido@digicool.com> said:
> > I get the impression that I'm currently seeing a non-NULL third
> > argument in my (C) methods even though the method is called without
> > keyword arguments.
>> > Is this new semantics that I missed the discussion about, or is this a bug?
>> [...] 
> Do you really need the NULL?

The places that I know I was counting on the NULL now have "if ( kw && 
PyObject_IsTrue(kw))", so I'll just have to hope there aren't any more 
lingering in there.
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm 

AltStyle によって変換されたページ (->オリジナル) /