Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't filter out parameters named 'args' or 'kwd' in utils.get_signature(). #173

Merged
merged 1 commit into from
Jan 18, 2018

Conversation

ian-r-rose
Copy link
Contributor

Fixes #172.

Uses inspect.getfullargspec instead of inspect.signature. This makes it closer to the python 2 version of the same function, and hopefully more maintainable.

inspect.getfullargspec had previously been deprecated in favor of inspect.signature, but that deprecation has been reversed in order to maintain better compatibility with Python 2/3 codebases.

@fonnesbeck fonnesbeck merged commit 2b98872 into pymc-devs:master Jan 18, 2018
@fonnesbeck
Copy link
Member

Thanks. That's much more elegant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with pymc.Lambda using 2.3.7.rc1
2 participants