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 vajrasky
Recipients mtahmed, vajrasky
Date 2013-12-12.09:58:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386842283.29.0.977571518004.issue19956@psf.upfronthosting.co.za>
In-reply-to
Content
FYI, if you change:

setattr(b, 'say', types.MethodType(f.say, b))

to:

setattr(b, 'say', types.MethodType(Foo.say, b))

it will print the source correctly.
History
Date User Action Args
2013-12-12 09:58:03vajraskysetrecipients: + vajrasky, mtahmed
2013-12-12 09:58:03vajraskysetmessageid: <1386842283.29.0.977571518004.issue19956@psf.upfronthosting.co.za>
2013-12-12 09:58:03vajraskylinkissue19956 messages
2013-12-12 09:58:03vajraskycreate