Re: [Twisted-Python] automat question

2021-03-16 Thread Chris Withers
upon(flip, enter=on_state, outputs=[]) What I'm looking to do is something along the lines of: aSwitch = LightSwitch() aSwitch.flip.addListener(myCallable) myCallable might well be a deferred that something else is waiting on... Chris ___ Twisted-P

Re: [Twisted-Python] automat question

2021-03-15 Thread Chris Withers
On 09/03/2021 18:53, Glyph wrote: On Mar 9, 2021, at 3:18 AM, Chris Withers <mailto:ch...@withers.org>> wrote: I'm not sure we're quite on the same page: I'm not looking to inspect the state, but more be notified when certain edges are traversed. The way you get

Re: [Twisted-Python] automat question

2021-03-09 Thread Chris Withers
UoW, it wants to call either machine.result(...) or machine.error(...) to say what happened, but how do I wire in the front end bit that needs to get called when this happens? cheers, Chris On 07/03/2021 22:34, Glyph wrote: Automat is designed to make this sort of thing intentionally annoy

[Twisted-Python] automat question

2021-03-07 Thread Chris Withers
Hi, Apologies if there's a better list for this, please let me know where... I've grown to like Glyph's automat package a lot, but in a current project, I have observers that need to know when a machine changes state. What's the best way to let those observers k

[Twisted-Python] twisted vs asyncio vs tornado (and other event loops?)

2020-11-23 Thread Chris Withers
into this world... cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] doWrite on twisted.internet.tcp.Port

2020-09-30 Thread chris
. -Chris From: Twisted-Python On Behalf Of ch...@cmsconstruct.com Sent: Saturday, September 12, 2020 12:07 PM To: 'Twisted general discussion' Subject: Re: [Twisted-Python] doWrite on twisted.internet.tcp.Port Hi Jean-Paul, Thank you very much for the detailed answe

Re: [Twisted-Python] doWrite on twisted.internet.tcp.Port

2020-09-12 Thread chris
with, “knowing is half the battle.” -Chris From: Twisted-Python On Behalf Of Jean-Paul Calderone Sent: Friday, September 11, 2020 1:28 PM To: Twisted general discussion Subject: Re: [Twisted-Python] doWrite on twisted.internet.tcp.Port On Fri, Sep 11, 2020 at 1:34 PM mailto:ch

[Twisted-Python] doWrite on twisted.internet.tcp.Port

2020-09-11 Thread chris
Hey guys, Last year I hit a condition discussed in this ticket: https://twistedmatrix.com/trac/ticket/4759 for doWrite called on a twisted.internet.tcp.Port. I ignored it at the time since it was just on Linux, and my main platform was Windows. Now I'm coming back to it. I'll add contex

Re: [Twisted-Python] unified filesystem API

2020-05-15 Thread Chris Withers
On 16/05/2020 07:42, Glyph wrote: On May 15, 2020, at 11:30 PM, Chris Withers <mailto:ch...@withers.org>> wrote: On 16/05/2020 06:55, Glyph wrote: This does point out one of my secret hopes for SMB: that a file server's maintainers will care enough about file throughput that

Re: [Twisted-Python] unified filesystem API

2020-05-15 Thread Chris Withers
enough" to not need async interfaces, but that can really not be the case for networked filesystems (NFS, GPFS, etc) where the blocking time for reading or writing can be seconds (or minutes if it's having a bad day!). What's the Twisted solution for these kinds of things? D

Re: [Twisted-Python] Getting nice logging outputs in py.test

2019-07-04 Thread Chris Withers
res. Poor support in pycharm for trial versus first class support for pytest. That's just off the top of my head, use pytest for a year or two and coming back to trial may well feel the same. cheers, Chris ___ Twisted-Python mailing list Twisted-

Re: [Twisted-Python] Getting nice logging outputs in py.test

