Serhiy Storchaka added the comment: I'm attaching a new version of the patch, based on Dave's (from 2.5 years ago). This patch is against the 3.4.
Previous patches contained an error in the message formatting. "buf" variable out of scope before "msg" used. Appending '\0' to the format string isn't guaranteed to NUL-terminate the string. Actually it do nothing (except producing a warning). ---------- nosy: +serhiy.storchaka versions: +Python 3.4 -Python 3.2 Added file: http://bugs.python.org/file27530/syntax-error-hints-3.4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1634034> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com