[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace
New submission from Valentine Gogichashvili val...@gmail.com: When the process is dying with the exception trace dump, I am getting the following notification from the destructor of the OrderedDict class:: Exception AttributeError: 'NoneType' object has no attribute 'print_exc' in bound method OrderedDict.__del__ of OrderedDict([('key', 'value')]) ignored In the source of the OrderedDict the only operation that is not included in the try..catch is the dict.clear(self) actually. So I suppose that this problem is in dict.clear() implementation... -- components: Library (Lib), Windows messages: 113096 nosy: valgog priority: normal severity: normal status: open title: OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9534 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9534 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Do you have a short script that can reproduce the error message? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9534 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace
Valentine Gogichashvili val...@gmail.com added the comment: Unfortunately I do not have a short script. It is happening during the failure in quite a big script. I am afraid, it will too time consuming for me to write it... Actually by the content of the OrderdDict instance that is throwing this exception it seems like it is the one, that is used by ConfigParser internally. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9534 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: There's not enough information here for me to follow-up. It's unlikely that dict.clear() would product the message you see and the existing code for OrderedDict.__del__ and OrderedDict.clear() look correct to me. The bug may be in your own code. -- priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9534 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9534] OrderedDict.__del__ destructor throws AttributeError when process ends up with the exception trace
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: None of the other python-dev IRC folks were able to deduce the issue from the provided information. Closing as invalid. Feel free to reopen if more actionable information becomes available. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9534 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com