2019-07-04 Thread Chris Withers
this as an output to stdout: How are you running the reactor in your pytest suites? I've not found a sane way to do this and so would recommend sticking with trial, crufty and old though it feels... cheers, Chris ___ Twisted-Python mailing

Re: [Twisted-Python] Binary wheels for Twisted on Windows?

2019-06-01 Thread Chris Satterthwaite
URL: https://www.visualstudio.com/vs/community/ 2. Download and run the vs_community file 3. Select "Desktop development with C++" 4. Reboot when finished -Chris From: Twisted-Python On Behalf Of Griatch Art Sent: Tuesday, May 28, 2019 6:04 AM To: twis

Re: [Twisted-Python] finding out what's blocking the reactor

2019-05-15 Thread Chris Withers
On 14/05/2019 16:39, Scott, Barry wrote: On Monday, 13 May 2019 15:26:01 BST Chris Withers wrote: Hi All, On some busy instances of the app I'm working with/on, we see websocket connections being dropped due to not ping/ponging in time, I'm fairly sure this is as a result of some us

Re: [Twisted-Python] finding out what's blocking the reactor

2019-05-15 Thread Chris Withers
On 14/05/2019 22:14, Werner Thie wrote: Hi all with periods of seemingly no activity the gc comes to mind. Hmm, gc blocking the process is an interesting thought, what evidence would you see with gdb, etc, to show that this was the problem? Chris

[Twisted-Python] finding out what's blocking the reactor

2019-05-13 Thread Chris Withers
the best way to debug a twisted application to find out what's blocking the reactor? cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] ws(s):// urls and host/port duplication in twisted/autobahn code

2019-04-09 Thread Chris Withers
Not sure what you mean by fully qualified? (This isn't necessarily aimed at AutoBahn, seems to be something common in Twisted...) things look only "simple" when leaving out details;) There's never a reasonable excuse for duplicating the same inf

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-04-02 Thread Chris Withers
utoBahn, seems to be something common in Twisted...) Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-04-01 Thread Chris Withers
utobahn_websocket_client.py for example. I do still have writing docs for carly on my list of things to do. It would be great if Twisted ever had a real testing reactor, but I think we all know that's never going to happen ;-) Besides, it's actually useful to test with real network

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-26 Thread Chris Satterthwaite
Hi Chris, The print and sleep statements are just my efforts at converting something big down to something small for a test case. In the actual client I'm using twisted.logger for FilteringLogObserver's and Logger's. The looping call for system health was also a shorted ve

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-26 Thread Chris Withers
On 22/03/2019 23:26, Chris Satterthwaite wrote: Hi Chris, The files I attached (with the full classes) made it through to my email, but I wondered if they would they go through to everyone. Here's a gist with the same scripts: https://gist.github.com/codingadv

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-26 Thread Chris Withers
going with ReconnectingClientFactory because it works and didn't look like it'd need much effort to integrated into an existing code base. cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-22 Thread Chris Satterthwaite
Hi Sean, Thanks for the suggestion; I’ll take a look. -Chris From: Twisted-Python On Behalf Of Sean DiZazzo Sent: Friday, March 22, 2019 3:09 PM To: Twisted general discussion Subject: Re: [Twisted-Python] stop/start client connections with loseConnection in

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-22 Thread Chris Satterthwaite
Hi Chris, The files I attached (with the full classes) made it through to my email, but I wondered if they would they go through to everyone. Here's a gist with the same scripts: https://gist.github.com/codingadvocate/f732da79ddf6cef4b7a0b6b3679f519f And yep, as you mentioned, a '

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-22 Thread Chris Withers
On 22/03/2019 17:08, Chris Satterthwaite wrote:     def clientConnectionLost(self, connector, reason): Without the rest of your class, it's difficult to see some of the potential problems... Could you put it on a gist somewhere?    

[Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-22 Thread Chris Satterthwaite
workaround). I've cut out several thousand lines to get down to something simple for the example test scripts, but I know the client is still a little long. Again, I'm not sure if attachments work on the mailing list, but I'll attempt to attach the client/server

