Message226309
I'm a little confused about this patch. Please correct me if I'm wrong, but fp.readline([size + 1]) should return a line of length at most size + 1. This means that the check len(line) > size will always be true when reading a line that has a length greater than self.maxline. Also, wouldn't it make more sense to have the line that logs stuff in debugging mode be before raising a LineTooLong exception ? This way you have the option of actually seeing the line. |
|
| Date |
User |
Action |
Args |
| 2014-09-03 12:20:28 | raduv | set | recipients:
+ raduv, barry, akuchling, georg.brandl, josiahcarlson, pitrou, larry, giampaolo.rodola, christian.heimes, benjamin.peterson, stutzbach, Arfrever, neologix, python-dev, serhiy.storchaka, inc0 |
| 2014-09-03 12:20:28 | raduv | set | messageid: <1409746828.37.0.79369226968.issue16038@psf.upfronthosting.co.za> |
| 2014-09-03 12:20:28 | raduv | link | issue16038 messages |
| 2014-09-03 12:20:28 | raduv | create | |
|