Re: [Twisted-Python] Release questions

2013-04-04 Thread Glyph
ally break the existing macro to just include the sha sums inside the same signature list? Presumably it has some way of ignoring the GPG signature lines; could that just be modified to ignore the shasum lines as well? I ask because it would be

Re: [Twisted-Python] Release questions

2013-04-04 Thread Glyph
On Apr 4, 2013, at 11:15 AM, Tristan Seligmann wrote: > In fact, I believe there is no such thing as "signing the whole binary blob". > When you use something like gpg --sign, what is actually signed with a public > key signature algorithm is a hash of the content anyway. Thus, assuming you >

Re: [Twisted-Python] Implementing a new stream transport

2013-04-10 Thread Glyph
7;twisted.internet.interfaces.IConsumer', 'twisted.internet.interfaces.ITransport', 'twisted.internet.interfaces.IHalfCloseableDescriptor', 'twisted.internet.interfaces.ILoggingContext'] It might be useful to note the possible presence of some of these in the documentation for servers and clients. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Connection was closed cleanly.

2013-04-11 Thread Glyph
On Apr 9, 2013, at 2:48 AM, Sergey Gerasimov wrote: > Hello to all! > > I see in the log file many failures like: > [Broker, client Failure: twisted.spread.pb.PBConnectionLost: [Failure > instance: Traceback (failure with no frames): < class > ‘twisted.internet.error.ConnectionDone’>: Connec

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

2013-04-19 Thread Glyph
de, you could have a ticket just for doing the inner refactoring, that does not expose any new public classes or features, as long as that refactoring has a good explanation and a good impact on the internal API. Based on the last patch I see on this ticket, it looks like that

Re: [Twisted-Python] suggestions for improvement in Twisted APIs

2013-05-04 Thread Glyph
s you pointed out were spot on :). I just hope that next time you'll have a look at a more recent version! -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] chain certificates on the command line?

2013-05-05 Thread Glyph
ewhere in the somewhat lengthy discussion on that ticket :). -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] chain certificates on the command line?

2013-05-06 Thread Glyph
On May 5, 2013, at 11:23 PM, Hynek Schlawack wrote: > Am 06.05.2013 um 07:11 schrieb Glyph : > >> With the recent resolution of <http://twistedmatrix.com/trac/ticket/2061>, I >> am wondering if there is already a plan in progress (and maybe some existing >> ti

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

2013-05-08 Thread Glyph
al, and we already have our own Python-version-compatibility code (in twisted.python.compat) so thus far we have gone with just replicating whatever functionality we need. Of course, the best is not needing the compatibility code at all, which is why I

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

2013-05-09 Thread Glyph
're working on it (getting a faster host for Trac): <http://labs.twistedmatrix.com/2013/05/april-end-month-report.html> Which reminds me: please donate, so we can keep funding more work like that! <http://twistedmatrix.com/trac/#DonatetoTwisted> -glyph

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

2013-05-09 Thread Glyph
On May 9, 2013, at 7:44 PM, Shiyao Ma wrote: > If I remember clearly, I already fired a ticket about this issue a week ago > and it's waiting for review. Do you happen to have a link to that ticket? -g ___ Twisted-Python mailing list Twisted-Pytho

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

2013-05-10 Thread Glyph
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. <http://twistedmatrix.com/hig

Re: [Twisted-Python] Recommended daemon monitoring tools for ubuntu

2013-05-20 Thread Glyph
the box' here means something like 'twistd procmon twistd -n web'. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] twisted server blocking on MySQL read in main thread when using adbapi.ConnectionPool

2013-05-20 Thread Glyph
mebody else knows how to invoke that? It would certainly be very useful to see what Python code lead to this point :). -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] t.test.proto_helpers.StringTransportWithDisconnection.connectionLost

