Re: [Twisted-Python] Ticket #1330 - Socks V5 functionality

2013-11-16 Thread exarkun
On 06:14 pm, dstainton...@gmail.com wrote: Hi, I'd like to help out and write unit tests for the Socks v5 code in this ticket: https://twistedmatrix.com/trac/ticket/1330 Should I write something very similar to this?? :: http://twistedmatrix.com/trac/browser/trunk/twisted/test/test_socks.py My

Re: [Twisted-Python] Bristol (England!) sprint hosted by HybridCluster

2013-11-08 Thread exarkun
On 5 Nov, 10:25 pm, exar...@twistedmatrix.com wrote: Greetings all, I'm pleased to invite you to join Tom Prince (2013 Twisted Fellow), Luke Marsden (founder of HybridCluster), and the HybridCluster team (including myself!) for the first Twisted sprint hosted by HybridCluster! The sprint wi

Re: [Twisted-Python] Bristol (England!) sprint hosted by HybridCluster

2013-11-08 Thread exarkun
On 04:42 pm, jamesbroadh...@gmail.com wrote: Sounds exciting -- there have been some changes to trial that I've been thinking about for a little while, so this would be a great opportunity. Would you mind if I distributed this email farther afield? To python...@python.org for instance (or are

Re: [Twisted-Python] twisted irc client + packet capturing

2013-11-08 Thread exarkun
On 08:50 am, ew...@pw-wspx.org wrote: Hi, I've created a script that would log on to an irc server, while capturing packets. I came across the following link: http://dound.com/2009/09/integrating-twisted-with-a-pcap-based-python- packet-sniffer/ But I'm using pycap (http://pycap.sourceforge

Re: [Twisted-Python] Determine TLS version from within request handler ? (twisted web)

2013-11-06 Thread exarkun
On 11:43 am, rmei...@xs4all.nl wrote: I'm using twisted web for an https connection. At first I start with creating and configuring a ssl.DefaultOpenSSLContextFactory derived class that disables SSLv2 and SSLv3. So (basically we're left with TLS1.0 and up) and forces the use of a single strong

Re: [Twisted-Python] (newbie!) smtp to message object

