Re: [Twisted-Python] Twisted 18.9.0 Release Announcement

2018-10-22 Thread Glyph
evelopers who contributed code as well > as documentation, and all the people building great things with Twisted! Thanks for another great release everyone! -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Etiquette of tagging people for reviews?

2018-10-23 Thread Glyph
> On Oct 23, 2018, at 10:21 PM, Wim Lewis wrote: > > Every project seems to have its own norms around this. When I have some code > in a > reviewable state, I will sometimes look for someone who has recently worked > on > that piece of code or similar features and request a review from them

Re: [Twisted-Python] twisted.web with dynamic + static content

2018-11-01 Thread Glyph
return bytes(content, "utf-8") elif request.postpath == [b'static', b'test.css']: request.setHeader("content-type", "text/css") return bytes(css, 'utf-8') else: request.setResponseCode(

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

2018-11-21 Thread Glyph
> On Nov 19, 2018, at 6:16 AM, Darren Govoni wrote: > > I tried to find out if there is a way to limit the thread pool size from > command line for twisted web and found nothing. Does it exist? The thread pool is limited to 10. While this is configurable via the API, no command line option is

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

2018-11-23 Thread Glyph
> On Nov 23, 2018, at 7:58 AM, Chris Withers wrote: > > Hi All, > > Does trial do anything to clean up stuff that's been passed to deferToThread? Nope. It does its best to clean up stuff that it knows is "in" the reactor (sockets, timers, and the like), but since threads can kind of do ~wha

Re: [Twisted-Python] twisted.web with dynamic + static content

2018-11-27 Thread Glyph
> On Nov 27, 2018, at 2:37 PM, Jeff Grimmett wrote: > > Thanks, Tom. > > Is there a limit to the smallness of the proposed changes? For example, if I > had a possible two-line change to > https://twistedmatrix.com/documents/current/api/twisted.internet.wxreactor.html > >

Re: [Twisted-Python] Negative error code breaks twisted.conch

2019-01-14 Thread Glyph
> On Jan 14, 2019, at 7:23 AM, Peter Westlake wrote: > > An SSCCE: > > from twisted.internet import error > from twisted.python import failure > from twisted.conch.ssh.session import SSHSessionProcessProtocol > from mock import MagicMock > > err = error.ProcessTerminated(-1) > fail = failure.

Re: [Twisted-Python] That's why there are so many good reviews

2019-01-16 Thread Glyph
(Sorry for the spam, all. We try pretty hard to avoid twistedmatrix.com lists getting abused like this, but this address is for a legit member of the list, and this was a forgery; given that it made it past the spam filter, it's one that it is beyond my meager admini

Re: [Twisted-Python] SMTPClient disconnects following STARTTLS

2019-02-09 Thread Glyph
> On Feb 5, 2019, at 7:15 AM, Burak Arslan wrote: > > Hello, > > I'm trying to deliver mail using twisted.mail.sendmail (version 18.9.0) Thanks for using Twisted, and thanks for already being on the latest version! > Delivery attempts to some servers fail either with disconnections or > time

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

2019-02-20 Thread Glyph
> On Feb 19, 2019, at 5:34 AM, Chris Withers wrote: > > On 19/02/2019 11:41, Adi Roiban wrote: >> >> I think it was introduced to catch some common bad usage patterns ... >> like yours :) > > Not a massively helpful comment. I think what Adi was trying to get at here is that this is exactly

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

2019-02-20 Thread Glyph
> On Feb 20, 2019, at 11:03 PM, Chris Withers wrote: > > On 21/02/2019 06:55, Glyph wrote: >>> The methods being hooked don't necessarily return deferreds. > > Glyph, this bit ^^^ > >>> I'd like it to be an explicit cho

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

2019-02-25 Thread Glyph
> On Feb 25, 2019, at 3:32 AM, Scott, Barry wrote: > > On Tuesday, 19 February 2019 11:00:57 GMT Chris Withers wrote: >> Hi All, >> >> There's this assert: >> >> https://github.com/twisted/twisted/blob/trunk/src/twisted/internet/defer.py# >> L459 >> >> ...and I'd like to understand why it's

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

2019-02-25 Thread Glyph
> On Feb 25, 2019, at 4:02 AM, Chris Withers wrote: > > Looks to be... > > Chris It seems like Mark Williams caught this and restarted the service shortly after this report, so it's mostly been fine since. This might be a good opportunity to mention that Twisted's infrastructure has very f

[Twisted-Python] a farewell to buildbot

2019-03-02 Thread Glyph
Thanks to our long-suffering contributors Adi Roiban and Kyle Altendorf, we now have macOS builds running on circleCI! Supposedly we have sufficient resources to actually run all our builds, too, without running out of CI juice before the end of each month :-). As such, I've changed our reposi