2013-05-22 Thread Glyph
On May 22, 2013, at 12:01 AM, Adi Roiban wrote: > Is this a bug in the current implementation of > StringTransportWithDisconnection? Yes. Good catch. Please look to see if the ticket has already been filed, and if not, file one (ideally with a patch!) -glyph_

Re: [Twisted-Python] Twisted on PyPI

2013-06-01 Thread Glyph
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 major projects affected and al

Re: [Twisted-Python] Twisted on PyPI

2013-06-02 Thread Glyph
too, but if we do, it's for different reasons. If nothing depends on it, I say we should kill it. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] github, again

2013-06-03 Thread Glyph
Hi Twisted developers, This weekend I had a discussion with many Twisted developers, both local to and visiting San Francisco. The topic came up of how to get more long-term contributors to participate more regularly in the project - particularly, doing code reviews, but also, developing and c

Re: [Twisted-Python] github, again

2013-06-03 Thread Glyph
On Jun 3, 2013, at 5:35 PM, Jamu Kakar wrote: > Hi, > > On Mon, Jun 3, 2013 at 4:48 PM, Christopher Armstrong > wrote: >> On Mon, Jun 3, 2013 at 3:59 PM, Glyph wrote: >>> One suggestion that almost everybody made immediately was: we should use >>> Githu

[Twisted-Python] on contributions

2013-06-04 Thread Glyph
nk you doubly for your patience. Thanks, -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] on contributions

2013-06-05 Thread Glyph
On Jun 5, 2013, at 12:37 AM, Adi Roiban wrote: > On 5 June 2013 09:29, Glyph wrote: > [snip] > >> So, please, go on contributing patches to Twisted; I thank you for your >> contribution and I thank you doubly for your patience. > > From my point of view, the fact t

Re: [Twisted-Python] Difficulty restarting/shutting down a twisted server - ports not closing

2013-06-10 Thread Glyph
on. I'm still happy to help you with this if you can explain what, exactly, you still don't understand. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Difficulty restarting/shutting down a twisted server - ports not closing

2013-06-12 Thread Glyph
top using threads in this manner, you are using threads in a totally unsupported way and Twisted will be broken. Twisted supports most GUIs directly though; there is generally no need to use threads. What GUI library are you using? -glyph ___ Twist

Re: [Twisted-Python] reload / restart best practices ?

2013-06-12 Thread Glyph
them all into a MultiService, calling stopService() on that MultiService, and adding a callback/errback to the Deferred it returns which calls os.exec. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2013-06-12 Thread Glyph
> you've had a chance to play with these ideas? It would also be nice if someone could find a link to the tickets for this functionality - or, file one, if none exist. Again, thanks a lot for the great explanation, JP. -glyph ___ Twisted-Python m

[Twisted-Python] logging

