This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shreyanavigyan
Recipients JelleZijlstra, docs@python, shreyanavigyan, talhayon1
Date 2021-04-11.19:19:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618168778.22.0.471032842483.issue43803@roundup.psfhosted.org>
In-reply-to
Content
> I'd favor updating them all to say "ptr", because changing the name of the runtime parameter would risk breaking users' code.

I also certainly agree with that. Moreover, the documentation and docstring uses the name "address" and "addr" respectively which are misleading because it is asking for ctypes.c_char_p or ctypes.c_wchar_p which are C pointer types, it is not asking for the address of instances of ctypes.c_char_p or ctypes.c_wchar_p. Therefore a change in the documentation and docstring is required.

Note - If this issue is confirmed then I'll submit a PR to apply the change as described in this issue.
History
Date User Action Args
2021-04-11 19:19:38shreyanavigyansetrecipients: + shreyanavigyan, docs@python, JelleZijlstra, talhayon1
2021-04-11 19:19:38shreyanavigyansetmessageid: <1618168778.22.0.471032842483.issue43803@roundup.psfhosted.org>
2021-04-11 19:19:38shreyanavigyanlinkissue43803 messages
2021-04-11 19:19:38shreyanavigyancreate