[go: nahoru, domu]

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

Replace inspect.getargspec on Python 3 #578

Merged
merged 1 commit into from
Jun 15, 2022

Conversation

musicinmybrain
Copy link
Contributor

Where inspect.getfullargspec is available (Python 3.0 and later), use it instead of inspect.getargspec, which was deprecated in Python 3.0 and will be removed in Python 3.11.

This change is necessary in order to make autograd compatible with Python 3.11. The conditional import can be dropped once Python 2.7 is no longer supported.

Where inspect.getfullargspec is available (Python 3.0 and later), use it
instead of inspect.getargspec, which was deprecated in Python 3.0 and
will be removed in Python 3.11.
@j-towns j-towns merged commit cb5f840 into HIPS:master Jun 15, 2022
@fjosw fjosw mentioned this pull request Sep 20, 2022
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.

None yet

2 participants