Ned Deily added the comment: Using Serhiy's suggestion, here are patches for 2.7/3.3 and default that condition the hook function signatures. With these patches, all three branches compile without warnings and pass test_readline using OS X libedit, readline 6.3-rc2, and an older readline.
---------- resolution: fixed -> stage: committed/rejected -> patch review status: closed -> open Added file: http://bugs.python.org/file33936/issue20374_no_cast_33.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20374> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com