[Twisted-Python] secrets management

2019-03-02 Thread Glyph
Thanks to 1Password's open source program, we now have the ability to conveniently and securely share secrets amongst the Twisted core team: https://github.com/1Password/1password-teams-open-source/pull/106#issuecomment-467884584

Re: [Twisted-Python] a farewell to buildbot

2019-03-03 Thread Glyph
> On Mar 3, 2019, at 9:46 AM, Evilham wrote: > > Am 03/03/2019 um 7:32 schrieb Glyph: >> So, do folks have any strong feelings, or would anyone like to volunteer >> to help with some aspect of this? As always: we don't have enough folks >> to keep up

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

2019-03-04 Thread Glyph
Let's do it. > On Mar 4, 2019, at 3:14 PM, Amber Brown wrote: > > Hi Tom, > > Thanks for letting me know. > > I propose we update this dependency and do an rc2, would anyone have an > objection to that? > > - Amber > > On Mon., 4 Mar. 2019, 15:12 Tom Most, > wrote

Re: [Twisted-Python] Are t.w.s.Requests's prepath/postpath part of the IRequest interface?

2019-03-10 Thread Glyph
> On Mar 7, 2019, at 5:42 PM, Wim Lewis wrote: > > I was just working on the documentation to fix Trac bug #5533, but I > have a question about intent. Right now, prepath and postpath are > undocumented; as best as I can tell, though, they are intended to be > public. Question is, are they pa

Re: [Twisted-Python] txsni + alpn + acme (letsencrypt)

2019-03-23 Thread Glyph
certificate if the CA negotiates acme using alpn, proving > domain control, then you get a certificate. > Seems to work with openssl s_client but letsencrypt says "no application > protocol". Anyone know where that error comes from? > > https://github.com/glyph/txsn

Re: [Twisted-Python] Any Windows users/reviewers around?

2019-03-23 Thread Glyph
> On Mar 19, 2019, at 12:13 AM, Wim Lewis wrote: > > There are a couple of Windows-specific PRs that I think could use a > review and merge. I don't have access to Windows or really know much > about it, or I'd do it. If you need access to Windows, we do have an MSDN membership that the proj

Re: [Twisted-Python] txsni + alpn + acme (letsencrypt)

2019-03-23 Thread Glyph
> On Mar 23, 2019, at 3:39 PM, Daniel Holth wrote: > > Wow! Such broken. I was starting to get suspicious of openssl myself. > Poor documentation about the rules on context switching and whether > doing things in a certain order should trigger callbacks. In fairness, they do realize that this is

Re: [Twisted-Python] txsni + alpn + acme (letsencrypt)

2019-03-23 Thread Glyph
> On Mar 23, 2019, at 4:06 PM, Daniel Holth wrote: > > HOLY REGEX BATMAN > > class _ConnectionProxy(object): > >def bio_write(self, buf): >if ACME_TLS_1 in buf: >self.acme_tls_1 = True >self.bio_write = self._obj.bio_write >return self._obj.bio_write(bu

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

2019-03-23 Thread Glyph
> On Mar 21, 2019, at 8:27 AM, Itamar Turner-Trauring > wrote: > > Python and Twisted's built-in logging output a stream of factoids: they’re > interesting, but you can’t really tell what’s going on. > > Why is your application slow? > What caused this code path to be chosen? > Why did this e

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

2019-03-23 Thread Glyph
I'd further note that ClientService is generally the new, good way to do things and ReconnectingClientFactory is the old, bad way. Our hope is to eventually deprecate ReconnectingClientFactory and most of the APIs that it uses, but this is a big project that we have not been able to make much p

Re: [Twisted-Python] txsni + alpn + acme (letsencrypt)

2019-03-23 Thread Glyph
client separately and listing my domain instead of > doing it all on demand inside twisted. > > > On Sat, Mar 23, 2019, 23:59 Glyph <mailto:gl...@twistedmatrix.com>> wrote: > > > > On Mar 23, 2019, at 4:06 PM, Daniel Holth > <mailto:dho...@gmail.com>

Re: [Twisted-Python] txsni + alpn + acme (letsencrypt)

2019-03-24 Thread Glyph
at 9:26 AM, Daniel Holth wrote: > > The cleaned up pull request should be really easy to try, with a > dehydrated:(basedir) string port. Go get some certs people! > > On Sun, Mar 24, 2019, 00:55 Glyph <mailto:gl...@twistedmatrix.com>> wrote: > I think ACME_TLS_1

Re: [Twisted-Python] txsni + alpn + acme (letsencrypt)

2019-03-24 Thread Glyph
bably time that this project grew up and moved over to the Twisted org anyway, given that txacme depends on it...) -g > On Mar 24, 2019, at 1:59 PM, Daniel Holth wrote: > > Pull request for txsni acme https://github.com/glyph/txsni/pull/28 > <https://github.com/glyph/txsni/pull/