Re: [Twisted-Python] ANN: Eliot 1.7, the causal logging library, now with inlineCallbacks support

2019-03-22 Thread Chris Withers
tools like https://www.jaegertracing.io/? Feels like quite a similar approach to Eliot, and it's be fantastic if Eliot could provide contexts to Jaeger for Twisted applications! cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twisted

Re: [Twisted-Python] giving a reason when adding a timeout

2019-03-13 Thread Chris Withers
rom the API, feel free to send a pull request in GitHub. What's the likely turn around time from me submitting a PR to when it ends up in a released version of Twisted that I can use? Chris ___ Twisted-Python mailing list Twisted-Python@twistedm

[Twisted-Python] giving a reason when adding a timeout

2019-03-13 Thread Chris Withers
de some context about the timeout? Am I missing something obvious here? Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] a farewell to buildbot

2019-03-03 Thread Chris Withers
What do you make of CircleCI? On 03/03/2019 06:45, Amber Brown wrote: I have been switching matrix.org to Buildkite's open source offering (where you bring your own builders). It might be an option for things like codespeed, which we still

[Twisted-Python] http://twistedmatrix.com/ down?

2019-02-25 Thread Chris Withers
Looks to be... Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] why can't a callback be called with a deferred?

2019-02-20 Thread Chris Withers
#x27;s no always true. Anyway, I'm happy with the API I have now, and it neatly works around that assert, so ¯\_(ツ)_/¯. Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] why can't a callback be called with a deferred?

2019-02-20 Thread Chris Withers
if unusual, and that assert trips it up. cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] why can't a callback be called with a deferred?

2019-02-19 Thread Chris Withers
e simulate # async state manipulation. # now I want to make sure the deferred chain on the onMessage result has been completed: yield result cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-b

[Twisted-Python] why can't a callback be called with a deferred?

2019-02-19 Thread Chris Withers
without any context of what problem lead him to introduce the change. Of course, I can work around it, was more curious than anything... Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mail

Re: [Twisted-Python] code coverage when code executed in a twisted worker thread

2018-12-03 Thread Chris Withers
On 01/12/2018 16:09, Kyle Altendorf wrote: On November 29, 2018 8:10:41 AM EST, Chris Withers wrote: I've noticed that code coverage doesn't appear to be recorded when code is executed in something that has been deferToThread'ed. Is this a known issue? Does anyone have

[Twisted-Python] code coverage when code executed in a twisted worker thread

2018-11-29 Thread Chris Withers
Hi All, I've noticed that code coverage doesn't appear to be recorded when code is executed in something that has been deferToThread'ed. Is this a known issue? Does anyone have an explanation? cheers, Chris ___ Twisted-Python maili

Re: [Twisted-Python] leakage between tests with trial when code under test uses deferToThread

2018-11-26 Thread Chris Withers
Forgot to include the list in my reply... On 23/11/2018 22:27, Chris Withers wrote: On 23/11/2018 22:22, Glyph wrote: On Nov 23, 2018, at 7:58 AM, Chris Withers wrote: Hi All, Does trial do anything to clean up stuff that's been passed to deferToThread? Nope.  It does its be

[Twisted-Python] leakage between tests with trial when code under test uses deferToThread

2018-11-23 Thread Chris Withers
t ring any bells? cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Thread Consumption Problem in Daemon?

2018-11-22 Thread Chris Withers
this are not common.  However, anything is possible: you probably want to gather some information about what all those threads are doing. Some ideas on this front: - pstree/ps and strace will tell you at a low level - http://pyrasite.com/ and then use Python's thread introspection stu

[Twisted-Python] carly: a tool for testing twisted protocols with real networking

2018-11-16 Thread Chris Withers
Very interested in peoples thoughts, and especially if you can spot any bugs in these two: https://github.com/cjw296/carly/blob/master/carly/hook.py https://github.com/cjw296/carly/blob/master/carly/context.py Thanks for all the help so far, it's certainly helping me get my head around this

