[IronPython] Empty func_defaults

Michael Foord fuzzyman at voidspace.org.uk
Sun Jan 21 08:07:04 PST 2007


Sanghyeon Seo wrote:
> def f(): pass
> print f.func_defaults
>
> CPython prints None, IronPython prints ().
>   

Lamentably the IronPython behaviour, whilst wrong, is better. :-)

Fuzzyman
http://www.voidspace.org.uk/ironpython/index.shtml



More information about the users mailing list