You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
libpython-clj2.metadata/pyarglists is not returning 'defaults' #284
When using fn libpython-clj2.metadata/pyarglists the deafults are not shown, see below. py-fn-argspec seems to find them, but then they get eaten up, to me on this line:
[(symbol k) (keyword k)] seems wrong, should be: [(symbol k) (keyword v)]
but (keyword x) returns for example "nil" on true, so defaults true are lost.
I think [(symbol k) v] should work, but not sure if for all cases.
changed the title [-]libpython-clj2.metadata/pyarglists s not showing defaults[/-][+]libpython-clj2.metadata/pyarglists is not returning 'defaults'[/+]on Apr 10, 2026
Activity
[-]libpython-clj2.metadata/pyarglists s not showing defaults[/-][+]libpython-clj2.metadata/pyarglists is not returning 'defaults'[/+]behrica commentedon Apr 10, 2026
fixing this is more complex, defaults can be anything:
I solved this differently, staying on python side and taking the "str" of each parameter from 'inspect'