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 alexandre.vassalotti
Recipients alexandre.vassalotti, pitrou
Date 2009-06-09.20:08:32
SpamBayes Score 2.7126625e-05
Marked as misclassified No
Message-id <1244578115.28.0.529360186545.issue6242@psf.upfronthosting.co.za>
In-reply-to
Content
> Why do you need all this? Isn't it enough to take a weakref and check
> the callback is triggered?

No, because you would need a weak reference to the instance's __dict__,
which is unavailable for io.StringIO.

Anyway, here's a simplified patch without the fun experimental code. :-)
History
Date User Action Args
2009-06-09 20:08:35alexandre.vassalottisetrecipients: + alexandre.vassalotti, pitrou
2009-06-09 20:08:35alexandre.vassalottisetmessageid: <1244578115.28.0.529360186545.issue6242@psf.upfronthosting.co.za>
2009-06-09 20:08:33alexandre.vassalottilinkissue6242 messages
2009-06-09 20:08:33alexandre.vassalotticreate