[issue10863] zlib.compress() fails with string

2011-01-08 Thread Jose-Luis Fernandez-Barros
Jose-Luis Fernandez-Barros jlfbar...@gmail.com added the comment: Thanks for your answer. Error remains at development The Python Standard Library, secction 12. Data Compression and Archiving http://docs.python.org/dev/py3k/library/zlib.html#module-zlib zlib.compress(string[, level

[issue10863] zlib.compress() fails with string

2011-01-07 Thread Jose-Luis Fernandez-Barros
New submission from Jose-Luis Fernandez-Barros jlfbar...@gmail.com: On The Python Tutorial, section 10.9. Data Compression http://docs.python.org/py3k/tutorial/stdlib.html#data-compression import zlib s = 'witch which has which witches wrist watch' ... t = zlib.compress(s) Traceback (most