This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients serhiy.storchaka, terry.reedy
Date 2014-01-26.08:14:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390724082.11.0.319154920092.issue20338@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-01-26 08:14:42terry.reedysetrecipients: + terry.reedy, serhiy.storchaka
2014-01-26 08:14:42terry.reedysetmessageid: <1390724082.11.0.319154920092.issue20338@psf.upfronthosting.co.za>
2014-01-26 08:14:42terry.reedylinkissue20338 messages
2014-01-26 08:14:41terry.reedycreate