2013-11-06 Thread exarkun
On 11:35 am, sangiova...@nweb.it wrote: Il 06/11/13 12:09, Stacey Sern ha scritto: Hi, I also tried to figure out how to deliver one copy of a message instead of one for every recipient for a Twisted server tutorial (ticket #3324) which hasn't yet been finalized. Here's the way I went about

[Twisted-Python] Bristol (England!) sprint hosted by HybridCluster

2013-11-05 Thread exarkun
Greetings all, I'm pleased to invite you to join Tom Prince (2013 Twisted Fellow), Luke Marsden (founder of HybridCluster), and the HybridCluster team (including myself!) for the first Twisted sprint hosted by HybridCluster! The sprint will take place on December 7th in central Bristol (exac

Re: [Twisted-Python] Twisted 13.2.0pre1 Testing Feedback

2013-10-27 Thread exarkun
On 25 Oct, 06:38 am, hawk...@atleastfornow.net wrote: Hi everyone, I've yet to hear back from anyone testing the prerelease - if you're able to, please do! Thanks for managing the 13.2 release! I've deployed my Divmod Quotient server on 13.2.0pre1 and it's running fine so far. Jean-Paul

Re: [Twisted-Python] Bytes vs unicode in twisted.python.logfile's python3 porting

2013-10-26 Thread exarkun
On 26 Oct, 09:49 pm, _...@lvh.io wrote: Hi everyone, I'm working on #6749 for porting t.p.logfile to python3. I'm dealing with some test failures, which you can see from the buildbot here: http://buildbot.twistedmatrix.com/builders/python-3.3-tests/builds/1602/steps/shell/logs/stdio I have

Re: [Twisted-Python] epoll keep sharing state between process even after fork.

2013-10-24 Thread exarkun
On 11:19 am, ita...@itamarst.org wrote: On 10/23/2013 12:50 PM, Phil Mayers wrote: This is a multiprocessing bug IMHO. This issue with multiprocessing appears in other places too. E.g. if you're using stdlib logging, child processes will try to rotate the parent process logs. Basically mu

Re: [Twisted-Python] epoll keep sharing state between process even after fork.

2013-10-23 Thread exarkun
On 03:46 pm, grindi...@gmail.com wrote: Hi everybody I a came across a surprising problem when using the epoll based reactor. (ticket here https://twistedmatrix.com/trac/ticket/6796) As you can see on the ticket, the epoll object seems to share some state even after fork. [snip] - Using s

Re: [Twisted-Python] Twisted as a full solution for web hosting [WSGI + other]

2013-10-22 Thread exarkun
On 07:41 am, ores...@orestis.gr wrote: On 21 Οκτ 2013, at 10:32 μ.μ., Glyph wrote: On Oct 20, 2013, at 2:21 AM, Orestis Markou wrote: Hello, Short form of the question: Are people using Twisted to host WSGI applications AND serve static files AND replace celery/redis/other? I'm not per

Re: [Twisted-Python] serial communication - getting started

2013-10-21 Thread exarkun
On 07:42 pm, ltaylor.vo...@gmail.com wrote: On Oct 21, 2013, at 6:57 AM, Robert Voigtländer wrote: Thanks for the fast reply. I don't yet understand your answer. I may have to dig more into Python. On 21 October 2013 13:45, Itamar Turner-Trauring wrote: 3. A reasonable place for the w

Re: [Twisted-Python] AutobahnPython 0.6.3 - WebSocket compression and more

2013-10-06 Thread exarkun
On 6 Oct, 11:02 pm, tobias.oberst...@tavendo.de wrote: Personally, I assume root CA private keys of any CA vendor are owned by the NSA anyway. There's no rule that says you have to use a "root CA" signed certificate for your TLS connections. Sure, in theory, but there are multiple practica

Re: [Twisted-Python] AutobahnPython 0.6.3 - WebSocket compression and more

2013-10-06 Thread exarkun
On 02:51 pm, tobias.oberst...@tavendo.de wrote: .. , since I like compression but I also send credentials over TLS :) IMHO, credentials should never be sent over the wire (be it encrypted or not) and never be stored in plaintext. FWIW, Autobahn provides a challenge-response authentication sc

Re: [Twisted-Python] AutobahnPython 0.6.3 - WebSocket compression and more

2013-10-06 Thread exarkun
On 5 Oct, 02:24 pm, tobias.oberst...@tavendo.de wrote: Hi, AutobahnPython 0.6.3 was just released to PyPi https://pypi.python.org/pypi/autobahn with lots of new features, including _WebSocket compression_, an upcoming extension to the WebSocket protocol. Heya Tobias, Great news! Thanks fo

Re: [Twisted-Python] Help for Twisted + Thread + Message Queue

2013-10-03 Thread exarkun
On 04:57 pm, s.da...@hawai.it wrote: Hi!! I have to write a little python program to manage a serial port radio modem. I have to send some AT commands and read resposes. This is not a problem, twisted examples are enough. ...but I have a situation that makes things complicated: Anytime the

Re: [Twisted-Python] Conch - Why does one piece of code "fail" while another works

2013-10-02 Thread exarkun
On 01:31 pm, don...@stufft.io wrote: On Oct 2, 2013, at 9:20 AM, exar...@twistedmatrix.com wrote: On 01:21 am, don...@stufft.io wrote: I have two pieces of code (see: https://gist.github.com/dstufft/9dc9978dc0af77e82f0c) one "works" (in that it fails verifying the host key like i'd expect) an

Re: [Twisted-Python] Conch - Why does one piece of code "fail" while another works

2013-10-02 Thread exarkun
On 01:21 am, don...@stufft.io wrote: I have two pieces of code (see: https://gist.github.com/dstufft/9dc9978dc0af77e82f0c) one "works" (in that it fails verifying the host key like i'd expect) and one doesn't ("it never tries to verify the host key and just exists immediately). I don't unders

Re: [Twisted-Python] raw socket IWriteDescriptor

2013-10-01 Thread exarkun
On 07:30 am, dstainton...@gmail.com wrote: Hi, I'm trying to implement an IWriteDescriptor using raw sockets. So far this is what I wrote... but it doesn't work: https://github.com/david415/hushTCP/blob/master/hush_writer.py Am I doing something obviously wrong here? I certainly am able to use

Re: [Twisted-Python] Running unit tests without trial?

2013-09-25 Thread exarkun
On 06:15 pm, ro...@uw.edu wrote: Is it possible to run twisted.trial unit tests using python instead of trial, i.e.: "python mytest.py" instead of "trial mytest.py"? Sure. Here's the worst case answer (contents of mytest.py): import os os.system("trial myrealtests.py") By the way, it'

Re: [Twisted-Python] Twisted Sprint Report (2013-09-23)

2013-09-24 Thread exarkun
On 12:07 pm, m-li...@the-moon.net wrote: Twisted Sprint Report (2013-09-23) * Venue PyconUK 2013, Coventry, England * Attendees * Lasse Bromose * Stephen Evans * Holger Kraus * Lukasz Prasol * Christophe Reche * Richard Wall Woo. Hope you guys had fun. Thanks for the report, Richard

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-19 Thread exarkun
On 12:38 pm, p.may...@imperial.ac.uk wrote: On 18/09/13 17:34, exar...@twistedmatrix.com wrote: On 04:08 pm, p.may...@imperial.ac.uk wrote: Don't people miss the symmetry of PB? Not to mention you can be lazy and avoid defining a schema! Or are people using Twisted->Other AMP connections? AM

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread exarkun
On 04:08 pm, p.may...@imperial.ac.uk wrote: On 18/09/13 17:00, bu...@nehbit.net wrote: +1 for AMP. Wow, lots of people using AMP. Maybe I'm missing out on something... Don't people miss the symmetry of PB? Not to mention you can be lazy and avoid defining a schema! Or are people using Twiste

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread exarkun
On 12:03 pm, p.may...@imperial.ac.uk wrote: Is there any support, or any interest in / way to add support for deferred cancellation in pb? Specifically I'd like do have something like: class blah(pb...): def remote_somelongtask(self, args): ... taskid = somefunc() d = defer.Defer

Re: [Twisted-Python] Twisted Names EDNS(0) support [Was Twisted at PyConUK 2013]

2013-09-17 Thread exarkun
On 04:18 pm, m-li...@the-moon.net wrote: [snip] Meanwhile, I'll see if I can help exarkun with the code review checklist. No, not me. :) Ashwini is working on this. Please give her a hand. :) Jean-Paul ___ Twisted-Python mailing list Tw

Re: [Twisted-Python] run python application with twistd -y ifinger.tac, error occurs. please help to check

2013-09-17 Thread exarkun
On 04:10 pm, _...@lvh.io wrote: On Tue, Sep 17, 2013 at 2:14 PM, wrote: I think there are still many unported dependencies of `twistd` to port first. Sure, but every little bit helps, right? :) It doesn't make a lot of sense to me to port things that depend on unported things. The little

Re: [Twisted-Python] Twisted at PyConUK 2013

2013-09-17 Thread exarkun
On 03:34 pm, p.may...@imperial.ac.uk wrote: On 17/09/13 15:29, Richard Wall wrote: PS. I'd love to merge https://tm.tl/5675 before the conference, so if you're familiar with the DNS RFCs, I'd really appreciate a code review. I'm rwall on #twisted-dev and #twisted if you want to discuss it Deep

Re: [Twisted-Python] run python application with twistd -y ifinger.tac, error occurs. please help to check

2013-09-17 Thread exarkun
On 09:06 am, _...@lvh.io wrote: Hi Charles, Yes, twistd doesn't appear to work on py3k. Not being able to import _preamble is normal (once Twisted has been installed), but _preamble does assume sys.exc_clear exists, which isn't true on 3.x. I couldn't find any ticket on this. Perhaps you sho

Re: [Twisted-Python] ftpclient connection lost callback

2013-09-05 Thread exarkun
On 06:48 pm, pe...@peterryan.net wrote: Thanks. So is the idiomatic approach for this with something like the FTPClient to subclass it and override connectionLost? FTPClientBasic clears up queued commands when this happens (which I assume I still want it to do). Is it idiomatic? I don't kn

Re: [Twisted-Python] ftpclient connection lost callback

2013-09-05 Thread exarkun
On 05:49 pm, pe...@peterryan.net wrote: I am writing a simple ftp client which I am trying to dispose of. Right now I send a quit command: (the ftp_client reference is a FTPClient built with a ClientCreator) deferred = ftp_client.quit() And I register a callback: def quitSent(response): pr

Re: [Twisted-Python] Asynchronously reading posted data

2013-09-05 Thread exarkun
On 08:50 am, poal...@gmail.com wrote: Hey, Thanks for your reply! The json data should never be too long so I'm not worried about the memory usage, I need the whole json object to start working anyway realistically - I was more concerned about blocking reading the data from the network - spec

Re: [Twisted-Python] Raising exception from a Deferred canceller.

2013-08-29 Thread exarkun
On 10:18 am, te...@jon.es wrote: Hi Kai [snip] 2b) there is some kind of exception when cancel calls the cancellation function. I don't think 2a) is really an exception situation, so it makes sense, as you say, just to return False from cancel in this case. It's basically the cancel function

Re: [Twisted-Python] Raising exception from a Deferred canceller.

2013-08-29 Thread exarkun
On 09:27 am, kylerzhan...@gmail.com wrote: Hi, As itamar mentioned in ticket #6676 , If a cancellation function for a Deferred throws an exception(the cancel() method of Deferred won’t throw exceptions, but the canceller may), behavior is undefined. If the cancellation func

Re: [Twisted-Python] Interesting plot on new author contributions post-Github for several Python packages

2013-08-27 Thread exarkun
On 09:54 am, _...@lvh.io wrote: IIUC, Tom does most of his contributing through Github. That probably means that it's a well-supported process that has most of the kinks ironed out: after all, if Tom hasn't caught them, I would guess a new contributor probably wouldn't either :-) Or it means

Re: [Twisted-Python] Failure.getTraceback and Unicode

2013-08-26 Thread exarkun
On 04:24 pm, tobias.oberst...@tavendo.de wrote: Hi, The code for "getTraceback" http://twistedmatrix.com/trac/browser/tags/releases/twisted-13.1.0/twisted/python/failure.py#L529 uses a native version of StringIO http://twistedmatrix.com/trac/browser/tags/releases/twisted-13.1.0/twisted/python

Re: [Twisted-Python] cjson/ujson/whatever performance.

2013-08-08 Thread exarkun
Perhaps it's time to move this thread to the PyPy or *json list? Thanks, Jean-Paul ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Multiplexing streams with Conch

2013-08-05 Thread exarkun
On 5 Aug, 09:20 pm, _...@lvh.io wrote: Hi, Sorry, when editing and cutting my post I got rid of something important :-) When you log in, you get greeted by some terminal app, say something written with Urwid or so. In addition to that, on the client, you can start accepting connections on so