[Twisted-Python] optimizing for engagement

2019-03-24 Thread Glyph
Hello Twistors, It's been a good weekend for the Twisted ecosystem! Despite spending rather more time on email than is usual for a weekend, I've been enjoying the mailing list activity so thanks to everyone for your contributions. We had a good chat on IRC about some potential ways to increase

Re: [Twisted-Python] A Proposal for reducing the burden of developing on Twisted by dropping Python 2 support

2019-03-25 Thread Glyph
gly scarce spare time, I want it to be on something at least plausibly interesting, and manually backporting manual fixes to an unmaintained py2 branch that I don't even use doesn't qualify. ("But glyph", I hear you ask, "then why are you willing to write py2 code as it

Re: [Twisted-Python] A Proposal for reducing the burden of developing on Twisted by dropping Python 2 support

2019-03-25 Thread Glyph
Hi Barry! Thanks for your feedback. > On Mar 25, 2019, at 10:22 AM, Scott, Barry wrote: > > We are stuck on python2.7 for the foreseeable future and you will not see us > in the PyPi stats. We download your release tar ball and build an RPM from it. > We also have to build python2.7 our selves

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

2019-03-26 Thread Glyph
> On Mar 26, 2019, at 12:14 AM, Chris Withers wrote: > > On 24/03/2019 04:30, Glyph wrote: >> I'd further note that ClientService is /generally/ the new, good way to do >> things and ReconnectingClientFactory is the old, bad way. Our hope is t

Re: [Twisted-Python] Drop support for Python 3.4?

2019-03-26 Thread Glyph
> On Mar 26, 2019, at 7:59 PM, Craig Rodrigues wrote: > > What do people think of dropping Twisted support for Python 3.4? > > According to https://devguide.python.org/#status-of-python-branches > > > Python 3.4 EOL'd on March 19, 2019

Re: [Twisted-Python] Twisted 19.2.0rc2 Release Candidate Announcement

2019-04-03 Thread Glyph
Thanks for testing, John! -g > On Apr 3, 2019, at 10:35 PM, John Santos wrote: > > Good news: My app seems to work fine with 19.2.0rc2 > > Built Twisted from the source tarball. > > I did need to update some of the Python packages it uses, no big deal. > > On 3/27/2019 05:59 AM, Amber Brown

Re: [Twisted-Python] how to get extReceived call from SSHCommandClientEndpoint

2019-04-07 Thread Glyph
> On Apr 6, 2019, at 10:12 AM, Sereysethy TOUCH > wrote: > > Hi Jean-Paul, > > No I dont want it to be mixed with stdout stream, it should be separated from > normal stdout, so that I know it is an error. > > To be honest, I am pretty to new to Twisted concept, there are things that I > ha

[Twisted-Python] magical and seamless asyncio support

2019-04-07 Thread Glyph
After filing https://github.com/tornadoweb/tornado/issues/2636 recently, I was reminded that Twisted should support asyncio seamlessly, and currently we have some quite-visible seams. There are three major use-cases for asyncio integration: I

Re: [Twisted-Python] Twisted 19.2.0 Release Announcement

2019-04-10 Thread Glyph
> On Apr 10, 2019, at 5:36 AM, Amber Brown wrote: > > On behalf of Twisted Matrix Laboratories, I am honoured to announce the > release of Twisted 19.2! The highlights of this release are: > > twisted.web.client.HostnameCachingHTTPSPolicy was added as a new > contextFactory option. This redu

Re: [Twisted-Python] Twisted Conch on v19.2.1: now requires explicit installation of bcrypt

2019-04-12 Thread Glyph
> On Apr 12, 2019, at 10:33 PM, Tobias Oberstein > wrote: > > Hi, Hi Tobias, > I'm not sure if it considered a Twisted bug, It's not :). > but Twisted Conch on Twisted 19.2.1 now seems to require explicit > installation of bcrypt, which wasn't the case on <19.2.1. This is not exactly acc

Re: [Twisted-Python] Backward incompatible fixes to backward incompatible changes

2019-04-30 Thread Glyph
On Thu, Apr 25, 2019, at 9:52 AM, Jean-Paul Calderone wrote: > Hello all, > > I'd like to discuss the project policy/process for dealing with incorrect > backward incompatibilities that end up released. > > As a case study, we could look at https://twistedmatrix.com/trac/ticket/9410 >

