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
Resurrect inspect.getargspec() in 3.6 #69672
Comments
See issue bpo-20438 for more details |
Could this be done soon? I ran into this just now: Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/stefan/usr/lib/python3.6/site-packages/datashape-0.4.7-py3.6.egg/datashape/__init__.py", line 7, in <module>
from .user import *
File "/home/stefan/usr/lib/python3.6/site-packages/datashape-0.4.7-py3.6.egg/datashape/user.py", line 16, in <module>
@dispatch(np.dtype, basetypes)
File "/home/stefan/usr/lib/python3.6/site-packages/multipledispatch-0.4.8-py3.6.egg/multipledispatch/core.py", line 60, in _
if ismethod(func):
File "/home/stefan/usr/lib/python3.6/site-packages/multipledispatch-0.4.8-py3.6.egg/multipledispatch/core.py", line 79, in ismethod
spec = inspect.getargspec(func)
AttributeError: module 'inspect' has no attribute 'getargspec' |
Perhaps we can also add it back in 3.5.2 since 3.5 is in early stages of its maintenance period? |
+1 for adding it to 3.5.2. |
I was never removed from 3.5 Python 3.5.1 (default, Dec 13 2015, 16:05:52)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import inspect
>>> inspect.getargspec
<function getargspec at 0x104811048 |
New changeset 32c8bdcd66cc by Yury Selivanov in branch 'default': |
inspect.getargspec is back to Python 3.6 (it was never removed from <= 3.5, fwiw) |
On Mon, Jan 11, 2016 at 08:17:11PM +0000, Yury Selivanov wrote:
Yay! Thank you very much! |
Now the documentation says it will be removed in 3.6. I guess the 3.5 documentation also needs updating. |
New changeset 36a54e30bcbd by Yury Selivanov in branch '3.5': New changeset 4f1a0e5deca6 by Yury Selivanov in branch 'default': |
Good catch! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: