Re: [Twisted-Python] Enable pre-commit.ci for twisted/twisted

2021-07-15 Thread Hynek Schlawack
>> I am +0 on this change due to security reasons...but I do think that it will >> reduce a bit of the frustration for first time contributors. >> > > I'm +1; we've accepted a lot of cloud risk already, and this seems like a lot > of benefit for minimal additional risk. Is this asottile runni

Re: [Twisted-Python] Post Release updates

2021-03-01 Thread Hynek Schlawack
> On 28. Feb 2021, at 21:42, Adi Roiban wrote: > > And we have not yet decided if the trunk should be using `.dev` or .post` :( > > https://twistedmatrix.com/trac/ticket/9542 > > I am +1 for .post1 ... as it has the semantic of a post release version. > while .dev0 is a pre-release. FWIW, I

Re: [Twisted-Python] reactor for Linux io_uring

2021-01-05 Thread Hynek Schlawack
>> What's more interesting is that io_uring accepts files as >> well as network/pipe handles: avoiding the need for threads. > > What threads? Why do you call out file FDs different from socket FDs? > > The point of io_uring is to avoid transitions between user and kernel right? > Nothing to do

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

2020-05-13 Thread Hynek Schlawack
> 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 anymore. Catalina comes – for all its faults – with Python 3.7: ❯ /usr/bin/python2 WARNING: Python 2.7 is not recommended. This v

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

2019-05-30 Thread Hynek Schlawack
> 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 to > doing the py3 port, cleaning up the test coverage, and general

Re: [Twisted-Python] pypy3 builds passing?

2018-04-12 Thread Hynek Schlawack
> It does on master, i think, but unsupported doesn't run on PRs. > > I'm happy to move it to supported if we're happy with it! I think since it > runs all the main reactors plus asyncio, we can be relatively trusting of it > being green now... > > > That build runs select, poll, epoll, and as

Re: [Twisted-Python] Wanting to use Twisted, but a dependency uses asyncio

2017-08-27 Thread Hynek Schlawack
> What is your nefarious intention? http://twistedmatrix.com/trac/ticket/5000 duh ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-p

Re: [Twisted-Python] (no subject)

2017-06-02 Thread Hynek Schlawack
Hi Justin, > How can I help you with Twisted? How can you help me move over the cusp into > active, useful contribution? Have you seen >?

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

2017-04-17 Thread Hynek Schlawack
>> 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 details). There’s a few blog posts around but none of them reach the >> straight-forwardibility of e.g. gunicorn’s docs. I’ve ended up ask

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

2017-04-16 Thread Hynek Schlawack
> 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 here BTW. When I started using Twisted as a WSGI container, I was ve

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

2017-02-28 Thread Hynek Schlawack
>> 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 build/runtime separation? > > I was just trying to figure out where you were having this problem: > > > ZFS and apt-get + lots of files in a

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

2017-02-25 Thread Hynek Schlawack
> 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 build/runtime separation? > We use Docker extensively, but our build machine makes images that we push to > Dockerhub (private repos). This has a

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

2017-02-25 Thread Hynek Schlawack
> ... Contrary I’m not a super fan of having one opaque blob on server; the > transparent structure of a virtualenv is something I learned to appreciate. > ... > > A zipfile containing a virtualenv (pex) isn't all that opaque -- with the > right editor plugins, you can even *cough* edit the c

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

2017-02-24 Thread Hynek Schlawack
> >> I'm trying to point out that *some* might find the system Python attractive >> because they can use OS-supplied python packages in lieu of the effort of >> setting up a binary build infrastructure. > > So, I think everyone has a different perspective here; Hynek seems to be > saying "all

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

2017-02-23 Thread Hynek Schlawack
> As a very simple example: if you have a traditional (non-container) Linux > system hosting a Python application in a virtualenv, and you deploy a Python > app to a virtualenv e.g. using Puppet or Ansible, you either need to: > > 1. Use no C extensions > 2. Hope there's a manylinux1 binary whee

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

2017-02-23 Thread Hynek Schlawack
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 tedious about it at all. >>> I find the idea of running throw

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

2017-02-22 Thread Hynek Schlawack
>> 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 tedious about it at all. > I find the idea of running throwaway envir

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

2017-02-22 Thread Hynek Schlawack
>>> So my problem is that while my protocol stack spins up very nicely and >>> trivially easy using the twistd daemon, the standard python3-twisted >>> package for 14.04 is wy behind and doesn't include twistd (!), and I >>> haven't found a good backport. I'd also like to avoid doing thing

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

2017-02-22 Thread Hynek Schlawack
>> I'm tempted to launch into a diatribe about namespacing, containers, and >> application isolation generally, but before I do - why is it that you >> /want/ to use the system Python environment? Had you just not >> considered the option of virtual environments? > Awesome though it is, virtualen

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

2017-02-21 Thread Hynek Schlawack
>>> 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? >> > Yes, thanks very much. this kind of change really makes one doubt ones > abilities. >

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

2017-02-21 Thread Hynek Schlawack
In general I'd say we should take into account LTS releases. OTOH Python 3 adoption is still rather low and tends toward newer versions with fast upgrading. There's deadsnakes and there's SC and there's Docker. I think it's totally fair to drop everything before 3.5 since that gives us nice g

Re: [Twisted-Python] Twisted Challenge Coins!

2016-09-03 Thread Hynek Schlawack
Since this kind of fell to slumber: I'm upping my ante to $100 however many coins that gives me. Sent from my phone. > Am 20.06.2016 um 18:33 schrieb Kevin Horn : > > I haven't been very active in a while, but: > > a) this is a really cool idea > b) I'd really like one of these for myself > >

Re: [Twisted-Python] Waiting time for tests running on Travis CI and Buildbot

2016-08-24 Thread Hynek Schlawack
> We can drop support for 3.3 of course, but that's a separate discussion. +1 since 3.3 wasn’t ever part of any LTS distribution. 3.4 will live for a while but it’s also the first really good Python 3. :) ___ Twisted-Python mailing list Twisted-Python@

Re: [Twisted-Python] Twisted Challenge Coins!

2016-06-15 Thread Hynek Schlawack
>> You might be eligible to receive one, but first we need enough committers to >> buy them in sufficient quantity that they can exist at all :). > > Heh, let’s assume I’m an idiot and didn’t extract that message from the > original email. > > In that case, I’m willing to take 5 coins as well.

Re: [Twisted-Python] overview: new review queue venue

2016-05-22 Thread Hynek Schlawack
Ah finally a fine bike shedding thread that gets everyone involved. ;) > Right now, we need to manually vet each change before sending it to > buildbots, because they are shared mutable environments that we can't afford > to have running untrusted code automatically. If we could switch to Travi

Re: [Twisted-Python] overview: new review queue venue

2016-05-22 Thread Hynek Schlawack
>>> A lot of projects do follow this workflow, and maybe it will be fine for >>> us. The real question is; is FreeBSD support really worth it for the cost >>> to contributors, since that's the only platform we currently support but >>> can't test? >> >> I'm guessing that we have more FreeBSD

[Twisted-Python] [ANN] prometheus_async: asyncio/Twisted-aware Python Prometheus instrumentation

2016-05-20 Thread Hynek Schlawack
Dear fellow friends of asynchronous software, maybe some of you have already bumped into the Prometheus monitoring system and liked it like I do (in any case, I’d like to invite you to my PyCon US talk on that topic:

Re: [Twisted-Python] [MIGRATION COMPLETE] Changes to Twisted's Trac (GitHub Authentication)

2016-04-27 Thread Hynek Schlawack
>> >> I would like to note that this migration has now finished, and you can now >> log in via GitHub. Legacy logins have been disabled, and previous admin >> accounts (except for a current handful) have been revoked in the name of >> minimising our security surface; if you once had access to o

[Twisted-Python] pyOpenSSL 16.0.0 released

2016-03-19 Thread Hynek Schlawack
changed to default to UTF8String in the config around 2005, but the actual code didn't change it until late last year. This will default us to the setting that actually works. To revert this you can call OpenSSL.crypto._lib.ASN1_STRING_set_default_mask_asc(b"default"). #234 *** For

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

2015-08-30 Thread Hynek Schlawack
This isn't a new problem either; it's just more prevalent this year. Typically emerges around some kind of holidays. Sent from my phone. > Am 30.08.2015 um 09:01 schrieb Glyph : > > > >> On Aug 29, 2015, at 11:38 PM, Hynek Schlawack wrote: >> >&g

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

2015-08-29 Thread Hynek Schlawack
I wonder, is something weird with our Mailman configuration? Because I haven't seen any other list (some with many more subscribers) that has this regular auto-responder problem. Sent from my phone. > Am 30.08.2015 um 08:10 schrieb wangl...@dhcc.com.cn: > > 您的邮件已收到,我会尽快处理,谢谢! > > >

Re: [Twisted-Python] Considerations for Twisted prereleases on PyPI

2015-07-27 Thread Hynek Schlawack
> So, the question is, do people think we should start putting them on PyPI? Is > it worth some users on ancient pips inadvertantly getting (admittedly quite > stable) prereleases? Would you use it, and would you be more likely to test > Twisted prereleases if they were distributed like this (in

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

2015-06-21 Thread Hynek Schlawack
>> I am sure everyone understands that the Twisted community would love more >> diversity. While it is hard to achieve, it should be easy to remove one of >> the obvious blockers -- making underrepresented groups feel more welcome. > Thanks for taking this on, Moshe. +1 >> My current draft, in

Re: [Twisted-Python] pypy support

2015-06-07 Thread Hynek Schlawack
On 7 Jun 2015, at 7:25, Glyph wrote: 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 wri

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

2015-04-24 Thread Hynek Schlawack
On 24 Apr 2015, at 8:41, Adi Roiban wrote: I feel that twisted.python.compat is slowly duplicating / reinventing an important part of the six code. I’m +1 on this too. I was a bit hesitant in the past but duplicating compatibility code everywhere is becoming ridiculous and a hassle. __

Re: [Twisted-Python] Deprecating subproject packaging

2015-04-22 Thread Hynek Schlawack
> I think this is a good idea and am willing to put the work in to implement > this. Does anyone object to this? Is there a use case for keeping the > subprojects packagable that I don't know about? +10 1. The split is due to Twisted not fitting on actual diskettes in ancient times. 2. It adds

Re: [Twisted-Python] [ANN] pyOpenSSL 0.15*.1*

2015-04-14 Thread Hynek Schlawack
, Hynek Schlawack wrote: Greetings fellow Pythoneers, I'm happy to announce that pyOpenSSL 0.15 is now available. pyOpenSSL is a set of Python bindings for OpenSSL. It includes some low-level cryptography APIs but is primarily focused on providing an API for using the TLS protocol from P

[Twisted-Python] [ANN] pyOpenSSL 0.15

2015-04-14 Thread Hynek Schlawack
e note that DeprecationWarnings are silenced by default on Python 2.7. See the ChangeLog at <https://github.com/pyca/pyopenssl/blob/0.15/ChangeLog> for more details! On behalf of PyCA, Hynek Schlawack ___ Twisted-Python mailing list Twisted-Python@

Re: [Twisted-Python] Twisted dinner at PyCon tonight (4/11)?

2015-04-11 Thread Hynek Schlawack
That clashes with the PyLadies auction. :-/ I'm not sure I can attend anyway but it's unfortunate nevertheless. Sent from my phone. > Am 11.04.2015 um 14:58 schrieb Ashwini Oruganti : > > Everyone is invited! Let's meet near the registration desk at 6:30pm > > Pullman > 3424, Avenue du Parc

Re: [Twisted-Python] getting rid of semantic newlines

2015-03-04 Thread Hynek Schlawack
On 5 Mar 2015, at 2:14, Glyph Lefkowitz wrote: I find the "semantic newlines" standard which we have been attempting to enforce for documentation a constant source of annoyance. Ostensibly, the purpose of using semantic newlines is to reduce the size of diffs. However, given that we have oce

Re: [Twisted-Python] Specifying ciphers in ssl.optionsForClientTLS

2015-02-16 Thread Hynek Schlawack
On 17 Feb 2015, at 2:52, Glyph Lefkowitz wrote: I need to loosen up the default cipher list to allow RC4 (some sites our customers use like myaccounts.socalgas.com still use it). I was going to pass the following dict into the extraCertificateOptions argument of ssl.optionsForClientTLS, but was

Re: [Twisted-Python] Looking for anyone interested in maintaining treq.

2015-02-06 Thread Hynek Schlawack
On 6 Feb 2015, at 10:53, HawkOwl wrote: > I’d be interested in this :) It’s not like you haven’t been maintaining it for months. :-P > I think this also might be a good time to move it to the twisted/ org > alongside Klein, maybe? Yes, we should discuss this. getPage should be deprecated and

Re: [Twisted-Python] twisted ssl server and client

2014-11-10 Thread Hynek Schlawack
On 10 Nov 2014, at 11:32, John Aherne wrote: So I am now looking at CertificateOptions in more detail. But I am stuck trying to figure out how to add my GoDaddy cert to trustRoot. You don’t need trustRoot for servers. You need to supply an extraCertChain which – as I’ve mentioned before –

Re: [Twisted-Python] twisted ssl server and client

2014-11-09 Thread Hynek Schlawack
John, On 7 Nov 2014, at 14:14, John Aherne wrote: Thanks for the reply. In the end I took the examples in the docs and changed them to fit. So I have ended up with something that seems to work. But I wouldn't mind if someone can tell me if what I have done is miles wrong or spot on or could

Re: [Twisted-Python] client logic

2014-10-09 Thread Hynek Schlawack
Hi Benjamin, > I’m sorry if this is a duplicate?  I sent this earlier, but I don’t see it in > the archives? > I can see it in the archives along with this reply by glyph: http://twistedmatrix.com/pipermail/twisted-python/2014-October/028841.html —h___

Re: [Twisted-Python] 'module' object has no attribute 'optionsForClientTLS'

2014-10-02 Thread Hynek Schlawack
> I am trying to execute the check_server_certificate.py and I am getting this > error… can you guys help me figure out whats going on? its the exact sample > code on the website running on Ubuntu 14.04. Trusty is shipping Twisted 13.2 which doesn't have vital TLS improvements that arrived wit

Re: [Twisted-Python] naming question before we end up committed...

2014-09-27 Thread Hynek Schlawack
> Does anyone have an opinion on renaming it to "twisted.logger"? Or have a > better suggestion? +1 on dropping `python` here. That's a weird namespace anyway something as central as logging shouldn't be there. ___ Twisted-Python mailing list Twiste

[Twisted-Python] 14.1 & regressions (was: Python 3.3 buildslaves)

2014-09-15 Thread Hynek Schlawack
On 15 Sep 2014, at 8:16, Glyph wrote: I noticed that https://twistedmatrix.com/trac/ticket/7355 is a blocker for the release of Twisted 14.1 and #7355 is blocked Python 3.3 buildbot configuration/availability issues. Thank you for (specifically) bringing this up and (generally) getting the

Re: [Twisted-Python] workflow

2014-09-12 Thread Hynek Schlawack
On 12 Sep 2014, at 8:20, Daniel Sank wrote: I would greatly benefit from some direction regarding workflow. In particular, how do you guys deal with having an installed version of twisted, and a version (versions?) with which to tinker? Currently, I have twisted installed in the normal end user

Re: [Twisted-Python] running twisted with supervisord -- logging question

2014-08-23 Thread Hynek Schlawack
Jonathan, On 24 Aug 2014, at 1:46, Jonathan Vanasco wrote: Thanks for the insight. I was stupid and didn't include my code. I don't actually want supervisor to handle the logging. I wanted to have this app's logs in /var/log/myapp-twisted/twisted.log I just can't figure out how to make th

Re: [Twisted-Python] Is there pb documentation somewhere?

2014-08-09 Thread Hynek Schlawack
On 8 Aug 2014, at 23:59, Glyph Lefkowitz wrote: I've participated in this discussion several times: Hypothetical Amalgam of Median Interlocutors Speaking Here: "I'm using Tulip because I really like its style of coroutines." Glyph: "That's interesting. Did you know that Twisted has an equival

Re: [Twisted-Python] bringing LDAP back

2014-07-07 Thread Hynek Schlawack
On 7 Jul 2014, at 12:23, Bret Curtis wrote: It is my recommendation that after this is reviewed and hopfully commited that we make a branch and tag the release as 0.54.0. The reason for the large jump is that antong's last semi-offical release was 0.53 on PyPI. At this point we (myself and anyon

Re: [Twisted-Python] bringing LDAP back

2014-07-01 Thread Hynek Schlawack
On 1 Jul 2014, at 12:14, Bret Curtis wrote: With that said, lets get this ball rolling. Firstly, we'll need a repo to get started with. My company (Amplidata) has it's own fork, but I think it is best we start with a clone, not a direct fork as github would have us do, of tv42s repo. Agreed.

Re: [Twisted-Python] bringing LDAP back

2014-06-28 Thread Hynek Schlawack
On 28 Jun 2014, at 0:27, Glyph wrote: Recently however, the authors of this LDAP code have generously re-licensed the code under a Twisted-compatible MIT license, both the original code at and the more recent fo

Re: [Twisted-Python] Status of trac upgrade

2014-05-29 Thread Hynek Schlawack
On 23 May 2014, at 15:11, exar...@twistedmatrix.com wrote: I was just wondering what the current status of the effort to upgrade trac on twistedmatrix.com is. I could hear the crickets all the way down to Madagascar. So what *is* the status? The current state is really hardly bearable; the

Re: [Twisted-Python] Twisted 14.0.0 Release Announcement

2014-05-12 Thread Hynek Schlawack
On 12 May 2014, at 13:07, HawkOwl wrote: > On behalf of Twisted Matrix Laboratories, I am honoured to announce the > release of Twisted 14.0! It has been a long road to get here, but we’ve done > it! Thank you so much for pushing this through! Barring unpleasant surprises, this is a wonderful

Re: [Twisted-Python] The Twisted 14.0 Release Pre-Post-Mortem, and Where To From Here

2014-05-07 Thread Hynek Schlawack
On 7 May 2014, at 16:07, HawkOwl wrote: > 2 - Some work, medium risk - Release 14.0.0pre5 as 14.0 final, I’m +1 on this one. The pre5 has been widely tested and the only real issues are some embarrassing but inconsequential typos. Let’s get this out before we introduce *real* problems. > and

Re: [Twisted-Python] Twisted 14.0.0pre5 Announcement

2014-05-01 Thread Hynek Schlawack
On 1 May 2014, at 21:28, Glyph Lefkowitz wrote: When I connect to the hosts you mention using openssl (don’t forget to set -servername if you play along) I only get TLSv1. Is it possible that there’s some custom TLS code laying around? As far as I can see, only

Re: [Twisted-Python] Twisted 14.0.0pre5 Announcement

2014-05-01 Thread Hynek Schlawack
On 1 May 2014, at 13:28, Glyph wrote: I've upgraded (and therefore and and and a number of other sites that nobody cares about) to the prerelease: . Smooth sailing so

Re: [Twisted-Python] Twisted 14.0.0pre5 Announcement

2014-04-29 Thread Hynek Schlawack
That's a Hawkowlism. :) Sent from my phone. > Am 29.04.2014 um 19:43 schrieb Glyph : > > > On Apr 29, 2014, at 3:44 AM, Hynek Schlawack wrote: > >>> If anyone else has some applications they run, please try out pre5! >> >> Look at all the ECDHEHEHE:

Re: [Twisted-Python] Twisted 14.0.0pre5 Announcement

2014-04-29 Thread Hynek Schlawack
On 29 Apr 2014, at 12:16, HawkOwl wrote: > If anyone else has some applications they run, please try out pre5! Look at all the ECDHEHEHE: “gnutls-cli -s --crlf imap.variomedia.de -p 4190” (and DHEHEHEHE too if you add “--priority='PFS:!ECDHE-RSA'”). Tests are passing everywhere too. > On 29

Re: [Twisted-Python] Making twisted web client requests on running reactor

2014-02-23 Thread Hynek Schlawack
Hello Ameya, On 23 Feb 2014, at 3:17, Ameya Lokare wrote: I'm writing a client library that makes (potentially long running) HTTP requests. Since the library will be used within non-Twisted code, I was thinking of running the reactor in a separate thread. Have you seen Crochet? That might b

Re: [Twisted-Python] starting point to contribute

2014-01-18 Thread Hynek Schlawack
Hi Kasun, On 18 Jan 2014, at 4:57, Kasun Thennakoon wrote: Thanks for your attention. I'm more interested in GPS protocols and web protocols. If you’re into GPS, you may enjoy helping https://twistedmatrix.com/trac/ticket/3926 getting merged at last! Cheers, —h _

Re: [Twisted-Python] Filing Bugs

2014-01-06 Thread Hynek Schlawack
On 5 Jan 2014, at 19:52, Daniel Sank wrote: I have a windows computer and an Ubuntu computer that I use as a file server. I'm reading about IRC now. How are we supposed to find each other? You could try Freenode’s web chat: https://webchat.freenode.net so you don’t have to extra install soft

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-30 Thread Hynek Schlawack
On 31 Dec 2013, at 0:22, Tobias Oberstein wrote: Is there an example of doing this with 'twistd' anywhere? I was hoping you or someone could tell me how to do one;) Thing is: I was looking for --endpoint "..." argument with twistd, but there isn't. How is the full endpoint "vision" suppose

Re: [Twisted-Python] txdlo - a Twisted DeferredListObserver

2013-12-30 Thread Hynek Schlawack
Hey Terry, On 30 Dec 2013, at 21:20, Terry Jones wrote: Any chance of adding a license (*cough* MIT *cough*) Is Apache ok for you? If not, mail me off list and I can do MIT for you. Apache is just fine for me – I use it for structlog too. I was suggesting MIT because that’s Twisted’s licen

Re: [Twisted-Python] txdlo - a Twisted DeferredListObserver

2013-12-30 Thread Hynek Schlawack
On 30 Dec 2013, at 6:24, Terry Jones wrote: > I'll improve the examples (and probably add tests for them) at some point. > Meanwhile, the DeferredListObserver class (in txdlo.py), tests for it, and > various examples can be had from https://github.com/terrycojones/txdlo That’s great! Any chance o

Re: [Twisted-Python] "mind" introduced strangely in pb howto

2013-10-24 Thread Hynek Schlawack
Am 24.10.2013 um 12:44 schrieb Tobias Oberstein : >> Your server definitely sends three certificates - that's >> surprising/confusing. >> >> Could you double-check how you've achieved that? If you google for chain >> certs & Twisted you'll find all kinds of monkey patches to achieve that; and >

Re: [Twisted-Python] "mind" introduced strangely in pb howto

2013-10-24 Thread Hynek Schlawack
Am 24.10.2013 um 11:10 schrieb Tobias Oberstein : >>> A concatenated cert like above works today without the new code that is >> upcoming in Twisted. Which is cool also. >> >> That is completely new to me. Are you sure you're not mixing up Twisted's >> behavior with nginx? >> >> If what you say

Re: [Twisted-Python] "mind" introduced strangely in pb howto

2013-10-24 Thread Hynek Schlawack
Am 24.10.2013 um 09:48 schrieb Tobias Oberstein : > FWIW, you can manually concatenate certs .. this is what we do (also for > StartSSL): > >$ cat myserver_plain_cert.crt > myserver.crt >$ cat ../sub.class1.server.sha2.ca.pem >> myserver.crt >$ cat ../ca.pem >> myserver.crt > > A co

Re: [Twisted-Python] "mind" introduced strangely in pb howto

2013-10-24 Thread Hynek Schlawack
Am 24.10.2013 um 08:08 schrieb Daniel Sank : > When I clicked on the > register button after filling out the username/password fields my > browser (firefox) brought up a notice that the security certificate is > invalid because of unavailable issuance chain information. Knowing > absolutely nothin

Re: [Twisted-Python] "mind" introduced strangely in pb howto

2013-10-24 Thread Hynek Schlawack
Am 24.10.2013 um 09:02 schrieb Tobias Oberstein : >> I just tried to register so I could do that. When I clicked on the register >> button >> after filling out the username/password fields my browser (firefox) brought >> up a notice that the security certificate is invalid because of unavailable

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

2013-09-30 Thread Hynek Schlawack
Am 30.09.2013 um 20:42 schrieb Glyph : >> I have that on my todo-list since the beginning of time but never got around >> to it. > > Do you have a link to a Nevow bug in some tracker (launchpad, perhaps?) that > is tracking this? Yes, I believe it’s https://bugs.launchpad.net/nevow/+bug/10910

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

2013-09-29 Thread Hynek Schlawack
Am 24.09.2013 um 22:39 schrieb Richard Wall : > * Dev Requirements > It would be nice to have a dev-requirements.txt file so that they > could easily install the necessary development tools. pydoctor, > coverage, nevow, zope.interface, twistedchecker, etc JFTR, we need to fix nevow first to be in

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

2013-09-25 Thread Hynek Schlawack
>> * Dev Requirements >> It would be nice to have a dev-requirements.txt file so that they >> could easily install the necessary development tools. pydoctor, >> coverage, nevow, zope.interface, twistedchecker, etc >> See: >> * https://github.com/hynek/structlog/blob/master/dev-requirements.txt > >

[Twisted-Python] [ANN] structlog – bring context & structure to your logs without boilerplate

2013-09-17 Thread Hynek Schlawack
Hi folks, today, I’ve release the 0.2.0 of my structlog project whose ambition is no less than changing the way we log in Python. :) And since it sports dedicated support for Twisted (but is not limited to it, it wraps *any* logger), I’d like t

Re: [Twisted-Python] [Twisted] #6663: Allow CertificateOptions to set acceptable SSL ciphers

2013-08-16 Thread Hynek Schlawack
please disregard this mail I mixed up the behavior of roundup and trac. feel free to comment on ticket #6663 though. Am 16.08.2013 um 08:19 schrieb Hynek Schlawack : >>> 1. That there is a consent on high quality ciphers: for example right >> now there are roughly two fractions

Re: [Twisted-Python] [Twisted] #6663: Allow CertificateOptions to set acceptable SSL ciphers

2013-08-15 Thread Hynek Schlawack
>> 1. That there is a consent on high quality ciphers: for example right > now there are roughly two fractions who agree what is the lesser evil: RC4 > or AES-CBC. > > No, it is now clear that RC4 is the greater evil. The browsers have > deployed defenses against the "BEAST" attack on CBC (the de

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

2013-07-25 Thread Hynek Schlawack
Am 25.07.2013 um 00:43 schrieb Glyph : > If you just want to see broader testing first, a better solution would be for > Hynek to just contribute to the Calendar Server project directly so that > there are effectively 2 parties involved rather than 3; for starters, we > could have a setup.py i

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

2013-07-24 Thread Hynek Schlawack
Am 24.07.2013 um 20:05 schrieb exar...@twistedmatrix.com: > It seems like this would get the ball rolling more quickly and I don't see > the downside. If anything, having it as an independent project is more > likely to get more people interested in it more quickly and so increase the > pool

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

2013-07-23 Thread Hynek Schlawack
Am 22.07.2013 um 23:37 schrieb Glyph : >> How would you feel about packaging it up on PyPI so people can try it out >> effortlessly? What do Apple’s licenses say about that? Yes, I’m volunteering. >> >> It seems it's released under the ASL2. I don't know if Apple prevents *its* >> employees fr

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

2013-07-19 Thread Hynek Schlawack
Hi, >> I know that this has been asked before, but it's been a while and I'm >> hoping for some good news. Is there a SQL ORM that works well with >> Twisted and PostgreSQL? In particular I'm hoping to find something >> that works with txpostgres as that's the library I prefer to access >> the d

[Twisted-Python] 13.1.0 and #6499

2013-06-15 Thread Hynek Schlawack
Hi, #6499 (Teach chain certificates to SSL server endpoints string syntax) has been pronounced ready for merge but since I’m no committer, I can’t do that myself. It would be *great* if it could be merged before Ashwini cuts the release branch! Thanks & sorry for the noise, —h

Re: [Twisted-Python] logging

2013-06-15 Thread Hynek Schlawack
Am 15.06.2013 um 08:18 schrieb Christopher Armstrong : >> As far as actual *proposals* go, I have these ones, that are all independent: >> >> 1. include all keyword arguments in log output without requiring >> specifying the formatting in the string >> 2. make it really easy to specify the "syst

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

2013-05-11 Thread Hynek Schlawack
> Twisted reviewers: review tickets! Tom, the recipient of the sponsored > fellowship, is busy with fixing our infrastructure, so we really need the > community to pitch in. > > If you're interested in reviewing tickets, please let me know. I spoke about that to jp already: collecting some *p

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

2013-05-05 Thread Hynek Schlawack
Am 06.05.2013 um 07:11 schrieb Glyph : > With the recent resolution of , I > am wondering if there is already a plan in progress (and maybe some existing > tickets) for adding intermediary chain certificate support to client and > server endpoint strin

Re: [Twisted-Python] Current callback best practices

2013-04-03 Thread Hynek Schlawack
Am 02.04.2013 um 16:32 schrieb Glyph : >> My question can be simplified to: Closures yes or no? > "As appropriate". I had that coming. :) […] Thanks for your verbose explanations! >> If “yes, closures”: Still using cb/eb prefixes? I don’t see them very often >> in recent examples. What about

[Twisted-Python] Current callback best practices

2013-04-02 Thread Hynek Schlawack
Hi, I’ve asked this one already at the Twisted dinner (thanks again for it, it was probably my PyCon highlight) and got various answers from people sitting around me. I’m still indecisive so I’d like to gather even more opinions[1]. I already tried to ask on IRC but my time zone is just not ver

Re: [Twisted-Python] Twisted dinner pictures

2013-03-26 Thread Hynek Schlawack
is awesome > - sprints are awesome > - pycon is awesome (even if my phone insists on correcting it to "toxin") > - ashfall is awesome > > On Mar 25, 2013 7:08 PM, "Hynek Schlawack" wrote: > Hi, > > As you may have noticed, I'm building a little pag

[Twisted-Python] Twisted dinner pictures

2013-03-25 Thread Hynek Schlawack
Hi, As you may have noticed, I'm building a little page to show off that PyCon wasn't about donglegate. http://thisispycon.com I would love to post about our little dinner and would be delighted if anyone having pics AND quotes could forward them to me. Same goes for sprints etc, flood me! Ch

Re: [Twisted-Python] Must avatarId always be a string?

2013-01-14 Thread Hynek Schlawack
Am 14.01.2013 um 23:58 schrieb Glyph : >>> It seems like the "shared caching reference" would solve this problem >>> as well? >> >> Yes, I think that's the right answer. It's certainly the right design >> in my case, and perhaps in the general case too. > > I think that this is the right design

Re: [Twisted-Python] Must avatarId always be a string?

2013-01-09 Thread Hynek Schlawack
Am 09.01.2013 um 14:04 schrieb Jan Urbański : >> http://twistedmatrix.com/documents/current/core/howto/cred.html says >> that the avatarId parameter to IRealm.requestAvatar must be a string, >> not even a Unicode string. I'm using LDAP for authentication, and the >> checker retrieves the full LDA

Re: [Twisted-Python] Making ConnectionPool not pool

2012-11-27 Thread Hynek Schlawack
Am 27.11.2012 um 14:39 schrieb exar...@twistedmatrix.com: >> The only reason I’d prefer to stay with pooling is that I very much >> expect the traffic to rise and wouldn’t really want to change away and >> go back later. :( > Then I'd strongly recommend taking a look at twext.enterprise: > > h

Re: [Twisted-Python] Making ConnectionPool not pool

2012-11-27 Thread Hynek Schlawack
> I have a really bad time with the combination of a low-volume service and > adbapi.ConnectionPool, pyodbc, FreeTDS and Sybase. > > Basically my connections just time out and fail in weird, generic ways like: > > Error: ('01000', '[01000] [FreeTDS][SQL Server]Unexpected EOF from the server >

[Twisted-Python] Making ConnectionPool not pool

2012-11-27 Thread Hynek Schlawack
Hi, I have a really bad time with the combination of a low-volume service and adbapi.ConnectionPool, pyodbc, FreeTDS and Sybase. Basically my connections just time out and fail in weird, generic ways like: Error: ('01000', '[01000] [FreeTDS][SQL Server]Unexpected EOF from the server (20017) (

Re: [Twisted-Python] Ideas for a Twisted Training

2011-06-17 Thread Hynek Schlawack
Hi, On Fri, Jun 17, 2011 at 12:05, Thomas Hervé wrote: >> Also, if anyone else from the Twisted community is going to be there, let's >> have a drink. > I'll be around starting Tuesday, happy to meet you here! Will there be a Twisted table at PyBeer/PyFiorentina? :) Cheers, -h, attending. __

[Twisted-Python] Anyone ever used successfully sqlanydb together with Twisted and adbapi?

2011-04-27 Thread Hynek Schlawack
Hi, I've essentially written a whois daemon that serves via TCP as well as via web, fetching its data from a sqlanywhere 12 server, using the official sqlanydb driver. Everything works fine except for occasional SIGABRTs (or inside of gdb: SIGSEGVs inside of the sqlanywhere binary driver) in the