-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
Argument Clinic does not work with custom destination files #94538
Labels
Comments
2 tasks
erlend-aasland
added a commit
to erlend-aasland/cpython
that referenced
this issue
Jul 3, 2022
ambv
pushed a commit
that referenced
this issue
Jul 5, 2022
ambv
pushed a commit
that referenced
this issue
Jul 5, 2022
ambv
pushed a commit
that referenced
this issue
Jul 5, 2022
This is now fixed in 3.10 - 3.12. Thanks, Erlend! ✨ 🍰 ✨ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Argument Clinic does not work with custom destination files, for example given this clinic input:
Traceback
This occurs because AC tries to append to a buffer (
clinic.destination_buffers
), but it receives aDestination
object instead. The failure is in theoutput
directive parser; it incorrectly updatesclinic.destination_buffers
with the destination object, instead of using the result ofclinic.get_destination_buffer
.The text was updated successfully, but these errors were encountered: