Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-108901: Deprecate inspect.getfullargspec and slate it for removal in 3.15#112314

Closed
sobolevn wants to merge 1 commit into
python:mainpython/cpython:mainfrom
sobolevn:issue-108901-getfullargspecsobolevn/cpython:issue-108901-getfullargspecCopy head branch name to clipboard
Closed

gh-108901: Deprecate inspect.getfullargspec and slate it for removal in 3.15#112314
sobolevn wants to merge 1 commit into
python:mainpython/cpython:mainfrom
sobolevn:issue-108901-getfullargspecsobolevn/cpython:issue-108901-getfullargspecCopy head branch name to clipboard

Conversation

@sobolevn

@sobolevn sobolevn commented Nov 22, 2023

Copy link
Copy Markdown
Member

I've create a new PyPI package to backport skip_bound_arg parameter to previous versions: https://github.com/wemake-services/inspect313

It is not yet published, please let me know if I need to add someone as maintainer / move it somewhere.


📚 Documentation preview 📚: https://cpython-previews--112314.org.readthedocs.build/

@hugovk

hugovk commented Nov 22, 2023

Copy link
Copy Markdown
Member

Would probably also be a good idea to update the advice in https://docs.python.org/3/whatsnew/3.11.html?highlight=getfullargspec#removed so it no longer recommends getfullargspec:

The getargspec() function, deprecated since Python 3.0; use inspect.signature() or inspect.getfullargspec() instead.

@sobolevn

Copy link
Copy Markdown
Member Author

@hugovk Thanks! This would need a separate PR.

@encukou

encukou commented Apr 25, 2024

Copy link
Copy Markdown
Member

What's the reason to use the minimum length of the deprecation period?

@sobolevn

Copy link
Copy Markdown
Member Author

No real reason, I think that the transition will be rather smooth, considering the existance of https://github.com/wemake-services/inspect313

But, we can set any remove= version, this is not really a problem :)

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 14, 2026
@vstinner

Copy link
Copy Markdown
Member

@sobolevn: This change is now outdated since it refers to Python 3.13. Do you still plan to work on this PR? If not, I suggest closing it.

@sobolevn sobolevn closed this May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.