DeprecationWarning: `formatargspec` is deprecated since Python 3.5
See original GitHub issueDescription
.venv/lib/python3.8/site-packages/newrelic/console.py:84: 18 warnings
/opt/.venv/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(
Expected Behavior
No deprecation warning.
Your Environment
Python 3.8.5, New Relic agent 5.20.0.149.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
`formatargspec` is deprecated since Python 3.5. Use ... - GitHub
DeprecationWarning : formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly #50911.
Read more >Replace inspect.formatargspec by inspect.signature in xmlrpc ...
xmlrpc still makes use of formatargspec which is deprecated since Python 3.5 and raises a deprecation warning: DeprecationWarning: ...
Read more >Using Python Console with "-Wa" raises "DeprecationWarning
Configure Python Console to use Interpreter Flag -Wa (I supplied my whole config, ... DeprecationWarning: `formatargspec` is deprecated since Python 3.5.
Read more >Octoprint 1.8.6 startup fails on Python 3.11 re formatargspec
A quick web search yielded: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly.
Read more >DeprecationWarnings for formatargspec and collections in ...
DeprecationWarning : 'formatargspec' is deprecated since Python 3.5. Use 'signature' and the 'Signature' object directly.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please re-open this. This issue was not stale and needs attention from the maintainers.
For future reference, this issue has been fixed by newrelic: https://docs.newrelic.com/docs/release-notes/agent-release-notes/python-release-notes/python-agent-60402159/
Version: 6.4.2.159