Re: [Twisted-Python] "disconnecting properly" in tests still hangs on macOS

2018-11-16 Thread Chris Withers
On 14/11/2018 13:41, exvito here wrote: Chris, I played with this for a bit and quickly reproduced the "server side disconnect never seems to happen" behaviour you described, on my system running macOS 10.12.6 and Twisted 18.9.0 using the SelectReactor. Suspecting of an eve

[Twisted-Python] "disconnecting properly" in tests still hangs on macOS

2018-11-14 Thread Chris Withers
27;s the best way to go about debugging a non-firing deferred like this? Anyone know what this might be? cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] pytest-twisted questions

2018-11-13 Thread Chris Withers
ed mailing list, as that's probably the right place for this) On 2018-11-13 12:35, Chris Withers wrote: - What's the intention of the plugin? Should all tests still subclass twisted.trial.unittest.TestCase or should they *never* do so if using this plugin? I don't know what _s

[Twisted-Python] probably stupid question about automated testing and reactor.run

2018-11-07 Thread Chris Withers
sting? cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] "blocking" on a response to a client

2018-11-06 Thread Chris Withers
and disappointed at the lack of examples of good tests for these things. Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] "blocking" on a response to a client

2018-11-06 Thread Chris Withers
On 05/11/2018 18:32, meejah wrote: Chris Withers writes: So, separate question: I have a client that's making a connection to a websocket from a server. The client needs to send an "auth" message once the websocket is up, and the client code shouldn't progress until it rec

Re: [Twisted-Python] automated tests for a server application

2018-11-06 Thread Chris Withers
to see examples of all of this... Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] "blocking" on a response to a client

2018-11-05 Thread Chris Withers
to write automated tests for all of the above? cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] automated tests for a server application

2018-11-05 Thread Chris Withers
d of situation? I'm using pytest and would happily use pytest-twisted too. Not keen to use trial... Any help is good help, pointers to nice existing examples would be fantastic! cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twi

[Twisted-Python] Forcing Twisted / Klein to use HTTPS

2017-08-30 Thread Chris Norman
lobal way to enforce HTTPS with any part of Klein or Twisted? Cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Beginner

2017-04-12 Thread Chris Norman
On 12/04/2017 14:41, Jean-Paul Calderone wrote: On Wed, Apr 12, 2017 at 9:37 AM, Chris Norman mailto:chris.norm...@googlemail.com>> wrote: On 12/04/2017 14:21, catch me wrote: Hey! I don't know I should ask this question or not but as a beginner I have to ask.

Re: [Twisted-Python] Beginner

2017-04-12 Thread Chris Norman
On 12/04/2017 14:21, catch me wrote: Hey! I don't know I should ask this question or not but as a beginner I have to ask. I have just started learn python network programming and fortunately found such an amazing Twisted Framework. Welcome! Glad you found Twisted, it really is awesome! As

Re: [Twisted-Python] in case there's downtime

2017-03-25 Thread Chris Norman
Hi, What needs taking over on the mailing list side? I'd love to help out if possible. Cheers, On 25/03/2017 04:14, Glyph Lefkowitz wrote: We've been very conservative about upgrading our operating system on twistedmatrix.com , since we don't want to disrupt anyt

Re: [Twisted-Python] INCOMPATIBLE CHANGE: twisted.python.dist renamed to twisted.python._setup

2016-08-07 Thread Chris Wolfe
> then we save ourselves that work in future by doing a trivial amount of > work now. > ___ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > -- - Chris

Re: [Twisted-Python] Problem with Deferreds

2016-04-02 Thread Chris Norman
Hi, Yes, that sorted the problem out no worries. Thank you so much. On 02/04/2016 15:00, Kevin Conway wrote: Hi Chris, tl;dr: Returning a value from 'dataReceived', or any of its extensions such as 'lineReceived' in the 'LineReceiver' Protocol subclass, trig

[Twisted-Python] Problem with Deferreds

