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

pythonwin calltips broken in 3.11 #1877

Closed
mhammond opened this issue May 11, 2022 · 0 comments
Closed

pythonwin calltips broken in 3.11 #1877

mhammond opened this issue May 11, 2022 · 0 comments

Comments

@mhammond
Copy link
Owner

via the python-win32 mailing list:

The error occurs when I type the left parenthesis after the function name. Is there actually a problem with pywin32, or with me? –

PythonWin 3.11.0b1 (main, May  7 2022, 22:58:47) [MSC v.1931 64 bit (AMD64)] on win32.
Portions Copyright 1994-2018 Mark Hammond - see 'Help/About PythonWin' for further copyright information.
>>> def biff(a, b):
...           print(a + b)
...          
>>> biffFailed to format the args
Traceback (most recent call last):
  File "C:\Python311-64\Lib\site-packages\pythonwin\pywin\idle\CallTips.py", line 135, in get_arg_text
    arg_getter = getattr(inspect, "getfullargspec", inspect.getargspec)
                                                    ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'
kxrob added a commit to kxrob/pywin32 that referenced this issue Aug 21, 2022
kxrob added a commit to kxrob/pywin32 that referenced this issue Aug 21, 2022
mhammond#1877 : pythonwin calltips broken in 3.11

And de-lints
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

No branches or pull requests

1 participant