profile
viewpoint

agronholm/anyio 782

High level asynchronous concurrency and networking framework that works on top of either trio or asyncio

njsmith/colorspacious 133

A powerful, accurate, and easy-to-use Python library for doing colorspace conversions

graydon/stxt 87

sketch of a secure async group communication system

HyperionGray/trio-websocket 54

WebSocket client and server implementation for Python Trio

executablebooks/myst 3

Myst - Markedly Structured Text

bots-for-humanity/trio-gitter-bot 2

Gitter bot for the Trio project

njsmith/async_generator 2

Making it easy to write async iterators in Python 3.5

njsmith/codetrawl 1

Better software through corpus analysis

njsmith/cython 1

A Python to C compiler

push eventnjsmith/trio

Tim Stumbaugh

commit sha c835c38763106f3eeec689149b2746f9fd7106b2

Fix documentation references to `socket.socket` This is a class in the stdlib, not a function. I didn't really dig into why/when sphinx decided to get fussy about it. I tested this by building the docs and clicking the link on one of the changed sites, and it took me to the right place in the Python stdlib docs

view details

Lura Skye

commit sha d26bbffbbac407d8a9b58a5634a63a8fa27887c2

Only use typed_ast on 3.7.

view details

Lura Skye

commit sha 47250b18fbe4dcc8ac8ae0a97e8ad52471d46c29

Pin cryptography to 36.0.0.

view details

Lura Skye

commit sha 313f17876fc4469dd1fe6bce3afe3d944f872e1c

Fix OpenSSL on Python 3.10. This works around a CPython bug whhere the right exception type isn't raised.

view details

Lura Skye

commit sha a43b832b7dd215dbe51b5d21bd81710124f81fe2

Add newsfragment for OpenSSL fix.

view details

Joshua Oreman

commit sha fc98849808d363739aa7ee508dce18ac020dbd99

Merge pull request #2203 from Fuyukai/fix-ci-once-and-for-all Fix CI and add compatibility with OpenSSL 3.0.

view details

Tom Pohl

commit sha 65de07a8e27ce706e39009f736b54a32befd5bef

docs: fix minor code example issues Remove redundant f-string. Replace redundant loop variable with underscore.

view details

Tim Stumbaugh

commit sha 7f44dcf59ce1c5dfde09e0f7076c228b0337a593

Merge pull request #2202 from pohlt/pohlt-patch-1 docs: fix minor code example issues

view details

Tim Stumbaugh

commit sha fe59176172eb177963280e153f06b9646b8fed32

Fix leaking file descriptors when subprocess creation fails If subprocess spawning fails (i.e. unsuccessful call to `exec`), the created trio resources (i.e. the trio ends of the pipes that will be used to send/receive data to the child) don't get cleaned up until the next garbage collection run (which will call their `__del__`). It would be nicer if this was deterministic, and that resources created during the run of `open_process` were either completely transferred to the `Process` object (which can take over the management of them) or cleaned up (on failure). To implement this, two ExitStacks are used: One will manage the resources that need cleaned up unconditionally (the child ends of the pipe); the other will manage the resources that need cleaned up on failure. Trio currently supports versions of python that lack `contextlib.AsyncExitStack`. While there is a backport for 3.6 available on PyPI, the objects that represent the pipes (_FdHolder and _HandleHolder) don't really need to have an async close. They are internal implementation details anyway, so this refactors their implementation to have the Stream/AsyncResource methods on the actual Stream objects themselves. This allows us to use the regular ExitStack and avoid an extra dep

view details

Tim Stumbaugh

commit sha 45454bc238d074332fa2fc658e6149b3953f0566

reformat

view details

Tim Stumbaugh

commit sha d03fd1505956e329a0d03e77210e4c5c8b7d38cf

Add towncrier note; restore towncrier README

view details

Lura Skye

commit sha 7b0001dd11f867228fbd03d1f3c7cbae246e89fd

Merge pull request #2193 from tjstum/noleak

view details

Tim Stumbaugh

commit sha d38a40659c92db8e9220f46e1468e5ee81d4240d

