Path to this page:
Subject: CVS commit: pkgsrc/net/py-twisted
From: Thomas Klausner
Date: 2023-11-05 11:38:35
Message id: 20231105103835.B6A83FA2C@cvs.NetBSD.org
Log Message:
py-twisted: update to 23.10.0
Twisted 23.10.0 (2023-10-31)
============================
Features
--------
- twisted.python.filepath.FilePath and related classes \
(twisted.python.filepath.IFilepath, twisted.python.filepath.AbstractFilePath, \
twisted.python.zippath.ZipPath, and twisted.python.zippath.ZipArchive) now have \
type annotations. Additionally, FilePath is now generic, describing its mode, \
so you can annotate variables as FilePath[str] or FilePath[bytes] depending on \
the types that you wish to get back from the 'path' attribute and related \
methods like 'basename'. (#11822)
- When using `CPython`, functions wrapped by \
`twisted.internet.defer.inlineCallbacks` can have their arguments and return \
values freed immediately after completion (due to there no longer being circular \
references). (#11885)
Bugfixes
--------
- Fix TypeError on t.i.cfreactor due to 3.10 type annotation syntax (#11965)
- Fix the type annotations of DeferredLock.run, DeferredSemaphore.run, \
maybeDeferred, ensureDeferred, inlineCallbacks and fromCoroutine that used to \
return Deferred[Any] to return the result of the passed Coroutine/Coroutine \
function (#11985)
- Fixed significant performance overhead (CPU and bandwidth) when doing small \
writes to a TLS transport. Specifically, small writes to a TLS transport are now \
buffered until the next reactor iteration. (#11989)
- fix mypy due to hypothesis 6.85 (#11995)
Files: