Author martin.panter
Recipients Hernan.Grecco, beng94, martin.panter
Date 2016-02-04.03:40:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454557204.44.0.767721380471.issue21042@psf.upfronthosting.co.za>
In-reply-to
Content
IMO this should be treated as a new feature for the next release. But consistently returning the path sounds good to me if there is no good reason not to.

Left a question on the review. I think you also need to update the documentation, and since this is changing documented behaviour it probably needs a What’s New entry.

For tests, I would try doing something like find_library("c"), and ensuring that the result is an absolute path. We may have to end up skipping the test for platforms like Windows where this is not expected to work. Look through the files in /Lib/ctypes/test/ for a good place for it to live (if there isn’t already a test there you can modify).
History
Date User Action Args
2016-02-04 03:40:04martin.pantersetrecipients: + martin.panter, Hernan.Grecco, beng94
2016-02-04 03:40:04martin.pantersetmessageid: <1454557204.44.0.767721380471.issue21042@psf.upfronthosting.co.za>
2016-02-04 03:40:04martin.panterlinkissue21042 messages
2016-02-04 03:40:03martin.pantercreate