Improve stability of tests_subprocess On macOS, there appears to be some sort of race where sending SIGTERM to a process "too early" in its lifetime causes the exit status to appear as if SIGKILL was sent. I can reproduce this with the stdlib subprocess. Additionally, this problem doesn't occur if there is a tiny sleep between spawning a child subprocess and terminating it. My proposal is to use `/bin/sleep` on posix (which reliably does not have this issue on macOS) and continue using the Python form elsewhere.

view details

Joshua Oreman

commit sha 147a545105284acf4bf0aa2b704a7b7272305c03

Merge pull request #2205 from tjstum/fixtests Improve stability of tests_subprocess

view details

Tim Stumbaugh

commit sha 643684ff30dd264d8496b83fbf46c26645f59aa4

subprocess - Fix a bug where trio isn't notified about pidfd closes If you have 1. Task A blocks in `Process.wait` 2. The child process exits 3. Task B calls `Process.returncode` (3) will close the pidfd, but nothing will ever wake up Task A, since trio wasn't notified. I noticed this when I wrote a `deliver_cancel` function that was slow enough that the child actually exited before the call to `Process.returncode`. In the default `_posix_deliver_cancel`, everything is so fast that the usual ordering is that (3) comes before (2), and there isn't an early call to `_pidfd_close`. This fixes the bug by ensuring we notify trio about closing the pidfd when we do it!

view details

Tim Stumbaugh

commit sha bb02d15fe9128b4f821c35fbc9f5d1d0b712a2f5

Add news and comment

view details

Tim Stumbaugh

commit sha 18a850c186e23afa5d9ffdfcf3d4f536bb60ae77

Use an event instead

view details

Joshua Oreman

commit sha 4edfd41bd5519a2e626e87f6c6ca9fb32b90a6f4

Merge pull request #2209 from tjstum/fixprochang subprocess - Fix a bug where trio isn't notified about pidfd closes

view details

Alex Grönholm

commit sha 39d01b268b1f354aa0f2290cdddd88fa8c6f6b73