Re: [Twisted-Python] Weekly Bug Summary

2019-04-30 Thread Glyph
> On Apr 28, 2019, at 8:01 AM, John Santos wrote: > I've been having ongoing problems accessing the TwistedMatrix site. (Tried > both Firefox and Chrome from my home PC.) > The site was having some issues and the server badly needed a reboot during the time you were trying to access it. > I've

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

2019-05-13 Thread Glyph
> On May 13, 2019, at 7:26 AM, Chris Withers wrote: > > Hi All, > > On some busy instances of the app I'm working with/on, we see websocket > connections being dropped due to not ping/ponging in time, I'm fairly sure > this is as a result of some user-written callbacks blocking the reactor f

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

2019-05-14 Thread Glyph
in time, I'm fairly >> sure this is as a result of some user-written callbacks blocking the >> reactor for long periods of time (seconds...). >> >> What's the best way to debug a twisted application to find out what's >> blocking the reactor? > >

Re: [Twisted-Python] magical and seamless asyncio support

2019-05-23 Thread Glyph
> On May 23, 2019, at 5:47 AM, Daniel Holth wrote: > > +1 that would be so helpful. "How can I use Django views in my Pyramid > application?" As a newcomer I have no idea whether a similar question > makes sense with the different async libraries. If the answer was > *yes* it would be simpler.

Re: [Twisted-Python] Twisted Agent Python 2 ->3 Porting Pitfalls

2019-05-23 Thread Glyph
I definitely agree with this! -g > On May 23, 2019, at 9:08 PM, Tom Most wrote: > > This looks like a straightforward bug to me. I don't see any reason we can't > change the implementation to either raise TypeError immediately or accept a > string, since any code that passes a string doesn't

Re: [Twisted-Python] Twisted for http/2 (RESTful) webservices - client/server

2019-05-25 Thread Glyph
> On May 24, 2019, at 1:37 PM, Amber Brown wrote: > > To note -- Twisted does not currently have HTTP/2 client support, only server > support. Treq will not talk H2 at the moment, but Klein+Twisted will happily > serve it up. This is simply a matter of nobody having implemented it yet though

Re: [Twisted-Python] Twisted for http/2 (RESTful) webservices - client/server

2019-05-26 Thread Glyph
> On May 26, 2019, at 12:19 AM, Jayanth Acharya wrote: > > Thanks, understood. My Python knowledge is somewhat rudimentary and Twisted > knowledge even more so, but if the current project at hand can afford some > lax, I will see if I could help in any way. Even though Twisted is an > open-s

Re: [Twisted-Python] Twisted for http/2 (RESTful) webservices - client/server

2019-05-27 Thread Glyph
> On May 27, 2019, at 2:16 AM, Evilham wrote: > > Twisted's documentation *could* be a bit better on this, if you want to take > a go at it, I'm reasonably sure everyone would be happy. Certainly I am happy any time anyone has a go at improving Twisted's docs - and this is an area I'd wager lo

[Twisted-Python] farewell to twisted.news

2019-05-30 Thread Glyph
rd. Any PR wanting to un-deprecate it is also going to have to get it working on py3 :-). -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] farewell to twisted.news

2019-05-31 Thread Glyph
> On May 30, 2019, at 11:39 PM, Hynek Schlawack wrote: > >> If you love NNTP, and would like to help this package stick around by >> maintaining it, that would be great! However, please note that at this >> point it's not worth discussing unless you have the actual free time to >> dedicate

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

2019-05-31 Thread Glyph
> On May 28, 2019, at 5:49 AM, Scott, Barry wrote: > > What I do for my python projects on windows is turn them into a setup.exe > that > the user can run in the traditional way. There are many tools to help you do > this. Then the user does not need to install anything except your setup.exe.

Re: [Twisted-Python] Returning Failure when requestAvatarID to indicate a failed login is not working for me

2019-06-05 Thread Glyph
> On Jun 5, 2019, at 4:52 AM, Thomas Westfeld > wrote: > > Dear all, Hi Thomas! > I am experiencing a problem with a custom credential checker for twisted cred > based on an external server. > > My problem is, that the Failure in the last line does not trigger the Errback > of the deferre

Re: [Twisted-Python] [SECURITY] Twisted 19.2.1 Release Announcement

2019-06-06 Thread Glyph
here <https://twistedmatrix.com/trac/#Reportasecurityissue> we have a link to our reporting and remediation processes: <https://twistedmatrix.com/trac/wiki/Security>. Thanks again all! -glyph ___ Twisted-Python mailing list Twisted-Python

