Message174495
| Author |
ctheune |
| Recipients |
benjamin.peterson, christian.heimes, ctheune, gvanrossum, hynek |
| Date |
2012年11月02日.08:47:23 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1351846043.76.0.600624827728.issue16381@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I pondered PyErr_NoMemory as well. However, I noticed not all locations in Python use PyErr_NoMemory to raise a MemoryError, and I'm also afraid that external libraries will have the same problem.
Can you explain why you consider PyErr_NoMemory to be the better option? (I can think of performance but I wouldn't want to trade it in against reliability.) |
|