2013-06-13 Thread Glyph
w. (NB: The implementation linked above doesn't address all of the issues I've enumerated in this message, and I don't think that it should address every single one of them before being added to Twisted; writing this one message took me long enough, but we should possibly also discuss which ones are fundamental issues with the logging system and which are features that should be considered separately.) -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] logging

2013-06-14 Thread Glyph
On Jun 13, 2013, at 4:16 PM, Christopher Armstrong wrote: > On Thu, Jun 13, 2013 at 5:14 PM, Glyph wrote: >> >> Hello everybody. Today I'd like to talk about everyone's favorite subsystem >> within Twisted: logging. >> >> There are a numbe

Re: [Twisted-Python] logging

2013-06-14 Thread Glyph
On Jun 14, 2013, at 3:43 PM, Glyph wrote: > I think that we can satisfy all of these requirements by expanding the notion > of an "identifier" a bit. In our last episode, I mentioned that an identifier should have several properties: human readable (and potentially non-uni

Re: [Twisted-Python] Announcing twisted-dev-tools

2013-06-14 Thread Glyph
anced to automatically fetch that commit, > and switch to the branch locally. This is all great, but, would you mind re-naming it so that I can have both this, and Combinator installed locally? Until we switch to Git, I'd like to preserve the capac

Re: [Twisted-Python] logging

2013-06-15 Thread Glyph
paceships.combat.explosion") in a single event. We could provide both tools to the developer, and they're not obliged to use either. (I see you've written some other messages, so more forthcoming...) -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] logging

2013-06-15 Thread Glyph
On Jun 14, 2013, at 10:48 PM, Christopher Armstrong wrote: > There's... a lot here. I'm overwhelmed by how complex this system > would be, and I think that end users would be as well. I don't really > want to put UUIDs into my source code, whether I type them or paste > them, and I don't want t

Re: [Twisted-Python] logging

2013-06-15 Thread Glyph
On Jun 15, 2013, at 3:55 AM, Phil Mayers wrote: > On 06/15/2013 06:48 AM, Christopher Armstrong wrote: > >> There's... a lot here. I'm overwhelmed by how complex this system >> would be, and I think that end users would be as well. I don't really >> want to put UUIDs into my source code, whethe

Re: [Twisted-Python] logging

2013-06-15 Thread Glyph
On Jun 14, 2013, at 11:18 PM, Christopher Armstrong wrote: > This conversation has gotten pretty sprawling; time to reel it in with > some code. > > What do you think of this for an API that meets in the middle? > > https://gist.github.com/radeex/5787124 > > This example implementation only

Re: [Twisted-Python] logging

2013-06-15 Thread Glyph
On Jun 15, 2013, at 5:28 AM, Phil Mayers wrote: > On 06/15/2013 12:13 PM, Glyph wrote: > >> I am really, really puzzled by this reaction. I am wondering if you >> read my message carefully, or if I didn't express myself well. > > Careful re-reading of the

Re: [Twisted-Python] logging

2013-06-15 Thread Glyph
On Jun 15, 2013, at 8:33 AM, Christopher Armstrong wrote: > It sounds like you're arguing that the human-readable *.log format > should be closer to the simple key/value representation that we use > underneath. > > Would you also argue that instead of having a log line that looks like: > > 20

Re: [Twisted-Python] logging

2013-06-15 Thread Glyph
fying that intent. We have "log_namespace" in the new logging system, and I think that (in combination with an idiomatic "log_id", that only needs to be unique within that namespace) you could get more or less what you want. I think we

Re: [Twisted-Python] logging

2013-06-15 Thread Glyph
How would you feel about a special token that you have to pass explicitly? Logger().warn(ALL_KEYS, a="hi") -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] logging

2013-06-17 Thread Glyph
On Jun 17, 2013, at 5:48 PM, James Y Knight wrote: > I'm surprised that a thread with 32 messages about logging doesn't seem to > have once mentioned windows events, osx structured syslog, or systemd journal > as important design points. As it happens I was discussing exactly that! In a sens

Re: [Twisted-Python] logging

2013-06-18 Thread Glyph
On Jun 18, 2013, at 8:25 AM, Peter Westlake wrote: > On Tue, Jun 18, 2013, at 4:50, Glyph wrote: >> On Jun 17, 2013, at 5:48 PM, James Y Knight wrote: > ... >>> And having a logging system which doesn't even support a basic >>> log level is just silly. Ho

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

2013-06-18 Thread Glyph
On Jun 18, 2013, at 8:42 AM, Christopher Armstrong wrote: > On Tue, Jun 18, 2013 at 8:37 AM, Itamar Turner-Trauring > wrote: > By way of background, Kai Zhang is one of our GSoC interns, working on adding > Deferred cancellation support to Twisted. I believe the specific module he is > work

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

2013-06-18 Thread Glyph
On Jun 18, 2013, at 12:03 PM, Laurens Van Houtven <_...@lvh.io> wrote: > On Tue, Jun 18, 2013 at 8:22 PM, Glyph wrote: > I would say that if we want to percolate this information up to the caller, > there should be a ConnectingCancelled exception that is a subtype of the >

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

2013-06-18 Thread Glyph
On Jun 18, 2013, at 2:13 PM, Itamar Turner-Trauring wrote: > On 06/18/2013 02:22 PM, Glyph wrote: >> Making an API that previously documented raising (or failing) exception >> types A, B, and C raise (or fail with) D is not necessarily a compatible >> change. Making it r

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

2013-06-21 Thread Glyph
re's no particular conflict with the new system, either; more information in log messages will just be even easier to utilize with some of its improvements. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] IMAP IDLE

2013-06-21 Thread Glyph
e to ask questions. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2013-06-21 Thread Glyph
ere are lots of legitimate uses to parameterize the reactor and to discover which one a particular object is using. The case where one is tempted to make an argument private like this seems to be somewhere that we feel that something should be parameterized

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

2013-06-21 Thread Glyph
eady decided on the failure behavior for all > existing Deferred-returning APIs. Changing that at this point doesn't seem > like a very good idea. > > I think I'd also like to challenge the idea that Glyph put forwards earlier > in the thread that this extra infor

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

2013-06-28 Thread Glyph
need clarification on the Twisted side of things, I'd be happy to expand and improve the question. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Daemonizing app (two udp servers + flask)

2013-07-02 Thread Glyph
On Jul 2, 2013, at 12:02 PM, Beth wrote: > Can someone give me a hand in how to daemonize one application? > I think that the way to go is twistd (...) That's correct. After reading the rest of your message, I don't see any *problems* that you've had with using it. All the code looks basica

Re: [Twisted-Python] Twisted web, giant-file POST forwarding and early bail-out.

2013-07-10 Thread Glyph
On Jul 9, 2013, at 4:30 AM, Itamar Turner-Trauring wrote: > On 07/09/2013 04:04 AM, Rob Meijer wrote: >> 3) When the token does not check out, or the connection to the server >> fails, it remains a mystery to me how I should throw an error in such a >> way that it allows me to send a proper erro

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-07-15 Thread Glyph
le use-cases you might want that string for and we should return the appropriate version depending on which one you want. I wouldn't worry about getting that attribute to do anything useful beyond a very rudimentary level of compatibility; in fact it would be great if the i

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

2013-07-15 Thread Glyph
eally unfortunate. If we can figure out something that uses totally public APIs without subclassing tcp.Client that would be best; if not, we should really have a ticket open to fix the API so that it is possible. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2013-07-17 Thread Glyph
On Jul 15, 2013, at 4:44 AM, exar...@twistedmatrix.com wrote: > 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 twi

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

2013-07-18 Thread Glyph
t relies on adbapi2 (also in calendar server, hopefully to be moved into Twisted at some point). -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2013-07-22 Thread Glyph
On Jul 19, 2013, at 1:21 AM, Laurens Van Houtven <_...@lvh.io> wrote: > On Fri, Jul 19, 2013 at 9:06 AM, Hynek Schlawack wrote: > How would you feel about packaging it up on PyPI so people can try it out > effortlessly? What do Apple’s licenses say about that? Yes, I’m volunteering. > > It se

Re: [Twisted-Python] Twisted and Qt5

2013-07-22 Thread Glyph
Qt, which seem to come out relatively frequently. Nothing about the nature of event loops or sockets has changed sufficiently in the meanwhile to justify the constant re-work that Qt seems to require from us. -glyph ___ Twisted-Python mail

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

2013-07-24 Thread Glyph
On Jul 23, 2013, at 12:12 AM, Hynek Schlawack wrote: > Am 22.07.2013 um 23:37 schrieb Glyph : > >>> How would you feel about packaging it up on PyPI so people can try it out >>> effortlessly? What do Apple’s licenses say about that? Yes, I’m >>> volunteering.

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

