A.M. Kuchling added the comment:

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.)

----------
nosy: +akuchling

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16038>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to