Message129200
What is the problem with Python 3.2? It works correctly here:
$ cat bla.txt
bli
blo
bla
$ gzip bla.txt
$ ./python
Python 3.3a0 (unknown, Feb 23 2011, 13:03:50)
>>> import gzip, io
>>> f = io.TextIOWrapper(gzip.open("bla.txt.gz"),encoding='ascii')
>>> f.read()
'bli\nblo\nbla\n'
If someone added Python 3.2 in the Versions field because of an issue with bz2: please open a new issue instead. |
|
| Date |
User |
Action |
Args |
| 2011-02-23 14:42:59 | vstinner | set | recipients:
+ vstinner, pitrou, eric.araujo, r.david.murray, dabeaz |
| 2011-02-23 14:42:59 | vstinner | set | messageid: <[email protected]> |
| 2011-02-23 14:42:58 | vstinner | link | issue10791 messages |
| 2011-02-23 14:42:58 | vstinner | create | |
|