2013-07-24 Thread Glyph
rs, we could have a setup.py in the calendarserver.org repository that just submits twext.enterprise.* to PyPI as an independent source distribution, while remaining part of the same project. It can *appear* to be a separate project as long as it's developed in the same place. :-) -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2013-07-25 Thread Glyph
On Jul 25, 2013, at 1:08 AM, Hynek Schlawack wrote: > Am 25.07.2013 um 00:43 schrieb Glyph : > >> 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 a

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

2013-07-25 Thread Glyph
dependency, so it can be parsed at runtime to aid with enforcement? -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Multi-service, multi-protocol examples

2013-07-25 Thread Glyph
On Jul 24, 2013, at 4:19 PM, Justin Chiu wrote: > Hi all, > > A couple weeks ago I posted a question to this list titled "AMQP listening > and user-facing daemon". The responses were very helpful; thank you. > > Does anyone have any examples/tutorials on writing with multiple protocols > doi

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

2013-07-25 Thread Glyph
On Jul 25, 2013, at 3:51 PM, exar...@twistedmatrix.com wrote: > 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 mak

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

2013-07-26 Thread Glyph
behavior is. In any case, there's a great paper which offers an excellent theoretical background that should explain what I mean by that distinction, and should really elucidate some of the other threads in this conversation as well: <htt

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

2013-07-26 Thread Glyph
received one billion points, congratulations you have defeated software. Does this seem like it might be a useful feature for someone to work on? Not shown here is the part that when you do introduce a regression, it runs just the tests that failed until you fix all of them, then goes back u

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

2013-07-27 Thread Glyph
trac/wiki/FrequentlyAskedQuestions#Whyisprotocol.dataReceivedcalledwithonlypartofthedataIcalledtransport.writewith> -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] defer.gatherResults & Deferreds chaining

2013-07-29 Thread Glyph
therResult's callback is after slowFuncReturningA() in d's callback chain. Can you attach an actual runnable code example with some behavior that you didn't expect, so we can actually run it and explain what's happening? No need for you to spin the reactor or anything, just

Re: [Twisted-Python] defer.gatherResults & Deferreds chaining

2013-07-31 Thread Glyph
wisted frames in your traceback does not mean Twisted is the cause of the bug :). -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2013-08-01 Thread Glyph
On Aug 1, 2013, at 1:49 AM, zipxing wrote: > pypy+builtin_json performance < cpython+ultrajson Do you have a reference to a benchmark confirming this? I'm curious about it. -glyph ___ Twisted-Python mailing list Twisted-Python@twiste

Re: [Twisted-Python] Help with trial test failure

2013-08-05 Thread Glyph
e you would get from twisted.test.proto_helpers, the one and only public module in our 'test' package) and also, as you have discovered, more unpredictable. Is there any way to hand txredis a synthetic transport for testing? If not, file a bug on it :). -glyph

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

2013-08-07 Thread Glyph
On Aug 1, 2013, at 1:49 AM, zipxing wrote: > pypy+builtin_json performance < cpython+ultrajson Just curious here: what version of PyPy did you do your tests with? From what I've heard, the somewhat recently-released 2.1 should have improved JSON parsing performan

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

2013-08-07 Thread Glyph
ly slower) performance. Does it also have correctness and security problems? -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted as a House for Sale

2013-08-19 Thread Glyph
On Aug 19, 2013, at 10:38 AM, Matt Haggard wrote: > ... [a story] ... Very entertaining :-). My one disappointment with the narrative was that when you were lushly describing standing in an open field west of the white house, you neglected to mention that there was a mailbox there. > I want

Re: [Twisted-Python] Twisted as a House for Sale

2013-08-21 Thread Glyph
On Aug 21, 2013, at 10:02 AM, Matt Haggard wrote: > I've got the start of a demo multi-protocol chat server, if anyone's > interested in taking a look. (Is this the right place for this > discussion? Would IRC be better?) This is a fine place for discussion. If you prefer IRC, by all means u

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

2013-08-21 Thread Glyph
problem, I wanted to use SQLAlchemy rather than write my own ORM, but I was unable to due the lack of a public API for generating cross-database SQL. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-

[Twisted-Python] Encouraging New Reviewers (was: Re: something about Github, as all threads about fostering community now start on that subject)

2013-08-26 Thread Glyph
report, or an extension to the high scores page, that addressed the first point, it would be a lot easier to deal with the second and third ones. So, if anyone reading this would like to do that, I would be forever in your debt. -glyph ___ Twis

Re: [Twisted-Python] Encouraging New Reviewers (was: Re: something about Github, as all threads about fostering community now start on that subject)

2013-08-27 Thread Glyph
On Aug 27, 2013, at 2:44 AM, Laurens Van Houtven <_...@lvh.io> wrote: > On Tue, Aug 27, 2013 at 6:07 AM, Glyph wrote: > I think that's a fine rule, but it has one gigantic problem: we don't have a > list of committers anywhere. Making this list - and, critically,

Re: [Twisted-Python] Twisted as a House for Sale

2013-08-27 Thread Glyph
On Aug 27, 2013, at 4:40 PM, Matt Haggard wrote: > Up to six articles now: http://iffy.github.io/twistedftw/ This now says "#{{ index+1 }} With Twisted you can {{ showing.ability }}" for me. -glyph ___ Twisted-Python mailing list T

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

2013-08-29 Thread Glyph
vior. So I can't see a reason to use an exception to indicate this. Instead, I think perhaps a new constant value would be useful, so a canceller could return a constant to indicate that it really meant to not invoke either a callback or an errback. 'return NOT_CANCELLED' woul

Re: [Twisted-Python] Asynchronously reading posted data

2013-09-04 Thread Glyph
hich is probably going to take more programmer time than you will ever save in execution time by this marginal memory reduction :-). Better would be to spend that effort enforcing stringent resource limits so that you will give up reading before you ever get to the parse in the case

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-09-15 Thread Glyph
ally in another. The problem with the "bytes-with-encoding" idea is that it doesn't apply to paths, it applies to path segments - which is why FilePath is (well, ought to be) a data *structure*, and not just some methods around exis

Re: [Twisted-Python] Twisted at PyConUK 2013

2013-09-17 Thread Glyph
etting latest & greatest > pyflakes/twistedchecker and dependencies, and being able to install the > branch. Separately, "how to get set up to review" would be a useful document too. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] infrastructure hosting confusion / cleanup

2013-09-17 Thread Glyph
e, I will be happy to get you the appropriate access to any systems you need to. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted at PyConUK 2013

2013-09-18 Thread Glyph
ective on this, and to have very specific fodder for making improvements. Thanks for taking the time to write it up. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] txThings - simple library for CoAP protocol

2013-09-20 Thread Glyph
Thanks for sharing this, Maciej! Please feel free to keep on sending more announcements as you put Twisted inside of more devices ;-). -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] How to disconnect an HTTP connection and notify the far end

2013-09-20 Thread Glyph
are that's just buggy. For a while, possibly still today, Twisted just completely dies with certain versions of AVG installed, because they completely break the expected behavior of certain socket APIs. Have you tried with multiple Windows clients ye

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

2013-09-24 Thread Glyph
gt; * Holger Kraus > * Lukasz Prasol > * Christophe Reche > * Richard Wall > > > I am really excited about the fact that I don't know all of the people on > this list -- we need more developers! :-) Thanks for organizing this sprint,

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

2013-09-25 Thread Glyph
e user-base. So it's not quite reasonable to judge Twisted by the same standard, or to expect that we can achieve Django's results by copying Django's methods, or even that we could faithfully muster enough effort to copy their methods exactly. So we should definitely try to lea

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

2013-09-26 Thread Glyph
On Sep 25, 2013, at 10:20 PM, Hynek Schlawack wrote: >> What tools actually make use of this file? > > pip install -r dev-requirements.txt OK. If this is the way that this file is intended to be used, perhaps there should be a comment explaining that at the top :). -glyph_