Drop Python 3.6 support (#2210) * Remove Python 3.6 IPython hack in CI script * Remove exc_key compatibility hack in MultiError * Remove KI test that is no longer required * Update a number of comments referring to Python 3.6 * Stop checking for warn_on_full_buffer (this is always available now) * Stop installing contextvars since we dropped 3.6 support * Remove TCP_NOTSENT_LOWAT definitions (they always exist in Python 3.7+) * Remove obsolete check for GenericMeta * Remove check for ssl.OP_NO_TLSv1_3 (this flag was introduced in Python 3.7 so it's always there now) Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com>

view details

Alex Grönholm

commit sha 21cd26f91be458566ca16e3f38cefc481e1433da

Add news fragment for #2210 (#2219)

view details

push time in 23 minutes

push eventnjsmith/sopel

dgw

commit sha 6273c48a2a882916749a18588d1123651774fcce

Bump version for 7.1.7-dev [skip ci]

view details

dgw

commit sha 8a610d1ad56a059a7689f184eb372bbe8deaaaf2

Backport pull request #2208 reddit: fix matching twice for reddit.com without www. Modified new test file from master to contain the required header lines (future imports & coding comment) for 7.1.x branch.

view details

dgw

commit sha 4fb17d43dbd5e2d2094c22afeb93bd103936e76d

Backport pull request #2215 coretasks: alert owner if nick in `RPL_WELCOME` does not match config

view details

dgw

commit sha 19d7fde16996f250d818f55db803a5e759027306

Backport pull request #2216 reddit, test: even more of the comments link format is optional

view details

dgw

commit sha 5fb69f86a2c80962dbf788c9bf896492f678bbc7

Backport pull request #2209 reddit: add flair text to link/submission output

view details

dgw

commit sha 3fc0a401071087a6ed22bf863874b2c9fd60c135

adminchannel: fix unmatchable caret in regex `configureHostMask` has had an unmatchable caret in one of its regular expressions since 2014. The fix for master/8.0 will be more like a minor refactor; this is just a patch to fix the obvious bug for stable.

view details

dgw

commit sha 57ea7fa3c3ed792c785d7439c5a9033e253ea9a0

Backport pull request #2214 wiktionary: allow for multi-line etymologies

view details

dgw

commit sha a7733344521d0ac9be047fdb2e67989f582b3f9c

Release 7.1.7

view details

Nathaniel J. Smith

commit sha ce59d9dfdf2fc677c125ba7b1b4e3a9dadc6ba18

Merge tag 'v7.1.7' into njs-heroku-support

view details

push time in a month

push eventnjsmith/sopel

dgw

commit sha 3f8f86979b3ba8e4cfc9ee111de185290df65f5f

Bump version for 7.1.6-dev [skip ci]

view details

dgw

commit sha e9fe49d238926038140ffa907555cbd4edab7127

plugin: add missing ' to command's docstring Backport of 6eb1340ba0856ced017afe8eb3ff2e577df4e553

view details

dgw

commit sha 8eb23cd930c7b8fd4c74dd0a1ac2a6f3943bc385

Backport pull request #2202 from half-duplex/reddit-shortlinks reddit: fix shortlinks Corresponds to merge on master: 1010e456785aa46594a943b702db56542d2f1c52

view details

dgw

commit sha a3219468adc9b79391bbe4234499669222a40978

web: use `html.unescape()` when available (Python 3.4+)

view details

dgw

commit sha 96725d316319bc8f58dd00028b4d2ca4913c4163

Backport pull request #2174 from Gizmokid2005/master Update to check for proper UTF8 on Windows Corresponds to (from master): 710a20d26f2547fc6f2c2eb57e8f872c3de0846d

view details

dgw

commit sha c0c6f867a3219b098aa0be3e0407c191cba75165

Backport pull request #2201 from half-duplex/wiki-mobile wikipedia: handle mobile links Corresponds to merge on master: 5956333bb375ecb33c768e9393f2067e6126cfb2

view details

dgw

commit sha b61f630541ac488a5e3d7d5488eec0808b0bbfea

Merge pull request #2204 from sopel-irc/modernize-web.decode web: use html.unescape() when available (Python 3.4+)

view details

dgw

commit sha 46d74df1b0b4e16e7b66ef974e9af125afb2c1e5

Release 7.1.6

view details

Nathaniel J. Smith

commit sha 1373453b5b55c9e5e390aae87025ae5a1f6744e7

Merge tag 'v7.1.6' into njs-heroku-support

view details

push time in 3 months

push eventnjsmith/pyopenssl

Alex Gaynor

commit sha 60a0eef29878433e568a16b16a8c6e42b59cabe3

Added py310 to support matrix (#1051)

view details

Alex Gaynor

commit sha 759039a3cfa4d7648bab96a41a4034b9c3304ad5

fixed version number typo (#1050)

view details

dependabot[bot]

commit sha 2ea56348beb51d78310a1a34abd7cdace1350794

Bump actions/checkout from 2.3.4 to 2.3.5 (#1052) Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

Nathaniel J. Smith

commit sha 45c5678e48839e08cd290285c052a65ecb4cac80

Check for invalid ALPN lists before calling OpenSSL, for consistency (#1056) * Check for invalid ALPN lists before calling OpenSSL, for consistency Fixes gh-1043 * Soothe flake8

view details

Alex Gaynor

commit sha 871e7d5bac4c21f95f756374bc50c2accca1fed5

fixes #1054 -- update list of supported openssl versions (#1055)

view details

Arthur Zamarin

commit sha ea90b55c84ec25fcd725fe42573e93be5497158e

setup.cfg: Replace dashes with underscores (#1057) Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'build-requires' will not be supported in future versions. Please use the underscore name 'build_requires' instead UserWarning: Usage of dash-separated 'doc-files' will not be supported in future versions. Please use the underscore name 'doc_files' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

view details

Nathaniel J. Smith

commit sha e84e7b57d1838de70ab7a27089fbee78ce0d2106

Expose some DTLS-related features (#1026) * Expose DTLS_METHOD and friends * Expose OP_NO_RENEGOTIATION * Expose DTLS MTU-related functions * Expose DTLSv1_listen and associated callbacks * Add a basic DTLS test * Cope with old versions of openssl/libressl * blacken * Soothe flake8 * Add temporary hack to skip DTLS test on old cryptography versions * Update for cryptography v35 release * Add changelog entry * Fix versionadded:: * get_cleartext_mtu doesn't exist on decrepit old openssl * Rewrite DTLS test to work around stupid OpenSSL misbehavior * flake8 go away * minor tidying

view details

Nathaniel J. Smith

commit sha e2a4d9df6342bbaa957fb208bccc06b04ff1c932

Add CI jobs to test against cryptography wheels This should fail CI, because we'll start catching #1043

view details

push time in 3 months

push eventnjsmith/trio

Nathaniel J. Smith

commit sha 788923d3544cb83b7e9f150df6d2dca623af4434

shut up mypy

view details

push time in 3 months

push eventnjsmith/trio

Nathaniel J. Smith

commit sha 26d753e22ab5c4282bb891af01de97f68039dd56

more py36

view details

push time in 3 months

push eventnjsmith/trio

Nathaniel J. Smith

commit sha 7e6ba63ea45a6c4a37c60e01fa5cd2010fe66ed9

Pacify flake8

view details

Nathaniel J. Smith

commit sha 95a95e824e2a294e1d27569396abc4b2370b3f0b

make mypy happy

view details

push time in 3 months

push eventnjsmith/trio

Nathaniel J. Smith

commit sha 61bdfe9e18070c5b1c0ffedb3f90c3a487196568

blacken

view details

Nathaniel J. Smith

commit sha 3bcd126de1c9cd504bab8a83dc861e8d9ce445f6

Restore py36 compatibility

view details

Nathaniel J. Smith

commit sha 9b09055f41f2c3c11949a5f5cbebe97c3e18386f

Maybe this will work?

view details

push time in 3 months

create barnchnjsmith/pyopenssl

branch : regex-hack

created branch time in 3 months

push eventnjsmith/trio

Alex Grönholm

commit sha ed869accdd1428c9cca452fdbe64b643d5662874

Added the "compact" keyword argument to TracebackException.__init__() This is a requirement to achieve Python 3.10 compatibility.

view details

Kyle Altendorf

commit sha 8c62409483b6be9c585e12929525b95a32c1f708

Test against 3.10 alpha

view details

Kyle Altendorf

commit sha 2a946a4c0152a01a9502bed248c8a09b4c997b5c

Correct matrix variable references

view details

Kyle Altendorf

commit sha 9e8692f1ddf38851f7ae8288fba6403ef5824df0

Add 3.10 to Linux and macOS as well

view details

Kyle Altendorf

commit sha 16f2508b8f315d84261b7343af86215bffd15170

Merge branch 'traceback-compact' into test_3.10a

view details

Kyle Altendorf

commit sha e42c8875d9e5887b25a8b9cc572b1aa7d5630d8f

reorder ubunty python versions

view details

Kyle Altendorf

commit sha 0af8e6c1cfbcb2d9837505057a974890c99f39d9

Pass _seen=None through to TracebackException.__init__() monkey patch In CPython 3.10.0a5 TracebackException.__init__() started to care about the difference between _seen=set() and _seen=None. As such we need to avoid turning None into set() prior to passing it to the real .__init__(). https://github.com/python/cpython/commit/6dfd1734f5b230bb8fbd2a9df806c1333b6652a8

view details

Kyle Altendorf

commit sha 034dde3c131e3f0547187dec62d59f4c582d14bd

Merge branch 'master' into test_3.10a

view details

Kyle Altendorf

commit sha 896395738249d34496b02b62546bafdedbed41e1

Handle _seen=None properly for TracebackException.from_exception()

view details

Kyle Altendorf

commit sha 702fbb98f4efb54b42392ec34a52f501c5dddeb4

Try indexing to pick fancy alpha-latest for cpython and straight for pypy

view details

Kyle Altendorf

commit sha 5558db5f88db734a7b0192b5999a1fb3283ea015

Try fromJSON to make an array in GitHub Actions

view details

Kyle Altendorf

commit sha 183b8c8e9c98276f2a401cdea051769cccf4431b

Try fromJSON with format to make an array in GitHub Actions

view details

Kyle Altendorf

commit sha 423d4976555d8e43802d563d8cf130eb336dcf6a

More formatting for GHA

view details

Kyle Altendorf

commit sha 78a497166b4521ab8eabe2338271a4655f6bf915

Less ${{ }} for GHA

view details

Kyle Altendorf

commit sha dfcdf5002cc9be39c4485c5673fcb3b761cee54f

Add 3.10-dev as well

view details

Kyle Altendorf

commit sha 46fd668ddd4d330eb810a9c224fa24fd32bc94fe

Use typed-ast from git for 3.10 for now https://github.com/python/typed_ast/issues/156

view details

Kyle Altendorf

commit sha 37daed79b5d347d5c6e176a326086b969398a0e4

Use threading.__excepthook__ in disable_threading_excepthook() when available

view details

Kyle Altendorf

commit sha 3fb82d1d7c93ceda782f3ef778656d3ba9989c30

Document python-version: craziness for handling alpha->release easily

view details

Kyle Altendorf

commit sha bc3ef160304176685d2548e12740e9ee6a5f1c8c

Merge branch 'master' into test_3.10a

view details

Kyle Altendorf

commit sha 444c323c1cfffb83c959872be77bab3103da7b1e

Merge branch 'master' into test_3.10a

view details

push time in 3 months

push eventnjsmith/trio

Nathaniel J. Smith

commit sha 1c0202edab86020d1da68ccaab84a80c171e15c4

Work around bug in Ubuntu 18.04's OpenSSL

view details

Nathaniel J. Smith

commit sha 35b09b19f69055b84ce536170f602ac9dffc37b9

Clean up test Noticed while testing on Ubuntu 18.04's weird old OpenSSL that this test was getting stuck in an infinite loop, even though it passed with more recent OpenSSL. I'm not sure why it was different, exactly, but on closer examination, writing the test this way makes more sense anyway, and now the tests pass on Ubuntu 18.04 too.

view details

push time in 3 months

delete branch njsmith/pyopenssl

delete branch : dtls-wrappers

delete time in 3 months

push eventnjsmith/pyopenssl

Nathaniel J. Smith

commit sha 85ad2a3e537219ea6d9e9372c7a229e3c08da7ef

minor tidying

view details

push time in 3 months

push eventnjsmith/pyopenssl

Nathaniel J. Smith

commit sha d9aca090c638160aa4ddc6550d334d00cbda2c0e

minor tidying

view details

push time in 3 months

push eventnjsmith/pyopenssl

Nathaniel J. Smith

commit sha d24865cb6991eb81f305ebaf39859caef59c6ff9

flake8 go away

view details

push time in 3 months

push eventnjsmith/pyopenssl

Nathaniel J. Smith

commit sha a601c73e6d5944baa63cf420f6b28bb48ec7642d

Rewrite DTLS test to work around stupid OpenSSL misbehavior

view details

push time in 3 months

issue commentnedbat/coveragepy

coverage 6.1.1 musllinux wheel performance issues

https://discuss.python.org/t/a-mess-with-soabi-tags-on-musllinux/11688

reaperhulk

comment created time in 3 months

issue commentnedbat/coveragepy

coverage 6.1.1 musllinux wheel performance issues

The auditwheel bug report is orthogonal to everything else -- it won't fix the problem, but it should be done in any case to stop the problem from spreading or coming back.

It looks like I was right about CPython having the wrong metadata. With the official musllinux build image, I get a gnu tag:

$ docker run --rm quay.io/pypa/musllinux_1_1_x86_64 /opt/python/cp39-cp39/bin/python -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))" 
cpython-39-x86_64-linux-gnu

And with alpine 3.13 I get a gnu tag:

$ docker run --rm alpine:3.13 sh -c "apk add python3; python3 -c 'import sysconfig; print(sysconfig.get_config_var(\"SOABI\"))'"
[...]
OK: 53 MiB in 24 packages
cpython-38-x86_64-linux-gnu

But with alpine 3.14 I get a musl tag:

$ docker run --rm alpine:3.14 sh -c "apk add python3; python3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'" [...] OK: 56 MiB in 27 packages cpython-39-x86_64-linux-musl


The Docker-maintained "official" Python images also have a **gnu** tag:

$ docker run --rm python:alpine sh -c "python3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'" cpython-310-x86_64-linux-gnu


So either CPython fixed something, or else Alpine is hacking their python package to fix it and that hack should go upstream.

And also probably most musl-based python docker images need to revved to get the new tags, including the official musllinux build image, the official docker "python" images that use alpine, and cryptography build images, ...

And maybe pip should detect when it's running on a python with a broken SOABI tag, and refuse to install musllinux wheels?
reaperhulk

comment created time in 3 months

issue commentnedbat/coveragepy

coverage 6.1.1 musllinux wheel performance issues

The thing where linux-gnu gets loaded on alpine seems like a CPython bug. Though since it's the latest alpine that's slow, possibly CPython already fixed it.

It would be good for auditwheel to check for this; that's an easy thing to do and likely to catch other buggy wheels. So it'd worth opening an issue there.

I'm not sure who's responsible for the wrong name in the first place. If I'm right that CPython fixed a bug here, then it might be you need to build with the CPython that has the bug fix. (CPython keeps some internal metadata tables about stuff like "how should extension modules be named". So my hypothesis is that old CPython had the wrong metadata on alpine, which leads to both creating the wrong name at build time and searching for the wrong name at import time.)

reaperhulk

comment created time in 3 months

pull request commentpyca/pyopenssl

Expose some DTLS-related features

yeah, PR currently contains a bunch of temporary nonsense to try to debug the bionic hangs. I'll clean it up once I figure out a solution.

On Sat, Oct 30, 2021 at 10:32 PM Paul Kehrer ***@***.***> wrote:

black is angry

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/pyca/pyopenssl/pull/1026#issuecomment-955640025, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEU42D73ZAAX4ZHDU6ODT3UJTIFNANCNFSM47LE23RA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Nathaniel J. Smith -- https://vorpus.org http://vorpus.org

njsmith

comment created time in 3 months

push eventnjsmith/pyopenssl

Nathaniel J. Smith

commit sha 505afd2e48a782061dada872a7e5e1ad96989e9f

wtf

view details

push time in 3 months

push eventnjsmith/pyopenssl

Nathaniel J. Smith

commit sha 5b3ad383727eb40c05d2f719c304c3489cd394af

blah

view details

push time in 3 months

push eventnjsmith/pyopenssl

Nathaniel J. Smith

commit sha 2ddf146a865df6dd7427421af03698dae48329da

temp hack

view details

Nathaniel J. Smith

commit sha 51f67436bae15cec17a520576827e661b89d617f

print print

view details

push time in 3 months

push eventnjsmith/pyopenssl

Nathaniel J. Smith

commit sha 0c6a19c2aa03e3a40954bc5c001eb479409f0a3b

temp hack

view details

push time in 3 months

PullRequestEvent

PR closed pyca/pyopenssl

Expose some DTLS-related features

This is enough to make it at least possible to set up a DTLS association and exchange encrypted data, though a high quality implementation still requires a ton of scaffolding code (see https://github.com/python-trio/trio/issues/2010).

Depends on https://github.com/pyca/cryptography/pull/6138

+217 -8

5 comments

5 changed files

njsmith

pr closed time in 3 months

issue commentpython-hyper/wsproto

It uses h11, h2 when?

I believe that Hypercorn already implements RFC 8441 using wsproto, so you might look at that?

machinexa2

comment created time in 3 months

issue commentpython-hyper/wsproto

It uses h11, h2 when?

wsproto uses h11 because the websocket protocol uses HTTP/1.1 as part of its handshake. So using h2 doesn't really make sense... it's implementing a different protocol.

What are you trying to do?

machinexa2

comment created time in 3 months

push eventnjsmith/pyopenssl

Nathaniel J. Smith

commit sha ce30c8d5d9213794b0434bdb7107090459d19a32

Soothe flake8

view details

push time in 3 months

PR opened pyca/pyopenssl

Check for invalid ALPN lists before calling OpenSSL, for consistency

Fixes gh-1043

+13 -1

0 comment

2 changed files

pr created time in 3 months

more