Re: [Twisted-Python] Branch name convention

2015-03-22 Thread Glyph
/twistedmatrix.com/trac/ <https://twistedmatrix.com/trac/> and it's still running - there are quite a few branches to go through and this wifi isn't super fast :-). -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted on Windows, 2015 edition

2015-03-26 Thread Glyph
tion.html > > Part 2 will cover running Twisted as a Windows service. > > Part 3 will cover making your own binary distributions using wheel. > > Python packaging has improved a lot in recent years, especially on > Windows. Glyph, thank you for pypiwin32. Thank you SO muc

Re: [Twisted-Python] [ANN] clj-amp 0.9.0

2015-04-02 Thread Glyph
> On Apr 1, 2015, at 6:48 PM, Tristan Seligmann wrote: > > I am pleased to announce the release of clj-amp 0.9.0[1][2], a Clojure > implementation of the AMP[3] protocol (a reference implementation of > which is found in Twisted) Congrats on the release! Always glad to see implementations in m

Re: [Twisted-Python] LimitedHistoryLogObserver is considered harmful ?

2015-04-02 Thread Glyph
> On Apr 2, 2015, at 4:03 PM, Burak Arslan wrote: > > Hi, > > I happen to have the new logging hotness(tm) running in production as > the backend to python's own logging module in one of the daemons that > I'm responsible for. Thanks for trying out this code and helping us validate it! > I al

Re: [Twisted-Python] Windows CFFI Implementation?

2015-04-07 Thread Glyph
> On Apr 6, 2015, at 22:44, Oliver Palmer wrote: > > Hi, > > I've been using Twisted for a while now and for the most part I've been quite > pleased with it. Glad to hear it! > But, I wouldn't mind if the pywin32/wheel+pypiwin32 requirements went away on > Windows. . .

Re: [Twisted-Python] IRCClient (ircLogBot.py) send a message every 5 minutes

2015-04-07 Thread Glyph
> On Apr 6, 2015, at 20:27, Laurens Vets wrote: > > On 2015-03-30 13:39, Glyph Lefkowitz wrote: >>> On Mar 26, 2015, at 11:18 AM, Laurens Vets wrote: >>> Hello, >>> I'm trying to get to know the Twisted framework by extending the >>> ircLog

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

