Message 208801 - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Content
Yes, that is how it must work.  This is symmetric with pure Python functions:

    >>> import inspect
    >>> import zlib
    >>> def foo(a=zlib.Z_DEFAULT_COMPRESSION): pass
    ... 
    >>> str(inspect.signature(foo))
    '(a=-1)'