2016-04-02 Thread Chris Norman
sted/internet/posixbase.py", line 258, in _disconnectSelectable selectable.connectionLost(failure.Failure(why)) File "/usr/local/lib/python3.5/site-packages/Twisted-16.0.0-py3.5.egg/twisted/python/failure.py", line 232, in __init__ tb = self.value.__traceback__ builtins.AttributeError: 'Deferred' object has no attribute '__traceback__' Anyone have any ideas? Cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] 16.0.0 32-bit wheels for Windows

2016-03-30 Thread Chris Norman
Hi, On 30/03/2016 19:20, anatoly techtonik wrote: Hi, I am having the same problem as this guy: https://stackoverflow.com/questions/36279141/pip-doesnt-install-twisted-on-windows Absence of 32-bit wheels breaks Python projects that added Twisted>10 as a dependency, for example. Is that intenti

Re: [Twisted-Python] Sending disconnect messages to clients

2016-03-22 Thread Chris Norman
the messages, everything works fine, panic over! Thank you for your help with this! On 22/03/2016 20:37, L. Daniel Burr wrote: Hi Chris, On March 22, 2016 at 3:09:08 PM, Chris Norman (chris.norm...@googlemail.com <mailto:chris.norm...@googlemail.com>) wrote: Hi Daniel, [SNIP] Ac

Re: [Twisted-Python] Sending disconnect messages to clients

2016-03-22 Thread Chris Norman
Hi Daniel, On 22/03/2016 19:49, L. Daniel Burr wrote: Hi Chris, On March 22, 2016 at 2:42:14 PM, Chris Norman (chris.norm...@googlemail.com <mailto:chris.norm...@googlemail.com>) wrote: Hi all, I'm sure I asked this question before, but I can't find any answers on google,

[Twisted-Python] Sending disconnect messages to clients

2016-03-22 Thread Chris Norman
Hi all, I'm sure I asked this question before, but I can't find any answers on google, and I've changed my work flow a bit now, so thought it was worth re-asking. So on my server's protocol, I have a send method. This allows me to pass arguments which get sent off to the client in the right f

Re: [Twisted-Python] Twisted serialport

2016-03-10 Thread Chris West
Adi, Thanks for the reply, I've applied the patch and that has sorted out my problem. Many thanks, Chris Date: Wed, 9 Mar 2016 09:59:21 + From: Adi Roiban To: Twisted general discussion Subject: Re: [Twisted-Python] Twisted serialport Message-ID: Content-Type: text/plain; ch

[Twisted-Python] Twisted serialport

2016-03-09 Thread Chris West
serial.hComPort) AttributeError: 'Serial' object has no attribute 'hComPort' I've removed pyserial 3.0.1 from my system for the moment but I was wondering if there is a way to have both pyserial 2.7 and 3.0.1 on my system when using twisted? Thanks, Chris ___

Re: [Twisted-Python] Waiting for transports to close

2015-12-19 Thread Chris Norman
Hello, On 17/12/2015 13:03, Glyph Lefkowitz wrote: On Dec 17, 2015, at 4:56 AM, Chris Norman mailto:chris.norm...@googlemail.com>> wrote: Hi, It's a MUD server, so players type in commands and receive textual responses. One of the admin commands is the ability to shutdown the

Re: [Twisted-Python] Waiting for transports to close

2015-12-17 Thread Chris Norman
r shutdown, so they're not rudely disconnected, then once the notifications have all gone through, then the server is free to shutdown. I hope all this makes sense. Cheers, On 12/17/2015 11:49 AM, Glyph Lefkowitz wrote: On Dec 16, 2015, at 9:25 AM, Chris Norman mailto:chris.norm...

[Twisted-Python] Waiting for transports to close

2015-12-16 Thread Chris Norman
Hi all, I'm writing a MUD server, and I want a way for transports to be notified ofa shutdown before being disconnected, and the reactor being stopped. I've tried: for t in transports: t.write('Shutting down.\r\n') t.loseConnection() reactor.stop() This doesn't seem to notify the transports