Re: [Twisted-Python] TestInternet2.testPickledTimer Failed

2013-08-01 Thread exarkun
On 05:46 am, kylerzhan...@gmail.com wrote: Hi, I'm a Google Summer of Code intern working on "Deferred Cancellation" project. I'm recently working on adding cancellation support to twisted.internet.task.LoopingCall. However, after I added the canceller to LoopingCall.deferred, the twisted.test.

Re: [Twisted-Python] transport.write performance.

2013-07-30 Thread exarkun
On 08:54 am, zipx...@hotmail.com wrote: A simple TCP echo server using epoll reactor:this server process take 60% cpu on 4000 request/s. If use self.transport.getHandle().send instead of self.transport.write,it take 30% cpu on 4000 request/s. Why transport.write take more user cpu?Why twisted p

Re: [Twisted-Python] ugh open-ssl and twisted python

2013-07-27 Thread exarkun
On 04:08 pm, burslem2...@yahoo.com wrote: Hello, This problem has been driving me crazy for a couple of days. I'm hoping someone can shed some light on this. I have a twisted server its using open-ssl (using certificates) and runs on linux and communicates great with a windows client thats se

Re: [Twisted-Python] Trial & the mock library

2013-07-26 Thread exarkun
On 25 Jul, 02:25 pm, jamesbroadh...@gmail.com wrote: Hey all - I've recently started working with the 'mock' library in our trial tests, and am looking for some best-practice advice. I'm really just starting to get used to the library, so it might well have functionality that I'm unaware of

