[Twisted-Python] Fw: patch for policy stuff/test and example

Itamar Shtull-Trauring twisted at itamarst.org
Mon Sep 30 09:56:28 EDT 2002


Attached is sjj's suggestion for factory policies. Glyph wants to do something
different, namely:

http://zelda.twistedmatrix.com/connlimit.py.txt

-------------------------------------------------------------------------------
Begin forwarded message:

Date: Mon, 30 Sep 2002 16:00:48 +1000 (EST)
From: Sam Jordan <sam at twistedmatrix.com>
To: twisted at itamarst.org
Subject: patch for policy stuff/test and example


Hi,

Here is the patch (created via cvs diff -u > policy.patch).
I just noticed that the comment for 'verify' notes the tuple for addr is 
(type, host, port) but it may just be (host, port) i'll fix this comment after 
commit.

Feel free to discuss any problems you have with it.

Cheers,

Sam.

-- 
#python quote of the century:
<glyph> h3x: so... you're a professional extortionist?
<h3x> pretty much
<glyph> h3x: do you offer professional apprenticeships?
<h3x> i should
<dash> glyph: gah, you beat me to it

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: policy.patch
Url: http://twistedmatrix.com/pipermail/twisted-python/attachments/20020930/0e95b314/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: policy_example.py
Url: http://twistedmatrix.com/pipermail/twisted-python/attachments/20020930/0e95b314/attachment-0001.txt 


More information about the Twisted-Python mailing list