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 serhiy.storchaka
Recipients Arfrever, benjamin.peterson, georg.brandl, jhl, larry, ned.deily, python-dev, serhiy.storchaka
Date 2014-01-25.18:29:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390674578.2.0.972731443445.issue20374@psf.upfronthosting.co.za>
In-reply-to
Content
I'm surprised that warnings are emitted at lines 939 and 941, but not 944.

I think that instead type casting, the more robust way is to change hook functions signatures for on_startup_hook and on_pre_input_hook.

static int
#ifdef _RL_FUNCTION_TYPEDEF /* or may be test libedit macro? */
on_startup_hook(void)
#else
on_startup_hook()
#endif
History
Date User Action Args
2014-01-25 18:29:38serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, larry, benjamin.peterson, ned.deily, Arfrever, python-dev, jhl
2014-01-25 18:29:38serhiy.storchakasetmessageid: <1390674578.2.0.972731443445.issue20374@psf.upfronthosting.co.za>
2014-01-25 18:29:38serhiy.storchakalinkissue20374 messages
2014-01-25 18:29:38serhiy.storchakacreate