Re: [Twisted-Python] Clean pb solution for two-way object sync?

2013-09-26 Thread Glyph
On Sep 25, 2013, at 11:05 PM, Daniel Sank wrote: > This isn't THAT bad. The client's requestMove is thin and unecessary (I put > it there for illustration). Still I need to have two separate classes with > corresponding methods to handle moving the piece. That's OK. Don't try to reduce your n

Re: [Twisted-Python] question about subprocess

2013-09-26 Thread Glyph
y you feel it's "annoying"? Maybe we can improve spawnProcess so it works better for you in the future. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-09-30 Thread Glyph
On Sep 30, 2013, at 2:45 AM, Laurens Van Houtven <_...@lvh.io> wrote: > What am I doing wrong? Is this a bug? I think it's pretty clearly a bug. Calling the argument "proto" in the first place indicates the nature of the confusion. There are parts of the flow here from bytes to method executi

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

2013-09-30 Thread Glyph
On Sep 29, 2013, at 2:49 AM, Hynek Schlawack wrote: > I have that on my todo-list since the beginning of time but never got around > to it. Do you have a link to a Nevow bug in some tracker (launchpad, perhaps?) that is tracking this?

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

2013-09-30 Thread Glyph
On Sep 30, 2013, at 11:51 AM, Hynek Schlawack wrote: > > Am 30.09.2013 um 20:42 schrieb Glyph : > >>> I have that on my todo-list since the beginning of time but never got >>> around to it. >> >> Do you have a link to a Nevow bug in some tracker (la

Re: [Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-09-30 Thread Glyph
On Sep 30, 2013, at 12:09 PM, Laurens Van Houtven <_...@lvh.io> wrote: > Hi Glyph, > > Thanks for your response! > > On Mon, Sep 30, 2013 at 8:41 PM, Glyph wrote: > On Sep 30, 2013, at 2:45 AM, Laurens Van Houtven <_...@lvh.io> wrote: > >> What am I d

Re: [Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-10-03 Thread Glyph
> On Oct 1, 2013, at 1:13 AM, Laurens Van Houtven <_...@lvh.io> wrote: > >> On Tue, Oct 1, 2013 at 12:59 AM, Glyph wrote: >> >> Most of the code I can think of that wants to use that really wants the >> transport rather than the "protocol"

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

2013-10-05 Thread Glyph
there's ever an issue we can always make a separate list for announcements. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] txsocksx 1.13.0.0 released (SOCKS clients for Twisted)

2013-10-05 Thread Glyph
able on ReadTheDocs, including examples and an API > reference: <http://txsocksx.readthedocs.org/en/latest/>. I'm super happy to see such widespread use of the endpoint API :-). It looks like there's no endpoint string parser plugin, th

Re: [Twisted-Python] txThings - simple library for CoAP protocol

2013-10-05 Thread Glyph
you've gone too far afield. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] twisted linux netfilter_log protocol

2013-10-05 Thread Glyph
nk, sorry about that :-)) One thing to note, though: you should switch to this style: @implementer(IPushProducer, IReadDescriptor) class NFLogPacket... because the implements() style won't work in future versions of Python. (Plus, the implementation of @implementer is much cleaner on ol

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

2013-10-06 Thread Glyph
> On Oct 6, 2013, at 5:23 PM, exar...@twistedmatrix.com wrote: > > 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 certif

Re: [Twisted-Python] txThings - simple library for CoAP protocol

2013-10-07 Thread Glyph
y become Twisted was called "Thing". ;-) > Dummy question: how would I contribute to the Trac-based Web site content? Just click on the "edit" button at the bottom of any wiki page. Some of the pages (like the front page) are locked to prevent abuse, but I can give you

<    5   6   7   8   9   10   11   12   13   14   >