Commit e674941
Google Code Issue 215: Properly detect seekable streams
Removes the hack that tests for sys.stdin to determine if the stream
is seekable (it has tell() and seek() but it is not seekable) by
actually calling tell() and seek().
This also removes the wrapping in HTMLUnicodeInputStream, where we
do not need the ability to seek.1 parent 52c37b6 commit e674941
1 file changed
+3
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | 204 | | |
212 | 205 | | |
213 | 206 | | |
| |||
437 | 430 | | |
438 | 431 | | |
439 | 432 | | |
440 | | - | |
441 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
442 | 436 | | |
443 | 437 | | |
444 | 438 | | |
| |||
0 commit comments