Re: [Twisted-Python] [ANN] txAWS 0.4.0

2017-07-13 Thread Glyph Lefkowitz
> On Jul 11, 2017, at 3:41 AM, Jean-Paul Calderone > wrote: > > Do you see particular similarities between boto/boto3 and txAWS? Do you > think there is something to be gained by explicitly mirroring something done > in those libraries? The major thing to be gained by mimicking boto3, speci

[Twisted-Python] new core contributor

2017-04-22 Thread Glyph Lefkowitz
As per our previously documented entirely arbitrary[1] and ad-hoc[2] process, I'd like to welcome - should he choose to accept it - Tom Most to be a member of the Twisted project. You've probably seen him around on IRC, as 'twm'. Tom's been reporting nuanced web-related bugs in Twisted since a

Re: [Twisted-Python] Welcome to the "Twisted-Python" mailing list

2017-04-19 Thread Glyph Lefkowitz
> On Apr 19, 2017, at 5:21 PM, Jean-Paul Calderone > wrote: > > On Wed, Apr 19, 2017 at 4:11 PM, Adam Wozniak > wrote: > This is a problem in twisted. Buldbot uses twisted. > > To make buildbot git polling work for me, I had to make the change below. > > Base

Re: [Twisted-Python] Twisted and Flask or Django

2017-04-18 Thread Glyph Lefkowitz
> On Apr 18, 2017, at 10:29 PM, Glyph Lefkowitz wrote: > > Do be honest *facepalm*. "To". To be honest.___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted and Flask or Django

2017-04-18 Thread Glyph Lefkowitz
> On Apr 18, 2017, at 9:02 PM, Craig Rodrigues wrote: > > On Mon, Apr 17, 2017 at 2:10 AM, Hynek Schlawack > wrote: > > I have to disagree here BTW. When I started using Twisted as a WSGI > container, I was vexed by its lack of docs (and I’m still confused about many > de

Re: [Twisted-Python] Elliptic Curve support

2017-04-18 Thread Glyph Lefkowitz
> On Apr 18, 2017, at 10:25 AM, Thedore Oidelson wrote: > > Glyph, I understand your and other's concerns, and while clearly I feel a > little differently, my real concern was how the curves I was using were > suddenly not supported at all. Which is why I think the API you and Tobias > sugges

Re: [Twisted-Python] Twisted and Flask or Django

2017-04-18 Thread Glyph Lefkowitz
> On Apr 18, 2017, at 12:45 AM, Pantelis Theodosiou wrote: > > Great, I'll be happy to do that. I think if you log in you should be able to create and edit most pages, although the front page will be locked. Let me know if that is not the case. -g

Re: [Twisted-Python] Twisted and Flask or Django

2017-04-18 Thread Glyph Lefkowitz
> On Apr 17, 2017, at 10:09 PM, Hynek Schlawack wrote: > > Oh and I’d like to propose to officially merge the twisted-web mailing list > into this one. I don’t think it makes any sense to separate those two > anymore. It’s hard to do anything without web nowadays. :) I'm definitely inclined

Re: [Twisted-Python] Elliptic Curve support

2017-04-17 Thread Glyph Lefkowitz
> On Apr 17, 2017, at 9:46 AM, Thedore Oidelson wrote: > > I'm taking Glyph's suggestion and bringing this to the mailing list. :) Thank you :). Hopefully some people more qualified than me will comment... > I still believe it was unwise to remove the support for the extra EC curves > in PR

Re: [Twisted-Python] [ANN] kubetop 17.4.17.1

2017-04-17 Thread Glyph Lefkowitz
> On Apr 17, 2017, at 10:24 AM, Jean-Paul Calderone > wrote: > > Hello all, > > I'm pleased to announce the initial release of kubetop, a command-line tool > in the style of top(1) for displaying current usage and activity of a > Kubernetes cluster. Personally I'm not using Kubernetes much,

Re: [Twisted-Python] Twisted and Flask or Django

2017-04-17 Thread Glyph Lefkowitz
> On Apr 16, 2017, at 11:10 PM, Hynek Schlawack wrote: > > >> For the most part, general WSGI documentation should get you most of the way >> there with specific frameworks though. This used to be a lot worse but in >> recent years there's been a lot of convergence. > > I have to disagree h

Re: [Twisted-Python] Twisted and Flask or Django

2017-04-16 Thread Glyph Lefkowitz
> On Apr 16, 2017, at 8:27 AM, Pantelis Theodosiou wrote: > > Thank you, this looks very interesting. > > As I was planning to ask a relevant question, let me add it here: > > Are there any similar resources for other web frameworks, for example > Pyramid? And when I say resources, I mean talk

Re: [Twisted-Python] [ANN] txkube 0.1.0

2017-04-11 Thread Glyph Lefkowitz
> On Apr 11, 2017, at 4:14 AM, Jean-Paul Calderone > wrote: > > On Tue, Apr 11, 2017 at 1:15 AM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Apr 10, 2017, at 11:11 AM, Jean-Paul Calderone > <mailto:exar...@twistedmatrix.com>> w