Re: [Twisted-Python] Azure Pipelines

2019-06-21 Thread Glyph
> On Jun 21, 2019, at 6:39 AM, Jean-Paul Calderone > wrote: > > Hello, > > I submitted ticket:9655 / > PR#1155 for review a bit over > a week ago. It is suffering from a red mark on the CI report du

Re: [Twisted-Python] Azure Pipelines

2019-06-21 Thread Glyph
> On Jun 21, 2019, at 9:09 AM, Jean-Paul Calderone > wrote: > > When I follow that link and grant permission on the GitHub side, I get taken > back to a microsoft.com URL that eventually fails > with an infinite redirect error. :/ So I am not able to look at the buil

Re: [Twisted-Python] Azure Pipelines

2019-06-22 Thread Glyph
ogle could find this exact phrasing was https://github.com/Azure/azure-iot-sdk-python-preview/blob/master/vsts/build.yaml <https://github.com/Azure/azure-iot-sdk-python-preview/blob/master/vsts/build.yaml>, and it definitely says "not". Except then the "phases" link you s

Re: [Twisted-Python] Running CPU bound function concurrently in twisted

2019-06-24 Thread Glyph
om asyncio.ensure_future, but that does have the somewhat more explicit loop.create_task to pair with it.) -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] TB in tls.py

2019-06-27 Thread Glyph
trac/ticket/9462> Possibly illuminating to review this, and the linked tickets? -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Need some enlightenment on using web client properly, or maybe nudge a bug to get fixed

2019-07-11 Thread Glyph
Hi Jarosław! > On Jul 1, 2019, at 4:48 PM, Jarosław Fedewicz > wrote: > > I have written a simple service which takes data from network, massages it > until it's useful enough, and sends the results out periodically via HTTP to > an API. A reasonable start :-). > It all works for a while, t

[Twisted-Python] some logging thoughts

2019-07-11 Thread Glyph
L. Daniel Burr and I got up to some interesting reflections on Twisted's logging system in this Ampoule PR: https://github.com/twisted/ampoule/pull/29/files/268e4dcd8072d37780fd7ff0d875e614aa7da040#r299336179

Re: [Twisted-Python] New release of ldaptor

2019-07-14 Thread Glyph
ted release pipeline; make it possible for travis to push straight to PyPI on an appropriate tag, like what https://github.com/audreyr/cookiecutter-pypackage <https://github.com/audreyr/cookiecutter-pypackage> does. This isn't as hard as it sounds, and that template has a good exampl

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

2019-07-21 Thread Glyph
On Sun, Jul 21, 2019, at 9:30 AM, Amber Brown wrote: > > On 22/7/19 2:24 am, Amber Brown wrote: >> Hello! It's time for another Twisted release! This one is full o' stuff, including: - The dropping of Python 3.4 support, - A better PyPI page, - twisted.internet.testing, a public-API version of

Re: [Twisted-Python] self.channel.writeHeaders(version, code, reason, headers)\nbuiltins.AttributeError: \'NoneType\' object has no attribute \'writeHeaders\'\

2019-08-03 Thread Glyph
> On Aug 2, 2019, at 4:31 PM, Waqar Khan wrote: > > Hi, > I have a twisted server. And I have been seeing this annoying issue. > Normally. when i develop and test it out. everything is fine.. > But then I try to loadtest is via https://locust.io/ > > Again, everything is

Re: [Twisted-Python] self.channel.writeHeaders(version, code, reason, headers)\nbuiltins.AttributeError: \'NoneType\' object has no attribute \'writeHeaders\'\

2019-08-04 Thread Glyph
> On Aug 4, 2019, at 5:57 PM, Waqar Khan wrote: > > Hi Glyph, > Thanks for the suggestion. > I tried the suggestion.. While it fixes the self.channel NoneType issue.. It > creates another issue. > > Traceback (most recent call last): > File > "/usr/l

Re: [Twisted-Python] self.channel.writeHeaders(version, code, reason, headers)\nbuiltins.AttributeError: \'NoneType\' object has no attribute \'writeHeaders\'\

2019-08-04 Thread Glyph
> On Aug 4, 2019, at 8:43 PM, Waqar Khan wrote: > > Just for sake of completeness: > def print_json_response(resp, request): > request.write(json.dumps(resp)) > request.close() Presumably this line actually says "request.finish()"? This is indeed the problem; just don't call

Re: [Twisted-Python] self.channel.writeHeaders(version, code, reason, headers)\nbuiltins.AttributeError: \'NoneType\' object has no attribute \'writeHeaders\'\

