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 taleinat
Recipients gvanrossum, kbk, taleinat
Date 2007-10-23.13:49:32
SpamBayes Score 0.05850997
Marked as misclassified No
Message-id <1193147373.99.0.943550571281.issue1253@psf.upfronthosting.co.za>
In-reply-to
Content
The change required for Squeezer and ShellLogger is the separation of
the Tk Text specific logic into a subclass, which makes Percolator a
generally useful class. Along with the simple patch to Delegator.py
which allows delegation to callables, this change allows one to replace
a method with a Percolator instance.

I want to do this for EditorWindow.write, since both Squeezer and
ShellLogger need to hook onto this call somehow. Furthermore,
ShellLogger must catch this call before Squeezer does, since Squeezer
may change the output, but the original output should pass through
ShellLogger first.

Since there is no way to control the order in which extensions are
loaded, this constraint must be enforced by the extensions themselves.
Using the patched Percolator is the simplest way I could come up with to
support this. (IMHO adding a constraint solver for extensions at this
point would be overkill.)
History
Date User Action Args
2007-10-23 13:49:34taleinatsetspambayes_score: 0.05851 -> 0.05850997
recipients: + taleinat, gvanrossum, kbk
2007-10-23 13:49:34taleinatsetspambayes_score: 0.05851 -> 0.05851
messageid: <1193147373.99.0.943550571281.issue1253@psf.upfronthosting.co.za>
2007-10-23 13:49:33taleinatlinkissue1253 messages
2007-10-23 13:49:32taleinatcreate