Message197791
For 2.6 I'll make a revised version of Giampaolo's patch that doesn't add a new exception class.
Rationale: Adding a new exception class changes the API of the module, which we'd like to avoid. If someone is writing 2.6 code that wants to catch this exception, they can't write "except ftplib.LineTooLong" because the name isn't present. Instead they'll have to catch the parent Error exception class and analyze either its type or the exception message. My conclusion is that adding the new class isn't actually useful.
(bwarsaw and I are at a mini-sprint looking at the 2.6.9 blockers, so we're looking at all of these 'unlimited readline' issues and will continue to remove new exceptions introduced by patches.) |
|
Date |
User |
Action |
Args |
2013-09-15 16:50:46 | akuchling | set | recipients:
+ akuchling, barry, georg.brandl, pitrou, larry, giampaolo.rodola, christian.heimes, benjamin.peterson, Arfrever, neologix, serhiy.storchaka, inc0 |
2013-09-15 16:50:46 | akuchling | set | messageid: <1379263846.14.0.90829030563.issue16038@psf.upfronthosting.co.za> |
2013-09-15 16:50:46 | akuchling | link | issue16038 messages |
2013-09-15 16:50:45 | akuchling | create | |
|