Re: [Twisted-Python] [ANN] txkube 0.1.0

2017-04-10 Thread Glyph Lefkowitz
> On Apr 10, 2017, at 11:11 AM, Jean-Paul Calderone > wrote: > > Hello all, > > I'm pleased to announce the first release of txkube, a Twisted-based library > for interacting with Kubernetes using the HTTP API. ✨³✨🎉 > This release supports several of the most commonly used basic Kubernetes

Re: [Twisted-Python] automatic subscription should be working again

2017-03-30 Thread Glyph Lefkowitz
> On Mar 30, 2017, at 4:45 AM, Evilham wrote: > > Hey Glpyh, > > Am 30/03/2017 um 10:14 schrieb Glyph Lefkowitz: >> This is probably a bigger deal to me than anyone else, since making sure >> our abysmal mail infrastructure didn't fall over and stop delivering &

[Twisted-Python] automatic subscription should be working again

2017-03-30 Thread Glyph Lefkowitz
The web forms at https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python as well as https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web shou

Re: [Twisted-Python] Is this turned on right now?

2017-03-25 Thread Glyph Lefkowitz
> On Mar 25, 2017, at 5:20 PM, Glyph Lefkowitz wrote: > > The answer should be "no", I believe it will bounce. Oops! Mail delivery retries to the rescue :). Aside from an extremely exciting hour where I accidentally created a suppression for my own address and could not

[Twisted-Python] Is this turned on right now?

2017-03-25 Thread Glyph Lefkowitz
The answer should be "no", I believe it will bounce. -g ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2017-03-25 Thread Glyph Lefkowitz
> On Mar 25, 2017, at 1:21 PM, Chris Norman > wrote: > > Hi, > > What needs taking over on the mailing list side? I'd love to help out if > possible. > Hi Chris! Thanks for volunteering. If you'd like to help out with infrastructure _generally_, there's a channel on freenode, #twisted-ad

[Twisted-Python] in case there's downtime

2017-03-24 Thread Glyph Lefkowitz
We've been very conservative about upgrading our operating system on twistedmatrix.com , since we don't want to disrupt anything. Since our OS is one release too old to support Docker, that unfortunately means we haven't been able to migrate incrementally to containe

Re: [Twisted-Python] Bugs #8264 and #8037 seems to be duplicates

