[issue5804] Add a "tail" argument to zlib.decompress

2009-04-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It is not necessary to test the return value, it is done by > Py_BuildValue(). Sorry, it's ok then. -- ___ Python tracker ___ __

[issue5804] Add a "tail" argument to zlib.decompress

2009-04-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: As usual the patch should come with some unit tests. Also, it seems you don't test the return value of PyString_FromStringAndSize before building your tuple. -- nosy: +pitrou priority: -> normal stage: -> patch review versions: +Python 3.1 __