Message209288
I removed the incorrect * comment.
Attached is a 2.7 port of the 3.3 patch. It turns out that textwrap.TextWrap in 2.7 is an old-style class. Such did not work previously because they do not have .__call__ and failed the hasattr() check, now a try:except check. In 2.7, callable(old) == True, so there must be an explicit type check. I added one in the patch. |
|
Date |
User |
Action |
Args |
2014-01-26 08:14:42 | terry.reedy | set | recipients:
+ terry.reedy, serhiy.storchaka |
2014-01-26 08:14:42 | terry.reedy | set | messageid: <1390724082.11.0.319154920092.issue20338@psf.upfronthosting.co.za> |
2014-01-26 08:14:42 | terry.reedy | link | issue20338 messages |
2014-01-26 08:14:41 | terry.reedy | create | |
|