2017-03-16 Thread Glyph Lefkowitz
> On Mar 16, 2017, at 1:36 AM, Роман Мещеряков > wrote: > > > Maybe one of them should be closed as duplicate: > > #8264 STDLibLoggingObserver > doesn't log traceback from unhandled Deferred errors > #8037

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-15 Thread Glyph Lefkowitz
> On Mar 15, 2017, at 8:28 AM, Роман Мещеряков > wrote: > > > > Are you running the latest `tox`? (tox --version == 2.6.0) > Yes > > > This is not the first time you've run 'tox', or it would have the > > 'narrativedocs create' line above. Did you see what happened on the > > earlier run

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-14 Thread Glyph Lefkowitz
> On Mar 14, 2017, at 6:28 AM, Роман Мещеряков > wrote: > > I installed libffi-dev and libssl-dev Raspbian packages, and run "tox -e > narrativedocs" again. Now the error was about missing "sphinx-build" > executable. So I activated virtualenv where Sphinx was previously installed > and agai

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-14 Thread Glyph Lefkowitz
> On Mar 14, 2017, at 12:53 AM, Роман Мещеряков > wrote: > > I decided to try Glyph's suggestion first. > By the way, I'm trying to compile twisted documentation on Raspbian, is this > platform suitable for that? > The steps I performed just were: > sudo pip install tox (Glyph said I shouldn't

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-13 Thread Glyph Lefkowitz
> On Mar 13, 2017, at 9:24 PM, Craig Rodrigues wrote: > > > > On Mon, Mar 13, 2017 at 12:58 PM, Роман Мещеряков > mailto:romanmescherya...@yandex.ru>> wrote: > > > Exception occurred: > File "conf.py", line 45, in > from twisted import version as twisted_version_object > ImportErro

Re: [Twisted-Python] non-merge commits to trunk & "review" keyword

2017-03-07 Thread Glyph Lefkowitz
> On Mar 7, 2017, at 10:40 AM, Craig Rodrigues wrote: > > > > On Mon, Mar 6, 2017 at 8:37 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > > > Craig, since you're the one who made this merge, can you explain what > happened? Has gith

Re: [Twisted-Python] non-merge commits to trunk & "review" keyword

2017-03-06 Thread Glyph Lefkowitz
> On Mar 6, 2017, at 9:02 PM, Tristan Seligmann wrote: > > On Tue, 7 Mar 2017 at 06:38 Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > > This is definitely bad, forbidden by existing policy, etc. In fact I > remember adjusting the settings so that the

Re: [Twisted-Python] non-merge commits to trunk & "review" keyword

2017-03-06 Thread Glyph Lefkowitz
> On Mar 6, 2017, at 6:03 PM, Jean-Paul Calderone > wrote: > > Hello, > > GitHub apparently allows fast-forward merges to trunk. Here's an example of > one: > > https://github.com/twisted/twisted/pull/730 > > > This doesn't seem like a good

Re: [Twisted-Python] twistedmatrix.com TLS certificate

2017-03-06 Thread Glyph Lefkowitz
> On Mar 6, 2017, at 12:16 AM, Cory Benfield wrote: > > >> On 6 Mar 2017, at 07:22, Tristan Seligmann > > wrote: >> >> twistedmatrix.com 's current certificate is >> issued by StartCom Certification Authority; for certificates issued

Re: [Twisted-Python] HTTP Agent persistent connections not closed for some HTTPS sites

2017-03-05 Thread Glyph Lefkowitz
> On Mar 5, 2017, at 6:25 AM, Tristan Seligmann wrote: > > I think this code should either call abortConnection directly, or set a timer > which will abort the connection after a little while if a clean shutdown from > loseConnection has not completed yet. I' > Agreed - did someone file a bu

Re: [Twisted-Python] TruBrain user activation

2017-03-03 Thread Glyph Lefkowitz
> some password... It seems I wasn't supposed to do that :( Should I delete > that new TruBrain account? > > -- > Kind regards, Roman Mescheryakov > > > > 03.03.2017, 12:29, "Glyph Lefkowitz" : >> Hi all, >> >> I have no idea h

Re: [Twisted-Python] TruBrain user activation

2017-03-03 Thread Glyph Lefkowitz
Hi all, I have no idea how this bot got subscribed to the list, but, I've unsubscribed and banned them. Sorry! -glyph > On Mar 3, 2017, at 12:04 AM, Team at TruBrain wrote: > > Hi Twisted general discussion, > > A new TruBrain account has been created for you. _

Re: [Twisted-Python] How to restart Twisted service in-process

2017-03-01 Thread Glyph Lefkowitz
> On Mar 1, 2017, at 9:46 AM, Роман Мещеряков > wrote: > > Then the next question is: how to run my .tac file with twist? I don't see > option like '-y' in it's --help output. We haven't implemented .tac files for `twist` yet; you can either add that feature :) or you can write a twist plugin

Re: [Twisted-Python] How to restart Twisted service in-process

2017-02-28 Thread Glyph Lefkowitz
> On Feb 28, 2017, at 8:11 AM, Роман Мещеряков > wrote: > > Hello everyone, > today I tried restarting twisted service using sys.execv, and it fails with > the following message: > > > 2017-02-28T18:39:47+0300 [ready_to_setup#debug] Before os.execv: > > sys.executable is /usr/bin/python and

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-27 Thread Glyph Lefkowitz
> On Feb 27, 2017, at 4:05 PM, Clayton Daley wrote: > > On Sun, Feb 26, 2017 at 1:08 AM, Hynek Schlawack > wrote: > >> Are you talking about building Docker containers on the fly? > > I’m a bit baffled what gave you that idea after I’ve spent days arguing for > strict buil

Re: [Twisted-Python] Removing support for old Python 3 versions

2017-02-27 Thread Glyph Lefkowitz
Tom Most wrote: > > Yes, this is what my Raspbian system reports: > > Python 3.4.2 (default, Oct 19 2014, 13:31:11) > [GCC 4.9.1] on linux > > ---Tom > > On Fri, Feb 24, 2017 at 6:01 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >>

Re: [Twisted-Python] Test coverage requirements

2017-02-27 Thread Glyph Lefkowitz
> On Feb 27, 2017, at 3:33 PM, Jean-Paul Calderone > wrote: > > On Mon, Feb 27, 2017 at 6:00 PM, Tristan Seligmann <mailto:mithra...@mithrandi.net>> wrote: > On Mon, 27 Feb 2017 at 21:54 Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > That s

Re: [Twisted-Python] trac spam

2017-02-27 Thread Glyph Lefkowitz
> On Feb 27, 2017, at 5:49 AM, Jean-Paul Calderone > wrote: > > On Mon, Feb 27, 2017 at 8:41 AM, Adi Roiban > wrote: > On 27 February 2017 at 12:59, Jean-Paul Calderone > mailto:exar...@twistedmatrix.com>> wrote: > > Tickets 9058 and 9059 are spam. I would have cleaned

Re: [Twisted-Python] Test coverage requirements

2017-02-27 Thread Glyph Lefkowitz
> On Feb 26, 2017, at 3:51 PM, Jean-Paul Calderone > wrote: > > Hi, > > I'm looking at some recent > trunk > commits >

Re: [Twisted-Python] catching twisted pyqt segmentation fault

2017-02-27 Thread Glyph Lefkowitz
BD0F90551F9ABB6 --lang=en-US > --enable-pinch --num-raster-threads=2 --content-image-texture-target=3553 > > QT can sometimes be helpful, but bug resolution can take a while. > > Any suggestions outside of twisted for detecting segfaults? I'm thinking > just to monitor /var

Re: [Twisted-Python] catching twisted pyqt segmentation fault

2017-02-26 Thread Glyph Lefkowitz
> On Feb 25, 2017, at 4:41 PM, Kevin Mcintyre wrote: > > I have a long running twisted pyqt process which occasionally throws a > Received signal 11. > > I believe it's in the underlying QtWebEngineView since the twisted process > continues to run. Whatever the reason I would like to figur

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-25 Thread Glyph Lefkowitz
> On Feb 25, 2017, at 3:57 PM, Clayton Daley wrote: > > On Sat, Feb 25, 2017 at 5:50 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Feb 25, 2017, at 9:03 AM, Clayton Daley > <mailto:clayton.da...@gmail.com>> wrote: >> >&g

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-25 Thread Glyph Lefkowitz
> On Feb 25, 2017, at 9:03 AM, Clayton Daley wrote: > > Are you talking about building Docker containers on the fly? Pretty sure Hynek has proper build-server/production separation. > We use Docker extensively, but our build machine makes images that we push to > Dockerhub (private repos). T

Re: [Twisted-Python] Removing support for old Python 3 versions

2017-02-24 Thread Glyph Lefkowitz
> On Feb 24, 2017, at 3:29 PM, Tom Most wrote: > > On Thu, Feb 23, 2017 at 1:30 AM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > > Is there a "pre-installed on hardware that's hard to change" issue here? Do > Raspbian users general

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-23 Thread Glyph Lefkowitz
> On Feb 23, 2017, at 4:04 AM, James Broadhead wrote: > > On 23 February 2017 at 08:36, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > > Go's build toolchain has many features worth envying but most of its > advantages have to do with deployment

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-23 Thread Glyph Lefkowitz
> On Feb 23, 2017, at 2:51 AM, Phil Mayers wrote: > > On 23/02/17 10:27, Hynek Schlawack wrote: > >> What I don't quite understand is how people can be in love with Go’s >> static linking but complaining about Virtualenvs in deployments. >> Unwieldy as virtualenvs are: *for Python code* they ar

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-23 Thread Glyph Lefkowitz
> On Feb 23, 2017, at 4:12 AM, Phil Mayers wrote: > > On 23/02/17 09:11, Glyph Lefkowitz wrote: > >> Yes, and building these binary artifacts is often harder than some >> people (cough, alpine, cough) seem to think. But there are better ways >> to square this ci

Re: [Twisted-Python] Removing support for old Python 3 versions

2017-02-23 Thread Glyph Lefkowitz
> On Feb 22, 2017, at 9:50 AM, Jeffrey Ollie wrote: > > On Tue, Feb 21, 2017 at 2:27 AM, Hynek Schlawack > wrote: > > 3.3 should die immediately. 3.4 should follow ASAP.only the latest two or so > are worth supporting. > > Debian Jessie (which also means Raspbian Jessie,

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-23 Thread Glyph Lefkowitz
> On Feb 22, 2017, at 10:16 AM, Phil Mayers wrote: > > On 22/02/17 17:42, Hynek Schlawack wrote: > >> I have to disagree here: I don’t want build tools of any kind in my >> final containers therefore I build my artifacts separately no matter >> what language. Of course you can just build the

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-23 Thread Glyph Lefkowitz
> On Feb 22, 2017, at 9:42 AM, Hynek Schlawack wrote: > >>> I don’t see how that’s tedious since a compute does that for me. >>> Although I don’t see any value at wheeling them (and some packages >>> cannot be wheeled); my CI builds a venv and puts it into a container. >>> There’s nothing tediou

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-23 Thread Glyph Lefkowitz
> On Feb 22, 2017, at 9:35 AM, Steve Waterbury wrote: > > On 02/22/2017 12:23 PM, Phil Mayers wrote: >> On 22/02/17 15:00, Steve Waterbury wrote: >> >>> Have you considered the 'conda' package manager? >> >> I've never come across it. It looks too big for me to give a quick >> opinion on, but

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-23 Thread Glyph Lefkowitz
> On Feb 22, 2017, at 9:17 AM, Phil Mayers wrote: > > On 22/02/17 13:06, Jean-Paul Calderone wrote: > >> Ah! They are now, maybe you haven't seen them? >> >> Check out https://github.com/pypa/manylinux and >> https://github.com/pypa/python-manylinux-demo > > I had not seen this. Thanks, this

Re: [Twisted-Python] Python3 twistd daemon for Ubuntu 14.04 alternatives

2017-02-22 Thread Glyph Lefkowitz
> On Feb 21, 2017, at 9:28 AM, Dave Curtis wrote: > > Hi, so for my first post to the list I am going to ask a somewhat lame > question. Apologies if this is not the right list -- clues welcome. This is totally the right list. All discussion of Twisted is welcome! > So my problem is that wh

Re: [Twisted-Python] Removing support for old Python 3 versions

2017-02-21 Thread Glyph Lefkowitz
> On Feb 21, 2017, at 8:31 AM, jonathan vanasco wrote: > > Dropping 3.3 makes sense, as does deprecating 3.4 > > The only thing I suggest/request is a webpage (and possibly txtfile in the > source) that lists the supported Python versions. When people runs into > issues, finding this info qui

Re: [Twisted-Python] Removing support for old Python 3 versions

2017-02-20 Thread Glyph Lefkowitz
> On Feb 20, 2017, at 2:03 PM, Donald Stufft wrote: > > >> On Feb 20, 2017, at 4:46 PM, Amber Brown > > wrote: >> >> With this rationale, I propose that the next version of Twisted (most likely >> 17.3) will be the last to support Python 3.3. >> > > > FWI

Re: [Twisted-Python] trial cant find my class, example from twisted docs

2017-02-20 Thread Glyph Lefkowitz
> On Feb 20, 2017, at 5:02 AM, steven meiers wrote: > > any idea why this does not work? Most likely you are being bitten by the recent change to not add '.' to sys.path automatically. Does `PYTHONPATH=. trial ...` run your code as expected? -g___

Re: [Twisted-Python] How to restart Twisted service in-process

2017-02-20 Thread Glyph Lefkowitz
> On Feb 20, 2017, at 00:58, Роман Мещеряков > wrote: > > > Hi everyone, > > The answers are below > > -- > Kind regards, Roman Mescheryakov > > > 19.02.2017, 02:21, "Jean-Paul Calderone" <mailto:exar...@twistedmatrix.com>

Re: [Twisted-Python] announcing: txmix, a twisted python mixnet library

2017-02-19 Thread Glyph Lefkowitz
> On Feb 19, 2017, at 12:56, David Stainton wrote: > > Hi. I'd like to announce txmix, a library for writing mixnets in python. > > https://github.com/applied-mixnetworks/txmix > > txmix is GPL3 licensed and currently depends on: > sphinxmixcrypto, Twisted, txtorcon, attrs, eliot > and Tor Proj

[Twisted-Python] (Potential) Twisted sprint in San Francisco - anyone want to help organize?

2017-02-18 Thread Glyph Lefkowitz
Hi all, For those of you that live in the SF bay area, the SF Python Meetup is holding a sprint in almost exactly one month from today: https://www.meetup.com/sfpython/events/234926664/ Personally, I'm a bit tapped out at the moment in terms

Re: [Twisted-Python] How to restart Twisted service in-process

2017-02-18 Thread Glyph Lefkowitz
> On Feb 18, 2017, at 3:19 PM, Jean-Paul Calderone > wrote: > > (If not, what do you do when your daemon simply crashes)? Twisted programs can crash!??! -g___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cg

Re: [Twisted-Python] How to restart Twisted service in-process

2017-02-18 Thread Glyph Lefkowitz
> On Feb 2, 2017, at 1:17 AM, Роман Мещеряков > wrote: > > Hello everyone! I wrote Twisted-based TCP server which is capable of running > in several relatively different modes. When mode switch is needed, I would > like the server to restart itself by some means, for it to read new mode from

Re: [Twisted-Python] Twisted 17.1 Release Announcement

2017-02-17 Thread Glyph Lefkowitz
> On Feb 17, 2017, at 9:48 AM, Jean-Paul Calderone > wrote: > > On Thu, Feb 16, 2017 at 12:47 AM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Feb 15, 2017, at 6:51 AM, Jean-Paul Calderone > <mailto:exar...@twistedmatrix.com>> w

Re: [Twisted-Python] Trial & Hypothesis

2017-02-15 Thread Glyph Lefkowitz
> On Feb 15, 2017, at 10:30 AM, Jean-Paul Calderone > wrote: > > Hey all, > > A few folks had an IRC discussion about improving the trial & hypothesis > experience. I took some notes and thought I'd share them here in case anyone > else is interested. > > We're planning to pick up the disc

Re: [Twisted-Python] Twisted 17.1 Release Announcement

2017-02-15 Thread Glyph Lefkowitz
> On Feb 15, 2017, at 6:11 AM, Tristan Seligmann > wrote: > > On Wed, 15 Feb 2017 at 15:23 Jean-Paul Calderone > wrote: > > I wonder about the details of how treq's failures went unnoticed. Is > development sufficiently inactive that no one looked at CI bet

Re: [Twisted-Python] Twisted 17.1 Release Announcement

2017-02-15 Thread Glyph Lefkowitz
> On Feb 15, 2017, at 6:51 AM, Jean-Paul Calderone > wrote: > > It doesn't sound crazy to say "treq 16.12.0 test suite should be required to > pass for Twisted trunk@HEAD (at least until around Twisted 17.12, probably?). That seems like a reasonable requirement, yes. -g

Re: [Twisted-Python] Hanging SFTP client operations on server disconnection

2017-02-15 Thread Glyph Lefkowitz
> On Feb 15, 2017, at 12:39 AM, Tristan Seligmann > wrote: > > On Wed, 15 Feb 2017 at 08:56 Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: >> > >> PS: There is a stray release notes fragment in conch >> https://github.com/twisted/twisted

Re: [Twisted-Python] Twisted 17.1 Release Announcement

2017-02-15 Thread Glyph Lefkowitz
> On Feb 11, 2017, at 5:54 PM, Jean-Paul Calderone > wrote: > > On Sat, Feb 11, 2017 at 5:03 AM, Amber Hawkie Brown > mailto:hawk...@atleastfornow.net>> wrote: > On behalf of Twisted Matrix Laboratories, I am honoured to announce the > release of Twisted 17.1! > > The highlights of this rele

Re: [Twisted-Python] Hanging SFTP client operations on server disconnection

2017-02-14 Thread Glyph Lefkowitz
> On Feb 2, 2017, at 2:43 AM, Adi Roiban wrote: > > Hi, > > t.conch.ssh.filetransfer.FileTransferClient._sendRequest keeps a > mapping with active SFTP requests in self.openRequests > > The self.openRequests is only updated when the server is responding > for that request. > > They are not cl

Re: [Twisted-Python] conch.ssh.SSHFactory publicKeys and getPublicKeys

2017-02-14 Thread Glyph Lefkowitz
> On Feb 2, 2017, at 2:00 AM, Adi Roiban wrote: > > Hi, > > I am writing to ask about the reason why t.conch.ssh.Factory has both > the getPublicKeys and getPrivateKeys methods ? As with most things in Conch, the structure of these APIs was probably developed many years ago without any specif

Re: [Twisted-Python] "twistd" in Twisted 16.4.0 can't import modules/packages from current working directory

2017-02-14 Thread Glyph Lefkowitz
> On Feb 12, 2017, at 11:08 AM, Craig Rodrigues wrote: > > On Tue, Feb 7, 2017 at 11:29 AM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Feb 7, 2017, at 6:59 AM, Jean-Paul Calderone > <mailto:exar...@twistedmatrix.com>> wrote: >&g

Re: [Twisted-Python] Twisted 17.1 Release Announcement

2017-02-14 Thread Glyph Lefkowitz
> On Feb 12, 2017, at 5:00 AM, Tristan Seligmann > wrote: > > On Sun, 12 Feb 2017 at 03:45 Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > > Yeah, this is a lack of test coverage for the 'default' case. Technically it > is a regression,

Re: [Twisted-Python] Twisted 17.1 Release Announcement

2017-02-14 Thread Glyph Lefkowitz
> On Feb 12, 2017, at 4:10 AM, Phil Mayers wrote: > > On 12/02/2017 01:44, Glyph Lefkowitz wrote: > >> Yeah, this is a lack of test coverage for the 'default' case. >> Technically it /is/ a regression, but it's probably pretty unusual to >> use th

Re: [Twisted-Python] deprecate using paths with trial

2017-02-14 Thread Glyph Lefkowitz
> On Feb 12, 2017, at 7:10 AM, Jean-Paul Calderone > wrote: > > Hello, > > Since trial has stopped adding the working directory to sys.path, it seems > very sensible to also stop accepting paths as a way to specify what tests to > run. Instead, only package, module, class, or test method na

Re: [Twisted-Python] Twisted 17.1 Release Announcement

2017-02-11 Thread Glyph Lefkowitz
> On Feb 11, 2017, at 3:14 PM, Phil Mayers wrote: > > On 11/02/17 18:12, Phil Mayers wrote: >> On 11/02/2017 17:28, Tristan Seligmann wrote: >> >>> String endpoint descriptions, as used by twist/twistd among other >>> things, for listening on tcp ports now require the "tcp:": that is, "80" >>>

Re: [Twisted-Python] "twistd" in Twisted 16.4.0 can't import modules/packages from current working directory

2017-02-07 Thread Glyph Lefkowitz
> On Feb 7, 2017, at 6:59 AM, Jean-Paul Calderone > wrote: > > On Fri, Jan 13, 2017 at 1:13 AM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > Thanks for highlighting those. I've put the link in the other direction as > well. > > > Cra

Re: [Twisted-Python] web client FileBodyProducer - transfer encoding

2017-01-30 Thread Glyph Lefkowitz
> On Jan 30, 2017, at 20:41, Kevin Mcintyre wrote: > > "It is shaped the same. The reason you're seeing the error is due to the > issue I pointed out above." > > Just to be clear you mean that proxies can reshape the call in flight? No, I mean that FileBodyObserver specifically calculates a

Re: [Twisted-Python] web client FileBodyProducer - transfer encoding

2017-01-30 Thread Glyph Lefkowitz
> On Jan 30, 2017, at 19:44, Kevin Mcintyre wrote: > On Mon, Jan 30, 2017 at 4:59 PM, Jean-Paul Calderone > mailto:exar...@twistedmatrix.com>> wrote: > > On Mon, Jan 30, 2017 at 7:44 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > Gotcha.

Re: [Twisted-Python] web client FileBodyProducer - transfer encoding

2017-01-30 Thread Glyph Lefkowitz
request.content.getvalue() > > site = server.Site(Simple()) > reactor.listenTCP(8080, site) > reactor.run() > > On Mon, Jan 30, 2017 at 2:39 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Jan 30, 2017, at 13:47, Kevin Mcintyre > <

Re: [Twisted-Python] web client FileBodyProducer - transfer encoding

2017-01-30 Thread Glyph Lefkowitz
> On Jan 30, 2017, at 13:47, Kevin Mcintyre wrote: > > hey all - quick question. Trying to understand FileBodyProducer as it > pertains to POST. > json_body = FileBodyProducer(StringIO(json.dumps({'key': 'value'}))) > agent.request("POST", ~uri, Headers({'User-Agent': ['AkamaiTest']}), > json

Re: [Twisted-Python] Twisted Mailing List Archive Search

2017-01-29 Thread Glyph Lefkowitz
You should have edit permission now. -glyph > On Jan 28, 2017, at 6:35 AM, Роман Мещеряков > wrote: > > Yes, because now I can't see a link to edit the Documentation page. My login > is RomanMeR > > -- > Kind regards, Roman Mescheryakov > > >

Re: [Twisted-Python] Twisted 17.1.0rc1 Release Candidate Announcement

2017-01-29 Thread Glyph Lefkowitz
> On Jan 28, 2017, at 2:39 PM, Amber Hawkie Brown > wrote: > > Hello everyone! > > 16.7 didn't go as well as planned, so I thought we'd try again in the new > year! So, here is Twisted 17.1, the first release of 2017. It's got all the > cool things that were going to be in 16.7, *and more*.

Re: [Twisted-Python] Can't create ticket in Trac

2017-01-27 Thread Glyph Lefkowitz
> On Jan 27, 2017, at 4:16 PM, Jean-Paul Calderone > wrote: > > On Fri, Jan 27, 2017 at 7:09 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Jan 27, 2017, at 3:53 PM, Jean-Paul Calderone > <mailto:exar...@twistedmatrix.com>> wrot

Re: [Twisted-Python] Can't create ticket in Trac

2017-01-27 Thread Glyph Lefkowitz
> On Jan 27, 2017, at 3:53 PM, Jean-Paul Calderone > wrote: > > On Fri, Jan 27, 2017 at 6:52 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Jan 27, 2017, at 3:49 PM, Jean-Paul Calderone > <mailto:exar...@twistedmatrix.com>> wro

Re: [Twisted-Python] Can't create ticket in Trac

2017-01-27 Thread Glyph Lefkowitz
> On Jan 27, 2017, at 3:49 PM, Jean-Paul Calderone > wrote: > > On Fri, Jan 27, 2017 at 6:21 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Jan 27, 2017, at 3:12 PM, Craig Rodrigues > <mailto:rodr...@crodrigues.org>> wrote: >

Re: [Twisted-Python] Twisted Mailing List Archive Search

2017-01-27 Thread Glyph Lefkowitz
> On Jan 27, 2017, at 1:28 AM, Роман Мещеряков > wrote: > > Hi everyone! On the Documentation > wiki page there is a “Mail > lists” section with the “Search the ​twisted-python >

Re: [Twisted-Python] Can't create ticket in Trac

2017-01-27 Thread Glyph Lefkowitz
> On Jan 27, 2017, at 3:12 PM, Craig Rodrigues wrote: > > > > On Fri, Jan 27, 2017 at 2:29 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Jan 27, 2017, at 2:03 PM, Craig Rodrigues > <mailto:rodr...@crodrigues.org>> wrote:

Re: [Twisted-Python] Can't create ticket in Trac

2017-01-27 Thread Glyph Lefkowitz
> On Jan 27, 2017, at 2:03 PM, Craig Rodrigues wrote: > > Hi, > I can't seem to create a ticket in Trac. Can someone look? > I can create tickets. What behavior do you see? -g___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://t

Re: [Twisted-Python] Problems with inlineCallback, Deferred, yield and Python 3 in buildbot

2017-01-26 Thread Glyph Lefkowitz
> On Jan 26, 2017, at 1:45 AM, Craig Rodrigues wrote: > > On Wed, Jan 25, 2017 at 10:06 AM, Phil Mayers > wrote: > > Related, see: > > http://stackoverflow.com/questions/32139885/yield-in-list-comprehensions-and-generator-expressions > >

Re: [Twisted-Python] Problems with inlineCallback, Deferred, yield and Python 3 in buildbot

2017-01-24 Thread Glyph Lefkowitz
> On Jan 24, 2017, at 1:14 PM, Glyph Lefkowitz wrote: > > The language docs officially say that a "list display" (which is what I > believe we're looking at here) "yields a new list object". But that is not > what I see here: > I had intended to

Re: [Twisted-Python] Problems with inlineCallback, Deferred, yield and Python 3 in buildbot

2017-01-24 Thread Glyph Lefkowitz
> On Jan 24, 2017, at 12:48 PM, Craig Rodrigues wrote: > > > > On Mon, Jan 23, 2017 at 5:10 PM, Jean-Paul Calderone > mailto:exar...@twistedmatrix.com>> wrote: > On Mon, Jan 23, 2017 at 7:08 PM, Craig Rodrigues > wrote: > > > > I did some more debugging. Th

Re: [Twisted-Python] admin/pr_as_branch

2017-01-22 Thread Glyph Lefkowitz
> On Jan 22, 2017, at 5:31 PM, Jean-Paul Calderone > wrote: > > On Sun, Jan 22, 2017 at 8:28 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Jan 22, 2017, at 5:24 PM, Jean-Paul Calderone > <mailto:exar...@twistedmatrix.com>> wro

Re: [Twisted-Python] admin/pr_as_branch

2017-01-22 Thread Glyph Lefkowitz
> On Jan 22, 2017, at 5:51 PM, Jean-Paul Calderone > wrote: > > On Sun, Jan 22, 2017 at 8:31 PM, Jean-Paul Calderone > mailto:exar...@twistedmatrix.com>> wrote: > On Sun, Jan 22, 2017 at 8:28 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: >

Re: [Twisted-Python] admin/pr_as_branch

2017-01-22 Thread Glyph Lefkowitz
> On Jan 22, 2017, at 5:24 PM, Jean-Paul Calderone > wrote: > > On Sun, Jan 22, 2017 at 8:19 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > >> On Jan 22, 2017, at 5:15 PM, Jean-Paul Calderone > <mailto:exar...@twistedmatrix.com>> wro

Re: [Twisted-Python] admin/pr_as_branch

2017-01-22 Thread Glyph Lefkowitz
> On Jan 22, 2017, at 5:15 PM, Jean-Paul Calderone > wrote: > > Hello, > > I didn't find any hints about the workflow surrounding the admin/pr_as_branch > tool so I invented one and wrote it up on the wiki: > > https://twistedmatrix.com/trac/wiki/ReviewProcess?action=diff&version=76 >

Re: [Twisted-Python] Problems with inlineCallback, Deferred, yield and Python 3 in buildbot

2017-01-21 Thread Glyph Lefkowitz
> On Jan 21, 2017, at 6:15 PM, Craig Rodrigues wrote: > > If I run the test on Python 2, I don't get the error, and on line 93, brdicts > is a dict. > However, if I run the test on Python 3, brdicts is a Deferred, thus the error. This really ought to be impossible. If I were seeing this, sing

Re: [Twisted-Python] conch problem with ecdsa-sha2-nistp256 host key?

2017-01-20 Thread Glyph Lefkowitz
> On Dec 21, 2016, at 5:40 PM, Craig Rodrigues wrote: > > > > On Wed, Dec 21, 2016 at 4:46 PM, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: > > > Can you file a new ticket for each of these? The ordering thing seems super > low priority, bu

Re: [Twisted-Python] Can’t change namespace for the Logger instance

2017-01-20 Thread Glyph Lefkowitz
> On Jan 20, 2017, at 1:33 AM, Роман Мещеряков > wrote: > > I expect the text between ‘[‘ and ‘#’ to be ‘ad_hoc’, but it is > auto-generated name instead. Am I doing something wrong or this is a bug? This is indeed a bug! And a pretty serious one; it's explicitly documented to work otherwise

Re: [Twisted-Python] Strange ImportError after switching from OS package to pip

2017-01-17 Thread Glyph Lefkowitz
> On Jan 17, 2017, at 9:53 AM, Роман Мещеряков > wrote: > > Hi everyone! The 14.0.2 version of Twisted is latest that is available for > Raspbian as a package, so until today I used it. I run my Twisted application > in the following way: > twistd -ny master_player2.tac > There were no proble

Re: [Twisted-Python] suggestions sought on multi-service application dealing with shared database issue

2017-01-17 Thread Glyph Lefkowitz
> On Jan 17, 2017, at 7:56 AM, Jonathan Vanasco wrote: > > Can you point to some docs about setServiceParent being used to remove the > service? I couldn't find that anywhere. Sorry, I meant you should use https://twistedmatrix.com/documents/16.6.0/api/twisted.application.service.IService.ht

Re: [Twisted-Python] How to get caller’s IP address in Perspective Broker server

2017-01-17 Thread Glyph Lefkowitz
> On Jan 17, 2017, at 6:06 AM, Роман Мещеряков > wrote: > > 17.01.2017, 09:52, "Glyph Lefkowitz" : >> > >> This is untested but hopefully it will be close enough to put you on your >> way. Make sense? > > > This works perfect

  1   2   3   4   5   6   7   8   9   10   >