Message216083
I was going to say we should consider changing the API of _PyBytes_Resize() and _PyString_Resize(). However, having looked at the two functions, I guess it makes sense.
Looking at the patch, I'd argue that we still need to set the string to NULL in the error case. Only in the out-of-memory case do the two functions change it to NULL for you. |
|
Date |
User |
Action |
Args |
2014-04-14 14:39:36 | eric.snow | set | recipients:
+ eric.snow, kristjan.jonsson, vstinner, asvetlov, serhiy.storchaka, qualab |
2014-04-14 14:39:36 | eric.snow | set | messageid: <1397486376.07.0.683416666611.issue20434@psf.upfronthosting.co.za> |
2014-04-14 14:39:36 | eric.snow | link | issue20434 messages |
2014-04-14 14:39:35 | eric.snow | create | |
|