Skip to content

Fix deprecations warnings #678

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

Merged
merged 2 commits into from
Apr 18, 2017
Merged

Fix deprecations warnings #678

merged 2 commits into from
Apr 18, 2017

Conversation

AlwxSin
Copy link
Contributor

@AlwxSin AlwxSin commented Apr 18, 2017

Getargspec method of inspect module was deprecated in py3.
There is getfullargspec method but it was deprecated in several py3 versions.
There is no problem if I launch bpython itself. But when I launch bpython shell from django manage command there are a lot of deprecation warning messages.
So I propose to use signature method for py3.

AlwxSin added 2 commits April 18, 2017 12:01
method getargspec was deprecated in python3
and method getfullargspec was deprecated until python3.6 in favour
of signature method
@sebastinas sebastinas merged commit 91bdd42 into bpython:master Apr 18, 2017
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.

2 participants