[Twisted-Python] need a name for an endpoint forwarder (twist/twistd plugin)

2017-08-10 Thread Brian Warner
Hey, so I had a need the other day for something like Twisted's built-in "twist portforward" module (which takes a TCP port to listen on, and when someone connects, it proxies that connection to a TCP port on some other host). Except I wanted something more general: portfoward can listen on any end

Re: [Twisted-Python] INCOMPATIBLE CHANGE: removing dependency on PyCrypto

2015-11-01 Thread Brian Warner
On 10/31/15 11:16 PM, Glyph Lefkowitz wrote: > I'm working on a ticket - https://twistedmatrix.com/trac/ticket/7413 - > to eliminate the dependency on PyCrypto. Right now, in that branch, > those objects are Cryptography key objects instead of PyCrypto key > objects. > > It is /possible/ to prese

Re: [Twisted-Python] [RELEASE] Nevow 0.11.1

2014-06-23 Thread Brian Warner
On 6/22/14 5:51 PM, Glyph wrote: >> Oh wow, that is great :) I’m sure Tahoe-lafs will be happy. > > I am surprised they haven't said anything yet, I'm assuming they > haven't noticed ;-) I just closed our ticket[1].. "pip install allmydata-tahoe" now works! Thank you! BTW, the NEWS URL in the N

Re: [Twisted-Python] Using StandardIO and pipes.

2012-08-10 Thread Brian Warner
On 8/9/12 10:18 PM, Glyph wrote: > > The issue is that twisted.internet.stdio considers your protocol to > only know about one kind of connection loss: i.e. that your entire > transport has gone away. So, when the input is closed, the output file > descriptor is immediately closed as well. > > Un

[Twisted-Python] ANN: Foolscap-0.6.4 released

2012-06-19 Thread Brian Warner
Just a brief note, I released Foolscap-0.6.4 tonight. This contains a handful of small bugfixes and cleanups, gathered over the last 5 months. The most significant change was that the "git-foolscap" tools were cleaned up. These live in doc/examples/ , and let you configure remote access to your G

Re: [Twisted-Python] the good, the log, and the ugly

2012-03-31 Thread Brian Warner
On 3/30/12 5:49 PM, Glyph wrote: >> http://foolscap.lothar.com/docs/logging.html has details. > > Indeed, Foolscap has informed many of my future wishes for Twisted > logging, especially its incident reporting and logport features. (I > wasn't aware of UMIDs but I have independently invented the

Re: [Twisted-Python] the good, the log, and the ugly

2012-03-30 Thread Brian Warner
On 3/25/12 7:11 PM, Glyph wrote: > I'm going to try to get started on record my desired behavior for > logging as tickets soon though, so Twisted can at least have some really > good logging tools /eventually/. While you're thinking about this space, I'll plug the logging tools I built into Foo

[Twisted-Python] ANN: Foolscap-0.6.2 released

2011-10-15 Thread Brian Warner
I'm pleased to announce the release of Foolscap-0.6.2, available from PyPi[1], the Foolscap home page[2], and fine retail establishments everywhere. Foolscap is a remote object-messaging system, built on top of Twisted and OpenSSL. It behaves very similar to Perspective Broker, but add

Re: [Twisted-Python] ANNOUNCING Tahoe, the Least-Authority File System, v1.7.0

2010-06-24 Thread Brian Warner
On 6/22/10 10:35 AM, Peter Westlake wrote: > I downloaded it and typed "python setup.py build", and it went off and > started building a copy of Twisted 10.0! Will that be installed on my > system, or will it only affect the Tahoe build? Using "setup.py build" should not affect anything outside

Re: [Twisted-Python] Seeking advice: Coping with heavy log file loads

2010-04-10 Thread Brian Warner
You might find the logging infrastructure in Foolscap interesting: http://foolscap.lothar.com/docs/logging.html The basic idea is to record log events only in memory, in separate circular buffers for each priority level. When something "weird" happens, all the events are bundled into an "Inciden

Re: [Twisted-Python] PyCon 2010 Twisted Sprint

2010-02-01 Thread Brian Warner
I'll be there until wednesday afternoon. -Brian ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] [ANN] Foolscap-0.5.0 released

2010-01-19 Thread Brian Warner
I'm pleased to announce the release of Foolscap-0.5.0 . This is a fairly minor release: the biggest difference from the previous 0.4.2 is a change to the preferred main entry point: application code should use e.g. "from foolscap.api import Tub" instead of "from foolscap import Tub". A Deprecation

Re: [Twisted-Python] A pseudo-deferred class that can be canceled

2010-01-07 Thread Brian Warner
Terry Jones wrote: > After I went to bed I realized that someone is immediately going to > want to have a cancel function that returns a deferred. And what > happens if something goes wrong in a cancel function? FWIW, the way I've dealt with these sorts of things (in Tahoe, at least) has been to

Re: [Twisted-Python] order of remote requests

2009-12-30 Thread Brian Warner
Andrew Bennetts wrote: > So it is impossible for the internet to route the messages such that B > will arrive before A. > > Neither PB nor TCP guarantee anything about when the recipient > “processes” those messages though, just that they will arrive in the > order they were sent. For example co

[Twisted-Python] [ANN] Foolscap-0.4.2 released

2009-06-23 Thread Brian Warner
I've recently released Foolscap-0.4.2 (and noticed that I hadn't sent out a release announcement since 0.2.8 over a year ago, despite there being 2 major and 4 minor releases in that time. my bad). The home page is http://foolscap.lothar.com/trac . Download this release from PyPI, or from http://f