gh-108901: Add Signature.from_code method#108902
Conversation
vstinner
left a comment
There was a problem hiding this comment.
Please restrict this PR to add from_code(). Once it's merged, you can write a PR to deprecate.
Sorry, something went wrong.
95c2219 to
604f25b
Compare
September 5, 2023 16:57
inspect.getargs, use Signature.from_code instead
vstinner
left a comment
There was a problem hiding this comment.
I like your overall change, here is a first review.
Sorry, something went wrong.
|
I moved my code, so there should be no unrelated diffs now :) |
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
LGTM, but I would prefer a second core dev review, since I don't know well this module.
Sorry, something went wrong.
|
@pablogsal @AlexWaygood @1st1: Would you be interested to review this change? |
Sorry, something went wrong.
AlexWaygood
left a comment
There was a problem hiding this comment.
A few nits:
Sorry, something went wrong.
|
Thanks for the PR, @sobolevn -- it was well done. But I think adding a constructor that implies you can construct a complete |
Sorry, something went wrong.
inspectmodule, deprecate old incorrect APIs #108901📚 Documentation preview 📚: https://cpython-previews--108902.org.readthedocs.build/