2015-04-13 Thread Glyph
`pip install twisted[tls]´ instead of the whole mess it used to be. Thanks in particular to you, Hawkie, and to Chris Wolfe who landed that patch (and brought twisted stickers to PyCon!) -glyph signature.asc Description: Message signed with OpenPGP using GPGMail __

Re: [Twisted-Python] Adding support for Diameter protocol

2015-04-13 Thread Glyph
> On Apr 14, 2015, at 00:22, Hamza Sheikh wrote: > > I am new to Twisted and its community Welcome, we are happy to have you! > and exploring adding Diameter support. What is Diameter? > I have experience with Python but as I learn more I realize how little I > know. This is my first foray

Re: [Twisted-Python] [Cryptography-dev] [ANN] pyOpenSSL 0.15

2015-04-15 Thread Glyph
Thank you very much to Jean-Paul and Hynek for getting out this most recent release! (And thanks to Hynek for my opportunity to contribute my first patch to pyOpenSSL ;-)). -glyph > On Apr 15, 2015, at 14:10, Alex Gaynor wrote: > > Thank you for your years of maintenance of

Re: [Twisted-Python] Deprecating subproject packaging

2015-04-22 Thread Glyph
se tarballs. They might have a compelling use-case (though I doubt it), but at least they should be notified so that unified packages show up promptly after the release where we first issue them. -glyph ___ Twisted-Python mailing list Twisted-Pyt

Re: [Twisted-Python] Deprecating subproject packaging

2015-04-22 Thread Glyph
n all tests :( Maybe we could speed up twisted.positioning's tests without sacrificing quality, but we would need to continue to run twisted.positioning's tests for every change to twisted core regardless, even if they were separate projects, or we would be reducing the amou

Re: [Twisted-Python] Using six for Python3 porting

2015-04-24 Thread Glyph
> On Apr 24, 2015, at 02:41, Adi Roiban wrote: > > Hi, > > I feel that twisted.python.compat is slowly duplicating / reinventing > an important part of the six code. > > Code which does not import from twisted.python.compat will have all > kind of ad-hoc / in module code to handle differences

Re: [Twisted-Python] twisted and twisted-infra organizations on GitHub

2015-04-24 Thread Glyph
fusing mess to me for first-time contributors and new users, and I think they are inherently less able to create filters and customize their experience, so they should see the orgs as they are presently. (There may still be some call for an "ecosystem" repository; I don't k

Re: [Twisted-Python] twisted and twisted-infra organizations on GitHub

2015-04-25 Thread Glyph
able to create filters and customize their experience, so they should > see the orgs as they are presently. > > (There may still be some call for an "ecosystem" repository; I don't know how > many Twisted developers really car

[Twisted-Python] sorry about the win7 builder

2015-04-30 Thread Glyph
ders/windows7-64-py2.7> - it should be current in a couple of hours. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Urgent - reactor is not working out of a sudden

2015-05-03 Thread Glyph
lots of useful stuff. Worse, if there's some bug in Twisted which caused this behavior, lots of _other_ people will miss out on the new stuff as well. So please help us figure out how to get you re-upgraded to the current version :). -glyph ___

Re: [Twisted-Python] can QtWebKit fire a twisted deferred?

2015-05-06 Thread Glyph
> On May 6, 2015, at 11:04 AM, Kevin Mcintyre wrote: > > ''' > I know this is meant for pyqt but I've had little luck this that board. > > The short answer is yes, but it's a total hack...and I'm wondering if anybody > has a more elegant solution. > > Specifically I would like to be able to

Re: [Twisted-Python] can QtWebKit fire a twisted deferred?

2015-05-06 Thread Glyph
your container by emitting specially-formatted console messages, and firing Deferreds in response to those. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Crochet 1.4.0: use Twisted anywhere!

2015-05-06 Thread Glyph
> On May 6, 2015, at 6:03 PM, Itamar Turner-Trauring > wrote: > > New in 1.4.0 is Python 3.4 support as well as support for using Crochet with > uWSGI, and additional documentation on workarounds for various limitations of > Crochet. Woohoo! Exciting stuff! Every new release of Crochet squ

Re: [Twisted-Python] LoopingCall.withCount countCallable called with 0

2015-05-09 Thread Glyph
> On Mar 26, 2015, at 2:06 AM, Dario Vinella wrote: > > Here it is a log where I print a dot when the calls arg is 1, the value if > not 1, each dot is separated by 0.02s > > https://gist.github.com/dvinella/73e5e45a04c428f037bf > > >

Re: [Twisted-Python] INCOMPATIBLE CHANGE: Removing PAM support from Twisted

2015-05-10 Thread Glyph
. That said, lack of actual PAM support (and more generally, platform-integrated user authentication mechanisms) is a sore spot and we should add something less terrible when we can. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] [Twisted-web] Twisted 15.2 Prerelease Announcement

2015-05-11 Thread Glyph
on such a consistent basis. Reminder, everyone, that you have a week from this announcement to test your software against the pre-release and test any regressions! (Thanks also to my employer, Rackspace, for giving me the time to review many of these tickets.) -glyph signature.asc Descriptio

Re: [Twisted-Python] Twisted on Windows, parts 2 and 3

2015-05-19 Thread Glyph
> On May 18, 2015, at 10:19, Christian Long wrote: > > I added to my series of posts about running Twisted on Windows. Thanks again for writing these up, Christian! -g ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatr

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-19 Thread Glyph
o make this a general feature of Options to do it this way; just have the "compose" plugin take its argument list and pass it to two discrete other Options instances as lists of strings, looking for a "+" simply as the place to split the argument list. You could also fin

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-19 Thread Glyph
> On May 19, 2015, at 14:01, Tom Prince wrote: > > Glyph writes: > >> You could also find some other way to split the argument list but "+" >> doesn't seem particularly obscure in this context to me. (If there's really >> a need to pass

Re: [Twisted-Python] HTTP and SSH over SOCKS5

2015-05-19 Thread Glyph
> On May 19, 2015, at 15:46, Farhan Khan > wrote: > > Hi, > > I am working on a project that will require running several HTTP connections > over a list of SOCKS5 proxies. I have found a lot of sample code that runs > HTTP over a regular TCP socket, but none that demonstrate the functionalit

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-20 Thread Glyph
> On May 20, 2015, at 04:13, exar...@twistedmatrix.com wrote: > > On 19 May, 09:01 pm, tom.pri...@ualberta.net wrote: >> Glyph writes: >>> You could also find some other way to split the argument list but "+" >>> doesn't seem particularly obscure

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-20 Thread Glyph
ing this area up (in a separate ticket, of course) as you're working on service stuff? -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] TLS windows wincertstore

2015-05-23 Thread Glyph
already have been included. Thanks for your interest, and I hope you'll step up to complete this work! -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Python chess game server issue, data is not received the blocking of ambigious process in the same virtual host.

2015-06-04 Thread Glyph
PID? > Then I use command kill -9 pid to kill it, then execute netstat - antup > commnd, all the process listening on port 4001 disappeared. > > Would u please kindly give me any answer? I hope we can get to the bottom of this but we will definitely need more information

Re: [Twisted-Python] INCOMPATIBLE CHANGE: Adding "parent" as a required attribute to IService

2015-06-04 Thread Glyph
> On Jun 3, 2015, at 10:23 PM, Moshe Zadka wrote: > > IService's docstrings obliquely referred to a "parent" attribute, but have > not actually specified its type or existence. This change makes this > attribute mandatory. It also makes the existence of the other IService > attributes, runnin

Re: [Twisted-Python] INCOMPATIBLE CHANGE: Adding "parent" as a required attribute to IService

2015-06-04 Thread Glyph
> On Jun 4, 2015, at 7:18 PM, Moshe Zadka wrote: > > > On Thu, Jun 4, 2015 at 11:50 AM Glyph <mailto:gl...@twistedmatrix.com>> wrote: > I'm in favor of this change > ... > Other non-inheriting IService implementations have it too, at least from > w

[Twisted-Python] broken buildbots

2015-06-06 Thread Glyph
https://buildbot.twistedmatrix.com/buildslaves/hawkowl-debian7-py34 - which is apparently maintained by "Your Name Here " - is presently failing all its builds because it is running out of memory. Can someone with access to

Re: [Twisted-Python] broken buildbots

2015-06-06 Thread Glyph
> On Jun 6, 2015, at 6:40 PM, Glyph wrote: > > https://buildbot.twistedmatrix.com/buildslaves/hawkowl-debian7-py34 > <https://buildbot.twistedmatrix.com/buildslaves/hawkowl-debian7-py34> - which > is apparently maintained by "Your Name Here <mailto:admin@youraddr

[Twisted-Python] pypy support

2015-06-06 Thread Glyph
Many Twisted core developers (myself included) like to suggest that we run PyPy. We ourselves run PyPy in production. It kinda works. And yet, our test suite is still failing on PyPy after many years. I'd like to suggest that if you have some time to write some code for Twisted this month, yo

Re: [Twisted-Python] [Twisted-web] Twisted is removing Python 2.6 support

2015-06-08 Thread Glyph
a little bit to provide the false impression that Python 2.6 is a "supported" environment where doing new development is OK is not worthwhile. "But glyph", I hear my hypothetical interlocutor say, "didn't you just say Windows XP isn't supported? surely that's mo

Re: [Twisted-Python] [Twisted-web] Twisted is removing Python 2.6 support

2015-06-08 Thread Glyph
> On Jun 8, 2015, at 1:32 AM, Glyph wrote: > > I don't think that we covered terrible well why we are dropping support. So > I'm going to give my take on this, and if Hm... It's like my mail client decided to do an "Undo" right before sending. This s

Re: [Twisted-Python] [Twisted-web] Twisted is removing Python 2.6 support

2015-06-08 Thread Glyph
in some capacity and getting Twisted > supported on more platforms is my primary goal. And as an OS X user, I have > some vested interest in it continuing being supported. I think JP's point is that instead of saying "the OS X builder is going away, and if someone steps up there

Re: [Twisted-Python] [Twisted-web] Twisted is removing Python 2.6 support

2015-06-08 Thread Glyph
sole OS X builder. Another area where redundancy would be nice is when doing upgrades. For example, if the download ever finishes, I'm going to pull the trigger on this Yosemite upgrade, and ... hopefully it works? If it doesn't, we will have zero Mac builders until someone in the data center that is donating hosting can plug a console into that machine and see why it didn't finish booting. There's not really a good way to manage this right now. Finally, it would be nice to actually support multiple pythons on multiple OS versions - all the still supported / updated ones, anyway - and we'd need multiple builders for that. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] [Twisted-web] Twisted is removing Python 2.6 support

2015-06-08 Thread Glyph
arkun-1 > http://buildbot.twistedmatrix.com/buildslaves/osuosl-osx10.6 > > (and incidentally if someone wants to rename the former I think that'd be > nice). Heh, good to know! Is it possible to remotely administer the latter? Thanks, -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] [Twisted-web] Twisted is removing Python 2.6 support

2015-06-08 Thread Glyph
ght = >> to 10.10 and is now our first supported 10.10-py27 builder = >> (http://buildbot.twistedmatrix.com/builders/osx10.10-py2.7/builds/6). So = >> everything's all good with that :) >> >> Amber "Hawkie" Brown >> GPG: https://keybase.io/hawkowl >&

Re: [Twisted-Python] Unsupported buildbots and future supported platforms

2015-06-08 Thread Glyph
> On Jun 8, 2015, at 8:33 AM, Amber Hawkie Brown <mailto:hawk...@atleastfornow.net>> wrote: > > Glyph and I have been discussing the state of "unsupported" buildbots for the > Twisted project, and some of the cleanup of unsupported platforms that I've >

Re: [Twisted-Python] Twisted logger changes

2015-06-08 Thread Glyph
ge you to take advantage of the pre-release testing period to discover issues like this, since it would have been nice to know about this before the final release went out ;-). (Not to say this is your fault though, this is totally our bug, and I'm surprised we didn't catch it given

Re: [Twisted-Python] Should the CFFI wrapper and functions for win32 be a separate project?

2015-06-14 Thread Glyph
good way to express that. But it does have (via extras) a way to express optional dependencies, and if we distributed all the native bindings and speedups as separate packages, we could ultimately fix <https://twistedmatrix.com/trac/ticket/3586 <https://twistedmatrix.com/trac/ticket/3586>>

Re: [Twisted-Python] Proposal -- Code of Conduct

2015-06-21 Thread Glyph
ango, Django credits the "Speak Up!" project, which is CC-BY, apparently from this repository: <https://github.com/jnoller/talk-mentorship>. Another is... is Twisted really distinct enough to need its own CoC? Just s/Django/Twisted might be good enough? (Since this is not a fork

Re: [Twisted-Python] Deferring 201 status code

2015-06-23 Thread Glyph
trates your problem? There are definitely solutions but it sort of depends on exactly how you want this to work. Also, what database are you using? -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Proposal -- Code of Conduct

2015-06-23 Thread Glyph
aboration with other projects so that Twisted developers aren't taking this on, Django being the obvious example. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Proposal -- Code of Conduct

2015-06-23 Thread Glyph
> On Jun 23, 2015, at 11:02 PM, Amber Hawkie Brown > wrote: > > Russ has informed me that it's accessible on > https://github.com/django/djangoproject.com/blob/master/djangoproject/templates/conduct/index.html > >

Re: [Twisted-Python] Porting twisted.spread.banana to py3

2015-07-01 Thread Glyph
it > does. We may actually need to change the wire protocol to allow some applications to continue to work on py3, to allow for a 'text' type that corresponds to Python unicode. This should probably be done after the initial port though. -glyph __

Re: [Twisted-Python] Porting twisted.spread.banana to py3

2015-07-02 Thread Glyph
> On Jul 2, 2015, at 6:13 AM, Itamar Turner-Trauring > wrote: > > > On 2015-07-01 17:33, Glyph wrote: > >> >> We may actually need to change the wire protocol to allow some applications >> to continue to work on py3, to allow for a 'text' type

Re: [Twisted-Python] Porting twisted.spread.banana to py3

2015-07-03 Thread Glyph
# TODO: currently the C implementation's a bit buggy... >sys.maxint * long(3), sys.maxint * long(2), sys.maxint * > long(-2)] > > regards, > Jørn lomax These tests are just making sure that it's capable of serializing things tha

Re: [Twisted-Python] INCOMPATIBLE CHANGE: Removing hotshot from twistd's profiler support

2015-07-07 Thread Glyph
> On Jul 7, 2015, at 7:33 PM, Amber Hawkie Brown > wrote: > > Hotshot is completely broke, and it doesn't exist in Python 3. It is > currently the default for twistd and since it doesn't work, we should just > sidestep the deprecation cycle and remove it, changing the default to > something

Re: [Twisted-Python] Proposed compat policy change in regards to unmaintained upstream dependencies

2015-07-07 Thread Glyph
> On Jul 7, 2015, at 7:41 PM, Amber Hawkie Brown > wrote: > > Hi, > > Since it's been coming up recently, I'm proposing a change to the compat > policy, where removing the use of unmaintained/unsupported upstream > dependencies is an automatic exception. &g

Re: [Twisted-Python] conch defer for dataReceived

2015-07-29 Thread Glyph
> On Jul 28, 2015, at 10:02 PM, Alexey Panyovin wrote: > > I'm use self made queue for my task. > I'll try to amp. > > Thanks glyph! Good luck Alexey! Thanks for using Twisted! Please feel free to ask any more questions you h

[Twisted-Python] failing coverage builders

2015-08-06 Thread Glyph
The python 3.4 coverage builders are failing, apparently because one of the builders is down:

Re: [Twisted-Python] failing coverage builders

2015-08-06 Thread Glyph
> On Aug 6, 2015, at 4:32 PM, Amber Hawkie Brown > wrote: > > Hi Glyph, > > I'll take a look. > > I find the combined codecov rather valuable for figuring out what isn't > covered on either, but I'll remove it for now. I already removed it earlier,

Re: [Twisted-Python] Blacklisting hosts

2015-08-09 Thread Glyph
ur application. There is a shortcut in Twisted, at least, although it does not actually refuse the initial connection for the reasons listed above; you can examine the "addr" passed to IProtocolFactory.buildProtocol and return None. -glyph __

Re: [Twisted-Python] List admin attention

2015-08-11 Thread Glyph
> On Aug 11, 2015, at 8:33 AM, Phil Mayers wrote: > > Someone please un-sub this person? If I've done my job right this message will not receive an autoreply... -glyph ___ Twisted-Python mailing list Twisted-Python@twistedm

[Twisted-Python] incompatible change in 15.3 - something reviewers should look for

2015-08-11 Thread Glyph
e, so we probably won't do that, but please keep an eye out in the future. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2015-08-28 Thread Glyph
gt; I'll try the obvious (upgrade twisted to current) and see what happens. > > [[https://gist.github.com/jason-kane/18f1516d7c1ef381b35e|Gist of my > diagnostic]] Would you mind re-posting this to a comment, as it should work now? If you have more problems with the spam filter I&#x

Re: [Twisted-Python] Auto-Re: Weekly Bug Summary

2015-08-30 Thread Glyph
out our configuration, so I'm not sure what has happened. Did some other mail server change how it did auto-responses recently? -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2015-09-04 Thread Glyph
> On Sep 4, 2015, at 01:04, Amber Hawkie Brown > wrote: > > On behalf of Twisted Matrix Laboratories, I am honoured to announce the > release of Twisted 15.4, codenamed "Trial By Fire". Hooray Twisted! Hooray Amber! This release is a particularly big deal, because: > - Trial has been ported

Re: [Twisted-Python] npyscreen Twisted Reactor

2015-09-04 Thread Glyph
lly within Twisted to avoid confusion. Would you consider adopting the community naming conventions for packages ("tx")? As a bonus, this might shorten the name a bit. Perhaps "ntxscreen", or "txnpyscreen"? Thanks! -glyph > On Sep 4, 2015, at 08:47, Nicholas Col

Re: [Twisted-Python] Exception's Implicit Public API, and Python 3

2015-09-05 Thread Glyph
make when porting your own code, and the onus is on Autobahn in this case. Put differently, Twisted's "the first one's free" policy applies to upgrading Twisted itself, and not to upgrading Python (or any other dependency). If you upgrade Python and you need to update y

Re: [Twisted-Python] understanding IConsumer

2015-09-07 Thread Glyph
e I'm not sure what you mean about "how it gets triggered"; the producer and consumer APIs are documented here: <https://twistedmatrix.com/documents/15.4.0/core/howto/producers.html <https://twistedmatrix.com/documents/15.4.0/core/howto/producers.html>&

Re: [Twisted-Python] HAProxy and twisted TCP/IP support

2015-09-07 Thread Glyph
ssage. Does that make sense? If I have an idle moment I might try my hand at an implementation myself, but I am not always super reliable ;-). > Thanks > Zuhaib -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Exception's Implicit Public API, and Python 3

2015-09-07 Thread Glyph
> On Sep 7, 2015, at 10:55 PM, Adi Roiban wrote: > >> It's Python's API which has changed here, so I don't think that it's >> Twisted's responsibility to replicate this behavior. Subclassing is bad, >> and Python's changes of public attributes to such a core language-feature >> level class as E

Re: [Twisted-Python] error on log module (twisted python 3)

2015-09-08 Thread Glyph
le was not fully ported as of Twisted 15.4; just the syntax. So this error is expected. However, you may be pleased to hear that the fix landed last week: https://twistedmatrix.com/trac/ticket/6749 <https://twistedmatrix.com/trac/ticket/6749> and will be in 15.5. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Converting str to bytes in Py3 port

2015-09-08 Thread Glyph
ields to be text rather than any bytes. > > Thanks for your feedback! Thank you for prompting this conversation, adi, we do need a better communicated strategy around how we handle text and encodings when protocols stipulate that the things they're dealing with are text. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Asynchronously initializing objects in twisted.web?

2015-09-08 Thread Glyph
> On Sep 8, 2015, at 9:07 AM, Phil Mayers wrote: > > Load the resources in a callback using "reactor.callWhenRunning" and only > then call reactor.listenTCP or whatever. Just trying to use every opportunity I can to say this: don't use listenTCP, use endpoints: https://twistedmatrix.com/docu

Re: [Twisted-Python] doc breakage

2015-11-27 Thread Glyph
> On Nov 28, 2015, at 1:39 AM, Amber Hawkie Brown > wrote: > > >> On 27 Nov 2015, at 20:10, Phil Mayers wrote: >> >> Does this look right? >> >> https://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IReadWriteDescriptor.html >> >> Looks like docs for logPrefix has sto

Re: [Twisted-Python] Is ticket #7934 still relevant?

2016-03-15 Thread Glyph
stems, like Logstash. If you're interested in logging there's lots to do. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] [Twisted-web] upcoming changes to twistedmatrix.com mail infrastructure

2016-03-19 Thread Glyph
> On Mar 16, 2016, at 12:06 PM, Phil Mayers wrote: > > On 16/03/16 18:52, Glyph wrote: >> Over the last few months, twistedmatrix.com <http://twistedmatrix.com>'s >> mailman installation has been used increasingly frequently to execute >> denial-of-serv

Re: [Twisted-Python] Cannot perform IPv6 Link-Local Multicast on Twisted

2016-03-19 Thread Glyph
t, protocol, interface='', maxPacketSize=8192, listenMultiple=False): p = MyMulticastPort(port, protocol, interface, maxPacketSize, reactor, listenMultiple) p.startListening() return p Note that this is totally

[Twisted-Python] upcoming changes to twistedmatrix.com mail infrastructure

2016-03-19 Thread Glyph
s won't notice, but I wanted it to be clear in advance that they were intentional, in case there is some disruption associated with them :-). If anyone wants to give me a hand with parts of this (for example, setting up a smarthost configuration so that trac can still send email) please let me know. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Ticket #8244 (old-style decorator)

2016-03-22 Thread Glyph
understanding about the way the ticket's steps are outlined? -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Ticket #8244 (old-style decorator)

2016-03-23 Thread Glyph
> On Mar 23, 2016, at 9:22 AM, L. Daniel Burr wrote: > > My concern is that, should these classes be converted into hybrids via the > @oldStyle decorator, my service may experience some reduction in the number > of requests per second that it handles If oldStyle converts the classes into hybr

Re: [Twisted-Python] Ticket #8244 (old-style decorator)

2016-03-23 Thread Glyph
> On Mar 23, 2016, at 2:10 PM, L. Daniel Burr wrote: > > Hi Glyph, > On March 23, 2016 at 1:39:53 PM, Glyph (gl...@twistedmatrix.com > <mailto:gl...@twistedmatrix.com>) wrote: > >> >>> On Mar 23, 2016, at 9:22 AM, L. Daniel Burr >> <mailto:ld

Re: [Twisted-Python] Ticket #8244 (old-style decorator)

2016-03-23 Thread Glyph
> On Mar 23, 2016, at 3:19 PM, Tom Prince wrote: > > Nothing about #8264's *requirements* leads to hybrid classes. But the > implementation makes *every* currently old-style class into a > hybrid-class.. Looks like the implementation needs to be revisited then :). -glyph___

Re: [Twisted-Python] how to implement login form logic with twisted.cred checkers, credentials and portal

2016-03-23 Thread Glyph
ompatible IResource interface, and not Twisted's IResource. Have you tried anything and gotten stuck or were you just curious about how it might be done? I've filed a ticket here: https://twistedmatrix.com/trac/ticket/8248 <https://twistedmatri

Re: [Twisted-Python] Intended semantics of IReactorTime.seconds

2016-03-27 Thread Glyph
> an IReactorTime provider for testing purposes, and I'm wondering if I need a > separate provider of `datetime.now()` functionality or not) We really should have a .seconds() wrapper that returns a datetime, yes, since .now() and .utcnow() somewhat subtly are doing I/O. -glyph

[Twisted-Python] upcoming OSCAR protocol removal

2016-03-29 Thread Glyph
ed in keeping it working against the production AIM service. If you are interested in keeping this code alive, act quickly, before the deprecation makes it into a release and clears the way for a subsequent removal :-). -glyph ___ Twisted-Python mail

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

2016-03-30 Thread Glyph
ike we stopped shipping 32-bit wheels with the 15.5 release. HawkOwl, was this an intentional change, or just a release oversight? (I don't personally recall an announcement of this.) -glyph ___ 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 Glyph
vironments, 32-bit windows is still quite popular; we should probably keep shipping 32-bit wheels, and it's definitely possible to generate them on a 64-bit guest. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://tw

Re: [Twisted-Python] ANN: txJSON-RPC 0.5 released

2016-03-30 Thread Glyph
hank Duncan for his previous > work and for entrusting me with maintainership of txJSON-RPC going > forward. It's awesome that support for this popular protocol is now actively maintained again - thanks for the announcement. -glyph ___ Twisted-

Re: [Twisted-Python] Windows spawnProcess - Child process inherits files and sockets (POSIX does not)

2016-03-31 Thread Glyph
or your feedback, Thanks for using Twisted, thanks doubly for trying to contribute, and very sorry for the slow response. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] upcoming changes to twistedmatrix.com mail infrastructure

2016-03-31 Thread Glyph
> On Mar 16, 2016, at 11:52 AM, Glyph wrote: > > Over the last few months, twistedmatrix.com <http://twistedmatrix.com/>'s > mailman installation has been used increasingly frequently to execute > denial-of-service attacks against people's mailboxes. This is

Re: [Twisted-Python] web.client.readbody

2016-04-04 Thread Glyph
> On Apr 3, 2016, at 7:06 AM, John Aherne wrote: > > I was obviously half-asleep when I posted the previous email. > > Doing more tests, it would seem that only googlemaps is giving me this > problem. > Is the request in question one you expect no data from? -g _

Re: [Twisted-Python] Running trial on windows

2016-04-04 Thread Glyph
ipts entry points, we don't get .exe files generated on Windows, and so the wrong thing may be happening when you type 'trial'. IIRC the way to ask cmd.exe this is 'where trial'. -glyph ___ Twisted-Python mailing list Twist

Re: [Twisted-Python] SSL wincertstore Ticket 6371

2016-04-04 Thread Glyph
ttp://m.root-servers.net/>', > )> > > twisted.names.test.test_tap.OptionsTests.test_recursiveConfiguration > --- > Ran 11184 tests in 84.952s > > FAILED (skips=2946, errors=1, successes

Re: [Twisted-Python] SSl wincertstore Ticket 6371

2016-04-04 Thread Glyph
> On Apr 4, 2016, at 2:56 AM, John Aherne wrote: > > I have done a clean download of twisted and run the tests without any changes. OK. This is a bug we should investigate, but I think we can safely say it's a separate bug and not one which will cause your patch to fail review. -glyph___

Re: [Twisted-Python] running trial on windows

2016-04-04 Thread Glyph
> On Apr 4, 2016, at 1:39 AM, John Aherne wrote: > > I have to specify a really long path to pick up the copy of trial.py for the > virtualenv I am working in. > > I specify the virtualenv python I want to run with and then the path to > trial.py then the test I want to run. > > It would app

Re: [Twisted-Python] Sysadmin seeking projects

2016-04-05 Thread Glyph
> On Apr 5, 2016, at 3:24 PM, Mike Burns wrote: > > Hi all, > > tl;dr sysadmin wants to help Twisted. How do? HOORAY! > I've been lurking on this list (and irc) for a while with the intention of > lending a hand with some of the infrastructure tasks Glyph has f

Re: [Twisted-Python] Crochet 1.5.0: Use Twisted in Django, Flask, or anywhere else

2016-04-13 Thread Glyph
ochet into Twisted proper, so we can obviate the need for the 'setup()' step, and just have the reactor do that itself? -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Crochet 1.5.0: Use Twisted in Django, Flask, or anywhere else

2016-04-13 Thread Glyph
> On Apr 13, 2016, at 16:50, Itamar Turner-Trauring wrote: > > On 04/13/2016 06:52 PM, Glyph wrote: >> >> Do you think maybe it's time to integrate Crochet into Twisted proper, so we >> can obviate the need for the 'setup()' step, and just have

Re: [Twisted-Python] Crochet 1.5.0: Use Twisted in Django, Flask, or anywhere else

2016-04-14 Thread Glyph
> On Apr 14, 2016, at 5:45 AM, Itamar Turner-Trauring > wrote: > > Crochet is a pile of these sort of horrible hacks, encapsulated in one place > and hidden as much as possible. But there's rough edges that poke out > occasionally. I'm not sure Twisted ought to be that kind of library. We a

Re: [Twisted-Python] twisted listening on UDP port, why?

2016-04-19 Thread Glyph
> On Apr 19, 2016, at 4:32 PM, Jonathan Vanasco wrote: > > I'm trying to lock down a box, and came across a peculiarity with a twisted > dameon -- it's binding to 0.0.0.0 for UDP on an arbitrary port > > I can'f figure out why this is happening -- I'm not consciously/explicitly > using anythi

Re: [Twisted-Python] twisted listening on UDP port, why?

2016-04-20 Thread Glyph
> On Apr 20, 2016, at 3:42 PM, Jonathan Vanasco wrote: > > > On Apr 20, 2016, at 1:31 PM, Jonathan Vanasco wrote: > >> A specific library was keeping the port open. I'm tracking down how/why >> right now. > > So this was fun thing to learn... > > An undocumented (yay) feature of python ap

Re: [Twisted-Python] Cause epollreactor to busyspin

2016-04-20 Thread Glyph
leep_clown_will_eat_me() Does this actually improve your latency? -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] IPv6 comparison handling

2016-04-24 Thread Glyph
80::", 0) b = IPv6Address("UDP", "fe80::00:00", 0) a == b but right now that doesn't work. A patch that fixes it would be much appreciated though! -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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