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 usage of deprecated inspect.getargspec #436

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion pypiserver/bottle.py
Expand Up @@ -41,7 +41,6 @@
from datetime import date as datedate, datetime, timedelta
from tempfile import TemporaryFile
from traceback import format_exc, print_exc
from inspect import getargspec
from unicodedata import normalize


Expand Down Expand Up @@ -79,6 +78,7 @@ def _e(): return sys.exc_info()[1]
# Lots of stdlib and builtin differences.
if py3k:
import http.client as httplib
from inspect import getfullargspec as getargspec
import _thread as thread
from urllib.parse import urljoin, SplitResult as UrlSplitResult
from urllib.parse import urlencode, quote as urlquote, unquote as urlunquote
Expand All @@ -101,6 +101,7 @@ def _e(): return sys.exc_info()[1]
def _raise(*a): raise a[0](a[1]).with_traceback(a[2])
else: # 2.x
import httplib
from inspect import getargspec
import thread
from urlparse import urljoin, SplitResult as UrlSplitResult
from urllib import urlencode, quote as urlquote, unquote as urlunquote
Expand Down