Message116197
If i follow the logic in read1() correctly it will do that only for files with very low compression ratios (the original sample where i noticed that problem was actually a chunk of encrypted data inside the zip).
From the comments referring to "with at most one read() system call" I would also assume it's OS-specific.
Anyway, I've attached a small file that reproduces this behavior on my system (win xp 32bit). When i run it i get "AssertionError: Read returned 4097 bytes (4096 requested)" |
|
Date |
User |
Action |
Args |
2010-09-12 14:03:35 | Black.Dew | set | recipients:
+ Black.Dew, pitrou |
2010-09-12 14:03:35 | Black.Dew | set | messageid: <1284300215.66.0.0513376204994.issue9837@psf.upfronthosting.co.za> |
2010-09-12 14:03:34 | Black.Dew | link | issue9837 messages |
2010-09-12 14:03:34 | Black.Dew | create | |
|