[Twisted-Python] Running Trial [wav]: Re: Possible bug

2015-10-31 Thread Chris Norman
Hi, So I went on the net on the off chance that the info I was looking for was easy to obtain, and I found out about trial. I cloned the git and did: python bin/trial twisted I got the following: Unhandled Error Traceback (most recent call last): File "C:\Users\chris\Dropbox\SRC\tw

Re: [Twisted-Python] Possible bug

2015-10-31 Thread Chris Norman
Hi, I've used git extensively, and I can soon read up on how to contribute on git. So what's the next step? Is there a howto somewhere on the Twisted site? Cheers, On 31/10/2015 07:39, Glyph Lefkowitz wrote: On Oct 30, 2015, at 11:49 PM, Chris Norman mailto:chris.norm...@goog

Re: [Twisted-Python] Possible bug

2015-10-30 Thread Chris Norman
Hi Amber On 31/10/2015 06:45, Amber "Hawkie" Brown wrote: Hi Chris, Twisted does not yet support Python 3 on Windows. That's a shame. I've never contributed to an open source project before, but I'd be glad to try and help out. I feel I __may__ know enough Python

[Twisted-Python] Possible bug

2015-10-30 Thread Chris Norman
Hi all, Using windows 10 with Python 3.5, importing pretty much anything gives me the following error. Not sure if there's something wrong with my configuration or if it's a bug... I seem to remember something a while back, should I file a ticket? Traceback (most recent call last): File ""

Re: [Twisted-Python] revisiting onboarding

2015-10-26 Thread Chris Wolfe
erve on the committee, please reply to this thread and state that you are interested in serving on the committee. Once enough volunteers have signed up, new contributor requests will be sent to the committee's mailing list. Thanks! -- Chris Wolfe

Re: [Twisted-Python] Blacklisting hosts

2015-08-10 Thread Chris Norman
Hello, > On 10 Aug 2015, at 03:32, Glyph wrote: > >> >> On Aug 9, 2015, at 9:07 AM, Cory Benfield > <mailto:c...@lukasa.co.uk>> wrote: >> >> >>> On 8 Aug 2015, at 08:07, Chris Norman >> <mailto:chris.norm...@googlemail.com>

Re: [Twisted-Python] Blacklisting hosts

2015-08-10 Thread Chris Norman
Hello, > On 9 Aug 2015, at 17:07, Cory Benfield wrote: > > >> On 8 Aug 2015, at 08:07, Chris Norman wrote: >> >> Hi all, >> I am using Twisted to make a game server. I want to be able to ban IP >> addresses. Currently I check if the host is

[Twisted-Python] Blacklisting hosts

2015-08-08 Thread Chris Norman
Hi all, I am using Twisted to make a game server. I want to be able to ban IP addresses. Currently I check if the host is in a blacklist, and if it is, call abortConnection on the transport. It works fine, but I'm thinking there should be a better way, to actively refuse the connection in the

Re: [Twisted-Python] revisiting onboarding

2015-05-26 Thread Chris Wolfe
will > forget :). > > -glyph > > P.S.: I've been setting a bad example, but we should generally be > bottom-posting on this list, it makes the conversation easier to follow :). > > On Apr 28, 2015, at 2:54 PM, Chris Wolfe wrote: > > Sure! I can only think of three th

Re: [Twisted-Python] revisiting onboarding

2015-04-28 Thread Chris Wolfe
m and compile a list of people to whom new commit requests should be sent for review. I can't do this. 3. Send an email to the general mailing list once the new pages are up to announce the new advancement path. I can do this. Is there anything I'm missing? - Chris // herrwolfe On Tue,

Re: [Twisted-Python] revisiting onboarding

2015-04-27 Thread Chris Wolfe
Hi, Has this proposal been accepted? Is there anything I can do to help implement it? -Chris On Sun, Feb 8, 2015 at 9:01 AM, Tom Prince wrote: > Glyph Lefkowitz writes: > > > So I have a proposal for a scaled back process that nevertheless would > give us somethi

