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 pitrou
Recipients Drekin, benjamin.peterson, brett.cannon, eric.araujo, georg.brandl, gvanrossum, ncoghlan, pitrou, steve.dower, tshepang, vstinner
Date 2014-08-29.23:00:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409353225.15.0.624990261326.issue17620@psf.upfronthosting.co.za>
In-reply-to
Content
> Why does PyOS_Readline return *char, rather than Python string object?

For historical reasons and now for compatibility: we can't change the hook's signature without breaking obvious applications, obviously.
If necessary, we could add a new hook that would take precedence over the old one if defined. Feel free to post a patch for that.
History
Date User Action Args
2014-08-29 23:00:25pitrousetrecipients: + pitrou, gvanrossum, brett.cannon, georg.brandl, ncoghlan, vstinner, benjamin.peterson, eric.araujo, tshepang, Drekin, steve.dower
2014-08-29 23:00:25pitrousetmessageid: <1409353225.15.0.624990261326.issue17620@psf.upfronthosting.co.za>
2014-08-29 23:00:25pitroulinkissue17620 messages
2014-08-29 23:00:25pitroucreate