Re: [Twisted-Python] Trial & the mock library

2013-07-25 Thread exarkun
On 08:33 pm, gl...@twistedmatrix.com wrote: On Jul 25, 2013, at 8:40 AM, Jonathan Lange wrote: On Thu, Jul 25, 2013 at 4:14 PM, Laurens Van Houtven <_...@lvh.io> wrote: In addition to what jml said, I wonder if it makes sense for TestCase to raise when the return value of a test method is som

Re: [Twisted-Python] SQL ORM for Twisted & PostgreSQL?

2013-07-25 Thread exarkun
On 24 Jul, 10:43 pm, gl...@twistedmatrix.com wrote: If you just want to see broader testing first, a better solution would be for Hynek to just contribute to the Calendar Server project directly so that there are effectively 2 parties involved rather than 3; for starters, we could have a set

Re: [Twisted-Python] SQL ORM for Twisted & PostgreSQL?

2013-07-24 Thread exarkun
On 05:43 pm, gl...@twistedmatrix.com wrote: On Jul 23, 2013, at 12:12 AM, Hynek Schlawack wrote: What exactly do you mean? Sounds like you’d like it to got straight into Twisted? Wouldn’t it make more sense to release it separately first? You know, kind of http://www.codinghorror.com/blog/2013

[Twisted-Python] adoptStreamConnection (was Re: Setting socket options before connect)

2013-07-20 Thread exarkun
On 01:35 am, ter...@gmail.com wrote: Sorry it is not exactly about the subject, but what is the current API that accepts already connected socket? Some time ago I was looking for such an API without success (probably not very hard though). IReactorSocket.adoptStreamConnection was recently

Re: [Twisted-Python] Setting socket options before connect

2013-07-18 Thread exarkun
On 01:09 pm, p.may...@imperial.ac.uk wrote: On 18/07/13 13:10, exar...@twistedmatrix.com wrote: I prefer the approach taken elsewhere in Twisted, where a particular option is given some consideration and an API that understands the option is introduced. This approach certainly has its shortcomi

Re: [Twisted-Python] Setting socket options before connect

2013-07-18 Thread exarkun
On 10:27 am, p.may...@imperial.ac.uk wrote: On 17/07/13 18:44, Glyph wrote: Anyhow, I think this certainly means a ticket should be filed for introducing some API - but it seems that a little more discussion about what the API should be will still be necessary. Agreed. But then, it's been a c

[Twisted-Python] Passing arguments to protocol instances (was Re: Testing AMP-based code)

2013-07-17 Thread exarkun
On 16 Jul, 07:13 pm, march...@ya.ru wrote: twistedmatrix.com> writes: I think this is thinking in the right direction. Twisted generally tries to be responsible for testing its own code, and the serialization from commands to bytes (and the reverse) that AMP does is part of Twisted, so you s

