> If so, why?

I see that Toby and you answered that.


> Is this a python limitation?

No.

> I played around with 
> co_varnames and python doesn't seem to offer a possibility to recognize 
> **kw as something special.

 >>> def foo(bar, **kw):
...   pass
...
 >>> foo.func_code.co_flags
11

 >>> def foo(bar, *args):
...   pass
...
 >>> foo.func_code.co_flags
7

 >>> def foo(bar):
...   pass
...
 >>> foo.func_code.co_flags
3


--
Steve Alexander


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to