[Python-Dev] _PyString_Resize (original) (raw)
Neil Hodgson nhodgson@bigpond.net.au
Sun, 28 Apr 2002 08:09:13 +1000
- Previous message: [Python-Dev] _PyString_Resize
- Next message: [Python-Dev] _PyString_Resize
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tim Peters:
The error is that if PyStringResize runs out of memory, it automatically decrefs the input string object s ...
Do you have a good way to test out-of-memory handling with either reproducible or random failures? Some of the time I'm conscientious about this and at other times not. Without being able to simulate memory exhaustion the handling code never gets tested and so will be full of bugs.
Neil
- Previous message: [Python-Dev] _PyString_Resize
- Next message: [Python-Dev] _PyString_Resize
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]