Re: [Twisted-Python] enable ssl in python application.

2013-07-17 Thread exarkun
On 06:09 am, girish...@gmail.com wrote: I want to enable ssl on port 7081 for my python application I'm using this port for xmlrpc. I have twisted library installed but I'm not getting exactly how to use it's functions to enable ssl. here is my code. Have you read the SSL documentation? See h

Re: [Twisted-Python] Setting socket options before connect

2013-07-15 Thread exarkun
On 01:01 am, gl...@twistedmatrix.com wrote: On Jul 12, 2013, at 5:09 AM, exar...@twistedmatrix.com wrote: On 10:42 am, p.may...@imperial.ac.uk wrote: On 12/07/13 11:34, Itamar Turner-Trauring wrote: Subclass twisted.internet.tcp.Client, override createInternetSocket() so it calls setsockopt(

Re: [Twisted-Python] Setting socket options before connect

2013-07-12 Thread exarkun
On 10:42 am, p.may...@imperial.ac.uk wrote: On 12/07/13 11:34, Itamar Turner-Trauring wrote: Subclass twisted.internet.tcp.Client, override createInternetSocket() so it calls setsockopt() on the socket after you've called base implementation to create it. This breaks some abstraction boundaries

[Twisted-Python] BuildBot problems

2013-07-06 Thread exarkun
Hello all, Unfortunately, baelnorn seems to be having network problems again, leaving a large number of builders currently unable to complete builds Also, the easy_install builders seem to be having problems completing the correct builds. For example, a recent trunk build failed with a webs

Re: [Twisted-Python] Help requested for twisted

2013-07-02 Thread exarkun
On 06:55 pm, ashapatt...@gmail.com wrote: Hi , In my case the rest api url calls looks like this http://example.com/event/user_id=12345 So here how to I implement the agent for me every url has different different user_id's to be passes Please don't post repeatedly. Your first messa

Re: [Twisted-Python] Help requested for twisted

2013-07-01 Thread exarkun
On 08:35 pm, ashapatt...@gmail.com wrote: Hi, I am having a requirement on to send async some 300,000 or more rest api url calls.. Are your HTTP requests all the same server? Or are at least some of the calls to the same server? If so, if you use persistent connections (`twisted.web.cli

Re: [Twisted-Python] baelnorn

2013-06-30 Thread exarkun
On 07:54 am, tom.pri...@ualberta.net wrote: There appears to be some issue with baelnorn, that is causing it to have difficulty connecting via bzr. I'm not sure exactly what is happening. Rather than letting builds fail, I've temporarily shutdown the buildslave there. As baelnorn hosts around

Re: [Twisted-Python] How do you write a setup.py that installs plugins?

2013-06-28 Thread exarkun
On 02:50 pm, _...@lvh.io wrote: Hi, How are you supposed to write a setup.py that installs twistd plugins? See http://stackoverflow.com/questions/7275295 Jean-Paul ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatr

Re: [Twisted-Python] EuroPython Sprint Ideas?

2013-06-27 Thread exarkun
On 27 Jun, 11:12 pm, jamesbroadh...@gmail.com wrote: Hi guys, EuroPython is just around the corner, so I was wondering if there are a few people from this list going, and whether any of you have suggestions for a sprinting session. There are around 60 people with the 'Twisted' tag on the Euro

Re: [Twisted-Python] deferToThread and thrown exceptions break gc - ticket 3853

2013-06-26 Thread exarkun
On 08:15 pm, rut...@osu.edu wrote: I am not sure that that trac issue contains a patch that will fix it. The most recent patch on that trac issue is for twisted 8.1, and it does not apply cleanly to twisted 12.3.0. When I tried to place the 2 lines that form the patch in the most obvious place

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-22 Thread exarkun
On 21 Jun, 11:57 pm, gl...@twistedmatrix.com wrote: So I will save any further words I might write in this thread for narrative documentation for cancellation :). W -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmat

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-21 Thread exarkun
On 03:42 pm, te...@jon.es wrote: Hi JP Thanks for the summary. I agree (and agreed in my first post in this thread) that the CancelledError should (has to) come all the way back. I missed that we were still talking about that. Was there a conclusion on Glyph's suggestion of using subclasses o

[Twisted-Python] Private positional argument API anti-pattern

2013-06-21 Thread exarkun
Hello, I've noticed there are a couple public APIs in Twisted now that accept a "private" positional argument. I use scare quotes because I don't see how it's actually possible to make a positional argument private. Given a function defined like this: def foo(_bar=None): ... Ther

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-21 Thread exarkun
On 10:26 am, te...@jon.es wrote: Hi Tom Since most apis in twisted don't pass a canceller, the behavior is a2+a3. Right. That was the intention (glyph's). It was expected that over time more Twisted apis that create deferreds would add cancellers. As I understand it, Kai Zhang is now adding ca

[Twisted-Python] How hard is it to have log levels, really? was: logging

2013-06-20 Thread exarkun
On 18 Jun, 08:58 pm, ter...@gmail.com wrote: From the practical POV the most welcomed first step in updating the Twisted log system would be introduction of ready made log levels (with an ability to filter on them in observers), fix of logPrefix thing and somewhat extended set of available obse

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-20 Thread exarkun
On 19 Jun, 07:49 pm, tom.pri...@ualberta.net wrote: Well, it already raises `CancelledError`. Every deferred that doesn't have explicitly handle cancelling already does: from twisted.mail import smtp from twisted.python import log d = smtp.sendmail("host", "options.sender", [], "") d.cancel()

Re: [Twisted-Python] logging

2013-06-14 Thread exarkun
On 07:45 pm, ra...@twistedmatrix.com wrote: On Fri, Jun 14, 2013 at 1:41 AM, Jamu Kakar wrote: Hi, On Thu, Jun 13, 2013 at 6:41 PM, Facundo Batista wrote: Mmm... which is the problem with doing: log.msg("Foo happened. Relevant information includes: " "bar=%s baz=%s boz=%s", bar

Re: [Twisted-Python] Testing AMP-based code

2013-06-12 Thread exarkun
On 5 Jun, 07:13 pm, f...@64studio.com wrote: Hi, following up from ticket #6502, I'm looking for recommendations/best practices for writing unit-tests for AMP-based code. As described in the ticket, the issue I'm currently facing is that the AMP implementation is subtly not re-entrant safe and

Re: [Twisted-Python] A bug of the DNSDatagramProtocol

2013-06-07 Thread exarkun
On 03:24 am, z858570...@gmail.com wrote: when i run the code: df = Deferred() name = Name('version.bind') axf = AXFRController(name,df) dns = DNSDatagramProtocol(axf) d = dns.query((ip,53),[Query('version.bind',TXT,CH)]) it raise the error : Traceback (most rece

Re: [Twisted-Python] Twisted on PyPI

2013-06-03 Thread exarkun
On 02:19 am, gl...@twistedmatrix.com wrote: On Jun 1, 2013, at 5:00 AM, exar...@twistedmatrix.com wrote: Well, someone seems to have done so now, though I don't see how to find out who or when from the PyPI user interface. As I said in my message, it was Thomas; if that's ambiguous, I meant T

Re: [Twisted-Python] OSX 10.8 buildslave

2013-06-02 Thread exarkun
On 1 Jun, 10:52 pm, pablojavie...@gmail.com wrote: Hi Tom, What would you need as a replacement? A dedicated Mac OS X workstation? Or a Mac OS X workstation to perform builds occasionally? Build slaves don't need to be dedicated, but they do need to be online 24/7 so that a developer can tri

Re: [Twisted-Python] Twisted on PyPI

2013-06-01 Thread exarkun
On 09:18 am, gl...@twistedmatrix.com wrote: On May 30, 2013, at 5:43 AM, exar...@twistedmatrix.com wrote: On 29 May, 09:24 pm, tom.pri...@ualberta.net wrote: Tom Prince writes: Donald Stufft writes: So I'm emailing you all to warn you about this upcoming change since Twisted is one of the

Re: [Twisted-Python] Twisted on PyPI

2013-05-31 Thread exarkun
On 29 May, 09:24 pm, tom.pri...@ualberta.net wrote: Tom Prince writes: Donald Stufft writes: So I'm emailing you all to warn you about this upcoming change since Twisted is one of the major projects affected and also to see if the Twisted developers would prefer a different rename than Twiste

Re: [Twisted-Python] any progress for Ticket #6346, #6378?

2013-05-24 Thread exarkun
On 04:21 pm, dynami...@gmail.com wrote: >Hi All Hi Gelin, I don't have anything extra to add about the status of those two tickets (I think you meant #6373 rather than #6378, by the way) - which is exactly why I'm replying. Twisted development doesn't take place in secret. The issue tracker

[Twisted-Python] Weekly Bug Summary

2013-05-18 Thread exarkun
, closed by exarkun, worksforme) regression core http://twistedmatrix.com/trac/ticket/6517 = Low = [#6503] Wrong import in web.howto.web-in-60.error-handling.html (opened by introom, closed by thijs, fixed) defect webhttp

Re: [Twisted-Python] Twisted Web documentation out of date

2013-05-13 Thread exarkun
On 11 May, 04:41 pm, h...@ox.cx wrote: > >>Twisted reviewers: review tickets! Tom, the recipient of the >>sponsored fellowship, is busy with fixing our infrastructure, so we >>really need the community to pitch in. >> >>If you're interested in reviewing tickets, please let me know. > >I spoke ab

Re: [Twisted-Python] Helping the Python 3 port

2013-05-09 Thread exarkun
On 09:04 am, j...@multani.info wrote: >On Wed, May 08, 2013 at 05:40:56PM -0700, Glyph wrote: >> >>On May 8, 2013, at 4:03 PM, Jonathan Ballet wrote: >> >> > On Wed, May 08, 2013 at 09:36:14AM -0600, Tom Prince wrote: >> >> Have you seen https://twistedmatrix.com/trac/wiki/Plan/Python3 ? >> >> >>

Re: [Twisted-Python] Helping the Python 3 port

2013-05-08 Thread exarkun
On 07:27 pm, j...@multani.info wrote: >[snip] > >OK, so we can probably sum all of this with: get the dependencies >ticketed, ported and merged first, before tackling big things like >twisted/scripts/trial.py > >Is that right? Exactly! Jean-Paul >Jonathan > >__

Re: [Twisted-Python] Helping the Python 3 port

2013-05-08 Thread exarkun
On 02:30 pm, j...@multani.info wrote: >Hi, > >I'm interested to give a help to port Twisted to Python 3. >I gave a look at the tickets on Trac tagged with py3k and those in the >Python-3.x milestone. I gave a try at >http://twistedmatrix.com/trac/ticket/5802 to see what still needed to >be >done,

Re: [Twisted-Python] is it about wokkel ?

2013-05-07 Thread exarkun
On 01:19 am, b...@indoakses-online.com wrote: >Dear All ... > >I Really not sure whetehr it's about wokkel or not, please bare with >me. > >I run a twistd tac in a tablet with Linux OS. > >Basically it's a wokkel based XMPP client that send a line to own XMPP >server. >This client also join a conf

[Twisted-Python] Weekly Bug Summary

2013-04-27 Thread exarkun
tedmatrix.com/trac/ticket/6457 Closed Bugs __ = Normal = [#2162] Do skip and todo with exceptions (opened by jml, closed by exarkun, invalid) tasktrial http://twistedmatri

[Twisted-Python] Weekly Bug Summary

2013-04-20 Thread exarkun
rac/ticket/6436 [#6437] twisted.trial.unittest.TestCase.flushWarnings may fail if run without .py files (with only .pyc or .pyo files) (opened by exarkun) defect trial http://twistedmatrix.com/trac/ticket/6437 [#6438] Spelling mistake in options.xhtml (opened by itamar)

Re: [Twisted-Python] GSOC 2013 Project Idea for Twisted Matrix

2013-04-20 Thread exarkun
>On Sat, Apr 20, 2013 at 10:10 AM, Chitrank Dixit >wrote: >>Good Evening >> >>Twisted Matrix is a great module for Networking and I would like to >>work >>with this project. I want to propose Twisted a new Idea of Promoting >>the >>project to Porting to Python 3 (with backward compatibility). Po

Re: [Twisted-Python] Improved StandardIO support in Windows

2013-04-19 Thread exarkun
On 06:55 pm, johnnyp...@gmail.com wrote: >On Fri, Apr 19, 2013 at 02:21:48PM -0400, Itamar Turner-Trauring wrote: >> >>The main issue is that the patch is too big? The easiest way to solve >>that >>is to split it up into multiple tickets, each addressing a subsection >>of >>the problem, with a co

Re: [Twisted-Python] Twisted source, changes and social analysis

2013-04-16 Thread exarkun
On 16 Apr, 08:11 pm, jonat...@stoppani.name wrote: >Gentle reminder. ;-) Thanks. :) You should get an email from me off-list shortly. Jean-Paul ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/l

[Twisted-Python] Weekly Bug Summary

2013-04-13 Thread exarkun
Bug summary __ Summary for 2013-04-07 through 2013-04-14 Opened Closed Total Change Enhancements: 8 8997 +0 Defects: 11 8644 +3 Tasks: 1 0 8

Re: [Twisted-Python] Deprecated Modules

2013-04-12 Thread exarkun
On 11:14 am, ral...@ik.nu wrote: >On 2013-04-12 08:43, RJ Ewing wrote: >>If I import a deprecated module and then run the test-suite should I >>be >>seeing an error? I think that I should be seeing an error, but I am >>not. >>I am not sure if I am doing something wrong or if my local environment

Re: [Twisted-Python] Why is this epytext docstring bad?

2013-04-09 Thread exarkun
On 04:17 pm, _...@lvh.cc wrote: >Cool, thanks, I'll try to debug it this way. > >Why doesn't the buildbot produce similar output? IIUC, pydoctor >produces >similarly useful output, but the output from the buildbot wasnt' useful >in >debugging this. Perhaps the buildbot config should be changed t

Re: [Twisted-Python] Why is this epytext docstring bad?

2013-04-09 Thread exarkun
On 12:02 pm, _...@lvh.cc wrote: >Hi, > >I'm trying to get twisted.positioning landed, but it's blocking on an >invalid epytext docstring. I've stared at this docstring a few times in >the >past weeks, but that didn't help. > >Failing buildbot log: >https://buildbot.twistedmatrix.com/builders/docum

Re: [Twisted-Python] Twisted source, changes and social analysis

2013-04-05 Thread exarkun
On 28 Mar, 05:16 pm, jonat...@stoppani.name wrote: >Hello everybody (with access to the Trac DB), > >I am currently doing my master thesis on the "analysis and management >of change propagation in complex systems". I'm concentrating my >efforts on software-based complex systems. > >As part of my an

Re: [Twisted-Python] Release questions

2013-04-04 Thread exarkun
On 04:00 pm, the...@free.fr wrote: >Le 04/04/2013 13:14, exar...@twistedmatrix.com a écrit : >>On 10:18 am, the...@free.fr wrote: >>>OK. I've opened http://pad.lv/1164403 for the required changes in our >>>tool. I'll update the release document once that's done. >> >>Hm. As far as the download/rel

Re: [Twisted-Python] Release questions

2013-04-04 Thread exarkun
On 10:18 am, the...@free.fr wrote: >Le 03/04/2013 23:55, Glyph a écrit : >> >>On Apr 3, 2013, at 9:14 AM, Thomas Hervé wrote: >>>* Glyph mumbled something about sha sums of the release files, >>>instead >>>of md5. Should we pursue that? We may need to update some trac >>>integration code. >> >>We

Re: [Twisted-Python] Release questions

2013-04-03 Thread exarkun
On 04:36 pm, _...@lvh.cc wrote: >On Wed, Apr 3, 2013 at 6:14 PM, Thomas Hervé wrote: >> * Glyph mumbled something about sha sums of the release files, >>instead >>of md5. Should we pursue that? We may need to update some trac >>integration code. > >Depends, what's the goal of the checksums? If i

Re: [Twisted-Python] twisted.cred interface deficiences

2013-04-02 Thread exarkun
On 08:51 am, _...@lvh.cc wrote: >Okay, cool. I definitely agree that IUsernamePassword.checkPassword is >dumb >and support deprecating it. Hey lvh, Please stop top-posting. :) Jean-Paul ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com

Re: [Twisted-Python] t.n.c.lookupAddress returns DNSNameError for hostnames w/ no A record

2013-04-02 Thread exarkun
On 06:48 am, by...@sinkhole.me wrote: >Hi all, > >I saw in previous posts that DNSNameError signifies an 'NXDOMAIN' >status >and DNSServerError signifies 'SERVFAIL'. However, I am getting a >DNSNameError from twisted.names.client.lookupAddress() when I query a >hostname that has no A records, but

[Twisted-Python] Weekly Bug Summary

2013-03-30 Thread exarkun
/trac/ticket/6397 [#6398] Attribute self misspelled in method getheaders of class twisted.web.client._FakeUrllib2Response (opened by moijes12) (CLOSED, wontfix) defect webhttp://twistedmatrix.com/trac/ticket/6398 [#3070] trial writes warnings to stdout (opened by exarkun

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-25 Thread exarkun
On 07:47 pm, ita...@futurefoundries.com wrote: >On Mon, Mar 25, 2013 at 11:59 AM, Peter Westlake >wrote: >>Understood that it isn't possible to use native asynchronous I/O. But >>an >>implementation that used threads behind the scenes and returned a >>Deferred (for small files) or a Protocol (for

Re: [Twisted-Python] Testing Twisted code without trial

2013-03-25 Thread exarkun
On 18 Mar, 07:32 pm, a...@roiban.ro wrote: >On 22 January 2013 22:03, wrote: >>On 09:29 am, a...@roiban.ro wrote: >>>On 22 January 2013 02:21, wrote: On 20 Jan, 02:35 pm, a...@roiban.ro wrote: > >I agree that this is a ugly hack and I removed the project. >> >>Hi Adi, >> >>trial does what i

Re: [Twisted-Python] Notes from Twisted BoF at PyCon 2013

2013-03-25 Thread exarkun
Thanks for taking those notes, Itamar. I copied the summary onto the wiki and fleshed out the ideas a bit: https://twistedmatrix.com/trac/wiki/Fellowship2013/Priorities Jean-Paul ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://

Re: [Twisted-Python] debugging listenTCP

2013-03-24 Thread exarkun
On 12 Mar, 01:40 am, m...@conundrum.com wrote: > >I've got a weird one here. I've just come back to some code that I >haven't worked on in a while, which is a simple XMLRPC server. Last >time I touched it I was working on adding cred support, so I'd gone >from using a direct call to server.Si

[Twisted-Python] Weekly Bug Summary

2013-03-23 Thread exarkun
duplicate implementations of (Clock, MemoryReactor) combiner (opened by exarkun) (CLOSED, fixed) defect core http://twistedmatrix.com/trac/ticket/6381 [#6382] implement reactors using composition instead of inheritance (opened by exarkun) enhancement core http://twistedmatri

<    1   2   3   4   5   6   7   8   9   10   >