Re: [Twisted-Python] [Twisted-web] Twisted 15.1 Release Announcement

2015-04-14 Thread Chris Wolfe
Hey Hawkie! I gave Glyph all of the stickers that I had, as I thought he'd come into contact with more Twisted people than I do. As such, you might want ping him to get a hold of one. Thanks for all your hard work! Best, Chris // herrwolfe On Tue, Apr 14, 2015 at 12:28 AM, HawkOwl

Re: [Twisted-Python] Twisted 15.1 feedback

2015-03-21 Thread Chris Wolfe
Jean-Paul, You are correct. No, this is not a regression compared to to 15.0. I missed the words 'resonance cascade'. Thanks, Chris On Sat, Mar 21, 2015 at 11:53 AM, wrote: > On 03:41 pm, chriswwo...@gmail.com wrote: > >> Hawkowl, >> >> The new fun

Re: [Twisted-Python] Twisted 15.1 feedback

2015-03-21 Thread Chris Wolfe
main setup.py file. Thanks! Chris (herrwolfe) On Sat, Mar 21, 2015 at 10:29 AM, HawkOwl wrote: > Hi everyone, > > It's been about two weeks now -- does anyone have any feedback on whether > 15.1 worked/didn't work/caused a resonance cascade? > > If you missed the annou

Re: [Twisted-Python] revisiting onboarding

2015-02-02 Thread Chris
Glyph, I support this idea. I like the fact that it gives a clear goal (5 submitted patches, 5 reviews, and 2 accepted submissions) towards which people interested in committing can work. -Chris (herrwolfe) > On Feb 2, 2015, at 1:18 PM, Glyph Lefkowitz wrote: > > A few months

Re: [Twisted-Python] Call For Participation: a review rally before the race!

2014-10-09 Thread Chris Wolfe
Yes - I have, I'm herrwolfe Am 09.10.2014 18:47 schrieb "Glyph Lefkowitz" : > On Oct 9, 2014, at 4:39 PM, Chris Wolfe wrote: > > Sure - I'm not a committer, but I'll do my best.\ > > Thanks Chris, your participation is much appreciated! > > Now we&#

Re: [Twisted-Python] Call For Participation: a review rally before the race!

2014-10-09 Thread Chris Wolfe
Sure - I'm not a committer, but I'll do my best. Am 09.10.2014 18:21 schrieb "HawkOwl" : > On 10 Oct 2014, at 6:56, Glyph Lefkowitz wrote: > > > On November 1, ClusterHQ is going to be hosting a Twisted sprint in > Boston. > > > > One of the things that tends to put a damper on such events is the

Re: [Twisted-Python] naming question before we end up committed...

2014-09-28 Thread Chris
+1 for twisted.logger. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] git?

2014-03-20 Thread Chris Withers
On 13/03/2014 19:38, Glyph Lefkowitz wrote: On Mar 12, 2014, at 11:53 PM, Chris Withers mailto:ch...@simplistix.co.uk>> wrote: Not to be too contentious, but when do you reckon you guys will switch the main repo to git? Just to be clear about the nature of my other answers: we do not &

Re: [Twisted-Python] git?

2014-03-13 Thread Chris Withers
On 13/03/2014 11:17, HawkOwl wrote: If you want git access, we have that already (both read and write!),\ So, if I hypothetically put in a pull request via GitHub, that would "just work"? Chris -- Simplistix - Content Management, Batch Processing & Python Consulting

Re: [Twisted-Python] git?

2014-03-12 Thread Chris Withers
On 12/03/2014 23:52, Glyph Lefkowitz wrote: On Mar 12, 2014, at 3:43 PM, Christopher Armstrong mailto:ra...@twistedmatrix.com>> wrote: On March 12, 2014 at 5:39:36 PM, Chris Withers (ch...@simplistix.co.uk <mailto:ch...@simplistix.co.uk>) wrote: Hi All, Is there a git mirror of