2019-08-04 Thread Glyph
> On Aug 4, 2019, at 9:04 PM, Waqar Khan wrote: > > Ah yes.. That is true.. > > If I comment out request.finish() (Here is the doc which I tried to followed: > https://twistedmatrix.com/documents/13.0.0/web/howto/web-in-60/interrupted.html > >

Re: [Twisted-Python] Continued towncrier support?

2019-08-08 Thread Glyph
into a bunch of incompatible forks. > > To this end, I just filed https://github.com/hawkowl/towncrier/issues/159 > <https://github.com/hawkowl/towncrier/issues/159> I'm not sure what Hawkie wants to do with it, but let me preemptively say that I'd be h

[Twisted-Python] Twisted 19.7.0 Release Announcement

2019-08-15 Thread Glyph
pe confusion in twisted.web. Python 3.4 is no longer supported. `pip install -U twisted[tls]` and enjoy all these enhancements today! Thanks for using Twisted, -glyph [1]: somewhat belatedly: it came out 10 days ago. Oops! ___ Twisted-Pytho

Re: [Twisted-Python] Twisted 19.7.0 Release Announcement

2019-08-16 Thread Glyph
e a couple of other Windows users who have run into this over the years, so if you're aware of any other dupes it would be good to find them in Trac and close them out. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://t

Re: [Twisted-Python] PyOpenSSL empty socket property

2019-09-08 Thread Glyph
Indeed, in Twisted, the SSL.Connection is constructed with a memory BIO. And in fact there may not be a socket in the loop at all! What are you trying to do with `getpeername()`? Hopefully there's a similar Twisted API that you could work with. -glyph > On Sep 5, 2019, at 11:07

Re: [Twisted-Python] Code review comment for http.py

2019-10-04 Thread Glyph
> On Oct 4, 2019, at 4:26 AM, Scott, Barry wrote: > > I see that there are duplicate lines in http.py in > _GenericHTTPChannelProtocol.dataReceived() > > Notice that around line 2960 two calls to setTimeout(). > >networkProducer.unregisterProducer() > ># Cance

Re: [Twisted-Python] Code review comment for http.py

2019-10-07 Thread Glyph
> On Oct 7, 2019, at 3:36 AM, Scott, Barry wrote: > > On Saturday, 5 October 2019 04:48:03 BST Glyph wrote: >>> On Oct 4, 2019, at 4:26 AM, Scott, Barry >>> wrote: >>> >>> I see that there are duplicate lines in http.py in >>> _GenericH

Re: [Twisted-Python] Pip's Twisted 19.7.0 package is offered to upgrade my v19.2.1...

2019-10-10 Thread Glyph
> On Oct 9, 2019, at 12:56 PM, Ant wrote: > >> On Tue, Sep 10, 2019 at 03:54:56PM -0400, Kyle Altendorf wrote: >>> >>> Sorry, it appears I found time for a ticket and a PR... but not an email. >>> They have been submitted for review. >>> >>> Ticket: https://twistedmatrix.com/trac/ticket/9701

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

2019-10-14 Thread Glyph
> On Oct 14, 2019, at 1:05 AM, Amber Brown (hawkowl) > wrote: > > Hello everyone, it's time for more Twisted! It's always time for more Twisted > It contains: > > - Security fixes for HTTP/2 -- CVE-2019-9512 (Ping Flood), CVE-2019-9514 > (Reset Flood), and CVE-2019-9515 (Settings Flood). T

Re: [Twisted-Python] sharing a dict between child processes

2019-11-07 Thread Glyph
> On Nov 7, 2019, at 2:07 AM, Scott, Barry wrote: > > On Thursday, 7 November 2019 05:29:34 GMT Sean DiZazzo wrote: >> If you need guaranteed delivery of the data, why not just use a TCP >> connection to the unix socket, instead of a UDP connection which inherently >> can lose data? In that ca

[Twisted-Python] operational visibility

2019-11-11 Thread Glyph
At twistedmatrix.com , we dogfood a bunch of Twisted software: our DNS server (primary and secondary!), our web server, even a little bit of email stuff here and there. And we have our own structured logging system to make it, ahem, "easy" to put logs into some kind o

Re: [Twisted-Python] operational visibility

2019-11-12 Thread Glyph
On November 12, 2019 at 5:47:28 AM, Patrick Cloke (patr...@cloke.us(mailto:patr...@cloke.us)) wrote: > > On 11/12/19 2:12 AM, Glyph wrote: > > > > At twistedmatrix.com(http://twistedmatrix.com), we dogfood a bunch of > > Twisted software: our DNS server (primary

Re: [Twisted-Python] spam

2019-11-23 Thread Glyph
Apologies for the spam. The message has been elided from the archive and the sender has been permanently banned. -g ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Status of: "console support for stdio in Windows"

2019-12-09 Thread Glyph
> On Dec 8, 2019, at 8:37 AM, notafile wrote: > > Hi, > > I just came across the following patches from 13 years ago that fix > StandardIO handling for windows. > > https://twistedmatrix.com/trac/ticket/2157 > > This still appears to be broken, so it seems these patches just got > overlook

Re: [Twisted-Python] The Python 2.7 Plan

2019-12-16 Thread Glyph
> On Dec 11, 2019, at 1:16 PM, Jean-Paul Calderone > wrote: > > On Wed, Dec 11, 2019 at 4:06 PM Wilfredo Sánchez Vega > wrote: > With Python 2.7 support dropping in a matter of weeks, I'd like to pick up > from hawkowl's thread back in March about Python 2.7 s

Re: [Twisted-Python] The Python 2.7 Plan

2019-12-16 Thread Glyph
> On Dec 16, 2019, at 8:31 AM, Wilfredo Sánchez Vega > wrote: > > On Dec 16, 2019, at 7:10 AM, Glyph <mailto:gl...@twistedmatrix.com>> wrote: >> >> When we EOL py27 support for Twisted we should probably do something similar >> so anyone who wants

Re: [Twisted-Python] The Python 2.7 Plan

2019-12-17 Thread Glyph
> On Dec 16, 2019, at 1:30 PM, Amber Brown (hawkowl) > wrote: > > > On 17/12/19 3:40 am, Glyph wrote: >> The whole point would be to define a concrete end in terms of the final >> release - and I have no doubt that if we say what the date of the final 2.7 >&g

Re: [Twisted-Python] operational visibility

2019-12-22 Thread Glyph
> On Nov 11, 2019, at 11:12 PM, Glyph wrote: > > At twistedmatrix.com <http://twistedmatrix.com/>, we dogfood a bunch of > Twisted software: our DNS server (primary and secondary!), our web server, > even a little bit of email stuff here and there. And we have our own

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

2020-03-14 Thread Glyph
Thanks for doing another release, Amber! Glad to see more important HTTP security issues get squashed; looking forward to seeing this on store shelves soon! -g > On Mar 9, 2020, at 2:39 AM, Amber Brown (hawkowl) > wrote: > > It's time for another Twisted release! > > Twisted 20.3.0rc1 brin

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

2020-03-19 Thread Glyph
member-submitted contributions; this drains the review queue and makes it more likely that project members with review privileges will review the thing you want reviewed, whenever they have spare cycles. -glyph > On Mar 18, 2020, at 4:42 AM, Richard van der Hoff wrote: > > Hi

Re: [Twisted-Python] Twisted 20.3.0 Release Announcement

2020-03-20 Thread Glyph
Thank you Amber! I'd encourage all Twisted users to upgrade, since those CVEs might be somewhat serious for web applications. -g > On Mar 20, 2020, at 6:20 AM, Amber Brown (hawkowl) > wrote: > > On behalf of Twisted Matrix Laboratories, I am honoured to announce the > release of Twisted 20.

Re: [Twisted-Python] IReactorTime.seconds: epoch time or no?

2020-03-25 Thread Glyph
> On Mar 24, 2020, at 4:05 PM, Tom Most wrote: > > I'll offer a dissenting opinion: > > I've worked on systems where the reactor is patched to use monotonic time. > (This is essential on embedded systems that lack a real-time clock.) I'm not > aware of this causing any issues, and it fixed rea

Re: [Twisted-Python] Help with twisted.conch.manhole

2020-04-19 Thread Glyph
> On Apr 19, 2020, at 3:03 AM, salil GK wrote: > > I am using twisted 16.6 in my server There have been several security updates since 16.6, which is nearing 4 years old at this point. You should really upgrade! -glyph___ Twisted-Python mailing lis

Re: [Twisted-Python] twistedchecker now uses pylint >= 2.4.4, can we use type annotations in Twisted now?

2020-04-22 Thread Glyph
;s absolutely worthwhile to go All In early on. But CI infrastructure for this stuff is a must-have and it might be tricky to get set up initially. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] SMB server component for twisted

2020-05-07 Thread Glyph
> On May 4, 2020, at 9:17 PM, Ian Haywood wrote: > > I have begun work on a SMB (Server Message Block; Windows filesharing) server > protocol for twisted. Very exciting! Thanks for telling us about this. It would be great to have a memory-safe/Python implementation of SMB3! > Work so far is

Re: [Twisted-Python] twistedchecker now uses pylint >= 2.4.4, can we use type annotations in Twisted now?

2020-05-07 Thread Glyph
> On May 7, 2020, at 1:56 PM, Craig Rodrigues wrote: > > > > On Wed, Apr 22, 2020 at 12:28 AM Glyph <mailto:gl...@twistedmatrix.com>> wrote: > > >> On Apr 21, 2020, at 8:57 PM, Craig Rodrigues > <mailto:rodr...@crodrigues.org>> wrote: >&g

Re: [Twisted-Python] SMB server component for twisted

2020-05-09 Thread Glyph
> On May 8, 2020, at 12:39 AM, Ian Haywood wrote: > > On 7/05/2020 5:48 pm, Glyph wrote: > >> If you want to include it in Twisted itself, your best bet is to actually >> develop it /within/ twisted, as a series of small contributions, rather than >>

Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-13 Thread Glyph
On May 13, 2020, at 10:04 PM, Amber Brown (hawkowl) wrote: > > On 14/5/20 5:10 am, Craig Rodrigues wrote: >> I would like to propose that Twisted drop support for Python 3.5 one year >> from now in 2021. > > I was considering proposing dropping it soon (I was thinking when we had 3.8 > suppor

Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-13 Thread Glyph
> On May 13, 2020, at 11:13 PM, Amber Brown wrote: > > On Thu, 14 May 2020, at 16:09, Hynek Schlawack wrote: >> >> >>> On 14. May 2020, at 07:04, Amber Brown (hawkowl) >>> wrote: >>> >>> - MacOS doesn't ship a Python 3, but homebrew/python.org offer 3.8 easily. >> >> FWIW this is not true

Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-14 Thread Glyph
> On May 14, 2020, at 3:55 AM, Amber Brown wrote: > > > > On Thu, 14 May 2020, at 16:54, Glyph wrote: >> >>> $ /usr/bin/python3 >>> Python 3.7.3 (default, Apr 7 2020, 14:06:47) >>> [Clang 11.0.3 (clang-1103.0.32.59)] on darwin >>>

Re: [Twisted-Python] SMB server component for twisted

2020-05-14 Thread Glyph
> On May 14, 2020, at 5:23 PM, Wilfredo Sánchez Vega > mailto:wsanc...@wsanchez.net)> wrote: > On May 7, 2020, at 12:48 AM, Glyph > mailto:gl...@twistedmatrix.com)> wrote: > > > > If you want to include it in Twisted itself, your best bet is to actually >

