[issue4346] PyObject_CallMethod changes the exception message already set by PyObject_GetAttr
Roundup Robot added the comment: New changeset aa4b4487c7ad by Benjamin Peterson in branch '2.7': don't overwrite the error from PyObject_GetAttrString (closes #4346) http://hg.python.org/cpython/rev/aa4b4487c7ad -- nosy: +python-dev resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4346 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4346] PyObject_CallMethod changes the exception message already set by PyObject_GetAttr
Mark Lawrence added the comment: The calls to type_error in the patch that have been added and removed appear to be identical, I don't know if this is by accident or design. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4346 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4346] PyObject_CallMethod changes the exception message already set by PyObject_GetAttr
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +benjamin.peterson -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4346 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4346] PyObject_CallMethod changes the exception message already set by PyObject_GetAttr
Mark Lawrence breamore...@yahoo.co.uk added the comment: The patch changes abstract.c can a C guru take a look please. -- nosy: +BreamoreBoy stage: - patch review type: - behavior versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4346 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4346] PyObject_CallMethod changes the exception message already set by PyObject_GetAttr
New submission from Guilherme Polo [EMAIL PROTECTED]: Why is PyObject_CallMethod resetting the exception message that is already set (if an exception happened, that is) by PyObject_Getattr ? -- components: Interpreter Core files: abstract_dont_re_set_except_msg.diff keywords: patch messages: 76009 nosy: gpolo severity: normal status: open title: PyObject_CallMethod changes the exception message already set by PyObject_GetAttr versions: Python 2.7 Added file: http://bugs.python.org/file12045/abstract_dont_re_set_except_msg.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4346 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com