[issue24529] Same MemoryError object gets thrown from different places.

2015-06-29 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue24529] Same MemoryError object gets thrown from different places.

2015-06-29 Thread R. David Murray
R. David Murray added the comment: If the same memory exception object were not used, we'd have to allocate memory for the new one... -- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue24529] Same MemoryError object gets thrown from different places.

2015-06-29 Thread SylvainDe
New submission from SylvainDe: Disclaimer: This is very minor, impacts only Python 2 and is maybe not even a bug. Context: I was "randomly" changing attribute of Exception objects when I discovered something I did not expect : sometimes when an exception occurs, a new object is raised (which