Martin Panter added the comment:

This patch builds on Serhiy’s, and also fixes compile(), eval() and exec().

Also, I took the liberty of converting your assertRaises() calls to 
assertRaisesRegex() with context managers. I find this is a good general 
practice, to avoid hiding an accidental exception.

----------
Added file: http://bugs.python.org/file40943/unterminated-buffer.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24802>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to