Re: [Twisted-Python] unified filesystem API (was: SMB server component for twisted)

2020-05-15 Thread Glyph
> On May 15, 2020, at 6:14 PM, Ian Haywood wrote: > > On 16/05/2020 10:55 am, Ian Haywood wrote: >> >> On 15/05/2020 10:52 am, Glyph wrote: >>> y 14, 2020, at 5:23 PM, Wilfredo Sánchez Vega >> <mailto:wsanc...@wsanchez.net> >>>> >>

Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-15 Thread Glyph
> On May 15, 2020, at 8:40 PM, Craig Rodrigues wrote: > > Maybe it would be OK to do one more release of Twisted and announce that as > the last release supporting Python 3.5, before > dropping support? Yeah; whenever we drop a Python version we should always support at least one more rele

Re: [Twisted-Python] unified filesystem API

2020-05-15 Thread Glyph
> On May 15, 2020, at 11:30 PM, Chris Withers wrote: > > On 16/05/2020 06:55, Glyph wrote: >> This does point out one of my secret hopes for SMB: that a file server's >> maintainers will care enough about file throughput that we'll finally get a >> cen

Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-17 Thread Glyph
> On May 16, 2020, at 3:12 PM, Tom Most wrote: > > > On Fri, May 15, 2020, at 10:56 PM, Glyph wrote: >> >> >>> On May 15, 2020, at 8:40 PM, Craig Rodrigues >> <mailto:rodr...@crodrigues.org>> wrote: >>> >>> Maybe it would be

Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-17 Thread Glyph
> On May 17, 2020, at 12:10 PM, Tom Most wrote: > > On Sun, May 17, 2020, at 11:31 AM, Glyph wrote: >> >>> On May 16, 2020, at 3:12 PM, Tom Most >> <mailto:t...@freecog.net>> wrote: >>> I'm (unfortunately) still shipping some Twisted apps

Re: [Twisted-Python] unified filesystem API (was: SMB server component for twisted)

2020-05-19 Thread Glyph
> On May 19, 2020, at 1:54 AM, Barry Scott wrote: > > I do not see a common class tree works for things that are so different > as SMB and FTP. Let's absolutely not try to do this with inheritance :-). Broadly, I agree with John Santos's assessment. But it's all sort of moot until someone s

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