[Python-checkins] r80742 - python/trunk/Modules/readline.c
Victor Stinner
victor.stinner at haypocalc.com
Wed May 5 00:17:42 CEST 2010
Le mardi 04 mai 2010 22:03:36, vous avez écrit :
> > On my version of readline (6.1), HIST_ENTRY has no const field:
> > (...)
> > Is it different in your version of readline?
>
> I'm on OS X, so I think I might be linking against libedit. Either way the
> cast shouldn't harm anything as the char* pointer contents are not modified
> in any way by the function. Is the cast triggering a compiler warning for
> you?
Oh no, the compiler doesn't complain. I just asked because my HIST_ENTRY was
different than yours.
Your commit shouldn't harm anything, it's ok.
--
Victor Stinner
http://www.haypocalc.com/
More information about the Python-checkins
mailing list