[Twisted-Python] building offline docs

2014-03-12 Thread Chris Withers
Sorry, more questions... Unfortunately, most of the time I have for learning and research is offline. How can I build the docs for browsing (html) from a subversion checkout? Chris -- Simplistix - Content Management, Batch Processing & Python Consulting -

[Twisted-Python] git?

2014-03-12 Thread Chris Withers
Hi All, Is there a git mirror of the twisted repo anywhere? Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk ___ Twisted-Python mailing list Twisted-Python@twistedmatrix

Re: [Twisted-Python] which async framework?

2014-03-12 Thread Chris Withers
nteresting if I ever hit performance problems... A common criticism of Twisted is that it "takes over" your codebase. I am speaking at PyCon in about a month to demonstrate that that isn't true. (It just looks that way, because once people use it, they don't want to go back...

[Twisted-Python] which async framework?

2014-03-12 Thread Chris Withers
g python implementations. How should I pick between the options? What would people recommend and why? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk __

[Twisted-Python] ping?

2014-03-11 Thread Chris Withers
Sorry, not sure mail is getting through from the list... -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedm

Re: [Twisted-Python] SURVEY: Have you submitted a patch to Twisted and it never got in?

2011-07-01 Thread chris
r continuous community contribution, because IMHO they simply allow for a more developer friendly process for all involved, thus making the whole review process a more friendly and less discouraging thing. Cheers, Chris ___ Twisted-Python mailin

Re: [Twisted-Python] how to write a safe catch-all

2010-10-01 Thread Chris Withers
forsight to do this at the time, and as I've said, the customer has had enough of us causing their ftp server to generate error messages :-S Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] how to write a safe catch-all

2010-10-01 Thread Chris Withers
we've had to bail and now send via sftp using a pexpect-based wrapper around the real sftp command client (we had buggy behaviour with twisted's sftp client elsewhere) I hope this helps, do let me know if I should add it to an issue somewhere... cheers, Chris ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] The Real Error (tm) [was Re: how to write a safe catch-all]

2010-10-01 Thread Chris Withers
On 30/09/2010 18:01, Phil Mayers wrote: > It is more than a little confusing, and I'm sure frustrating. > > I've tried to produce something like this locally, but cannot. The very first message in this thread (28th Sept, 14:48) and my email of 30th Sept, 14:36 both had scripts attached which do e

Re: [Twisted-Python] how to write a safe catch-all

2010-09-30 Thread Chris Withers
nd this is what I'm talking about when I say "I cannot gracefully handle the exception." Reading back, yes, it appears I was mistaken at some stage that my `loop` function was handling the exception, but I do understand now that it was not... which is frustrating... > The Att

Re: [Twisted-Python] The Real Error (tm) [was Re: how to write a safe catch-all]

2010-09-30 Thread Chris Withers
ffect is the same as the real live observed problem, only I can't replicate the real problem without an ftp server that only happens to accept active connections. I don't have one of those around, and *even* if I did, I want to make the scheduler

[Twisted-Python] The Real Error (tm) [was Re: how to write a safe catch-all]

2010-09-30 Thread Chris Withers
R : log (24331|7f2e47b4d6e0): Unhandled Error Traceback (most recent call last): Failure: twisted.protocols.ftp.FTPError: ('Connection Failed', >) I can't quite make sense of the above, which is why I distilled it down to as-small-as-possible a piece of code

Re: [Twisted-Python] how to write a safe catch-all

2010-09-30 Thread Chris Withers
On 30/09/2010 14:39, Jonathan Lange wrote: > On Thu, Sep 30, 2010 at 2:36 PM, Chris Withers wrote: > ... >> >> Is there any way I can get both errbacks *and* exceptions handled nicely in >> my `loop` call? > > You know about defer.maybeDeferred, right? Yep, the prob

  1   2   >