2024-11-13 10:11:40 by Adam Ciarcinski | Files touched by this commit (5) |  |
Log message:
py-twisted py-twisted-docs: updated to 24.10.0
Twisted 24.10.0 (2024-10-28)
Features
--------
- Python 3.13 is now supported.
- twisted.internet.defer.succeed() is significantly faster, and awaiting \
Deferred has also been sped up.
- twisted.python.failure.Failure creation no longer records the place where it \
was created. This reduces creation time by 60% at least, thereby speeding up \
Deferred error handling.
- twisted.internet.defer.Deferred no longer removes the traceback object from \
Failures. This may result in more objects staying in memory if you don't clean \
up failed Deferreds, but it speeds up error handling and enables improvements to \
traceback reporting.
- twisted.internet.defer APIs are 2%-4% faster in many cases.
- twisted.internet.defer.Deferred runs callbacks with chained Deferreds a little \
faster.
- The reactor now will use a little less CPU when events have been scheduled \
with callLater().
- Creation of twisted.python.failure.Failure is now faster.
Bugfixes
--------
- Fixed unreleased regression caused by PR 12109.
- twisted.logger.eventAsText can now format the output having types/classes as input.
This was a regression introduced in Twisted 24.3.0.
- twisted.internet.endpoints.clientFromString for TLS endpoints with \
"bindAddress=" no longer crashes during connect. \
twisted.internet.endpoints.HostnameEndpoint() no longer crashes when given a \
bindAddress= argument that is just a string, and that argument now accepts \
either address strings or (address, port) tuples.
- The URLs from README and pyproject.toml were updated.
Conch
-----
Features
- twisted.conch.ssh.keys.Key can now load public blob keys of type \
sk-ssh-ed25519@openssh.com and sk-ecdsa-sha2-nistp256@openssh.com.
Bugfixes
- twisted.conch tests no longer rely on OpenSSH supporting DSA keys, fixing \
compatibility with OpenSSH >= 9.8.
- twisted.conch.ssh.SSHCiphers no longer supports the cast128-ctr, cast128-cbc, \
blowfish-ctr, and blowfish-cbc ciphers.
The Blowfish and CAST5 ciphers were removed as they were deprecated by the \
Python cryptography library.
Web
---
Features
- The twisted.web HTTP server and client now reject HTTP header names containing \
whitespace or other invalid characters by raising \
twisted.web.http_headers.InvalidHeaderName, improving compliance with RFC 9110. \
As a side effect, the server is slightly faster.
- twisted.web.client and twisted.web.server now disable the Nagle algorithm \
(enable TCP_NODELAY), reducing the latency of small HTTP queries.
- twisted.web.server is 1-2% faster in some cases.
Bugfixes
- twisted.web's HTTP/1.1 server now rejects header values containing a NUL byte \
with a 400 error, in compliance with RFC 9110.
- twisted.internet.address no longer raises DeprecationWarning when used with \
attrs>=24.1.0.
- twisted.web's HTTP/1.1 server now accepts '&' within tokens (methods, \
header field names, etc.), in compliance with RFC 9110.
Trial
-----
Features
- Trial's ``-j`` flag now accepts an ``auto`` keyword to spawn a number of \
workers based on the available CPUs.
|
2022-02-13 09:53:45 by Thomas Klausner | Files touched by this commit (21) |
Log message:
*: use versioned_dependencies for py-twisted
|
2016-04-13 21:45:38 by Thomas Klausner | Files touched by this commit (1) |
Log message:
Update py-twisted-docs to 16.1.1.
|
2014-06-27 02:25:20 by Aleksej Saushev | Files touched by this commit (1) |
Log message:
Stop using "pax -rw -pe", it doesn't work. Use "-pp" instead.
|
2013-08-13 19:47:41 by Adam Ciarcinski | Files touched by this commit (5) |
Log message:
Changes 13.1.0:
- trial now has an --exitfirst flag which stops the test run after
the first error or failure.
- twisted.internet.ssl.CertificateOptions now supports chain
certificates.
- twisted.internet.endpoints now provides ProcessEndpoint, a child
process endpoint.
- Factory now has a forProtocol classmethod that constructs an
instance and sets its protocol attribute.
- twisted.internet.endpoints.connectProtocol allows connecting to a
client endpoint using only a protocol instance, rather than
requiring a factory.
- twisted.trial.unittest.SynchronousTestCase.assertNoResult no longer
swallows the result, if the assertion succeeds.
- twisted.python.constants.FlagConstant implements __iter__ so that
it can be iterated upon to find the flags that went into a flag
set, and implements __nonzero__ to test as false when empty.
- assertIs and assertIsNot have now been added to
twisted.trial.unittest.TestCase.
- twisted.trial.unittest.TestCase.failureResultOf now takes an
optional expected failure type argument.
- The POSIX implementation of
twisted.internet.interfaces.IReactorProcess now does not change the
parent process UID or GID in order to run child processes with a
different UID or GID.
|
2012-04-23 03:15:42 by OBATA Akio | Files touched by this commit (1) |
Log message:
revertd to r1.12.
This package contains no python version specific files,
so no need to be prefixed with PYPKGPREFIX.
|
2012-04-22 19:49:04 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
Include pyversion.mk, so PYPKGPREFIX could be resolved
|
2012-04-20 20:47:38 by Adam Ciarcinski | Files touched by this commit (5) |
Log message:
Changes 12.0.0:
Features
--------
- The interface argument to IReactorTCP.listenTCP may now be an IPv6
address literal, allowing the creation of IPv6 TCP servers.
- twisted.python.constants.Names now provides a way to define
collections of named constants, similar to the "enum type" feature
of C or Java.
- twisted.python.constants.Values now provides a way to define
collections of named constants with arbitrary values.
Bugfixes
--------
- Fixed an obscure case where connectionLost wasn't called on the
protocol when using half-close.
- UDP ports handle socket errors better on Windows.
- When idle, the gtk2 and glib2 reactors no longer wake up 10 times a
second.
- Prevent a rare situation involving TLS transports, where a producer
may be erroneously left unpaused.
- twisted.internet.iocpreactor.iocpsupport now has fewer 64-bit
compile warnings.
- The GTK2 reactor is now more responsive on Windows.
- TLS transports now correctly handle producer registration after the
connection has been lost.
- twisted.protocols.htb.Bucket now empties properly with a non-zero
drip rate.
- IReactorSSL and ITCPTransport.startTLS now synchronously propagate
errors from the getContext method of context factories, instead of
being capturing them and logging them as unhandled.
Improved Documentation
----------------------
- The multicast documentation has been expanded.
- twisted.internet.defer.Deferred now documents more return values.
- Show a better starting page at
http://twistedmatrix.com/documents/current
Deprecations and Removals
-------------------------
- Remove the deprecated module twisted.enterprise.reflector.
- Removed the deprecated module twisted.enterprise.row.
- Remove the deprecated module twisted.enterprise.sqlreflector.
- Removed the deprecated module twisted.enterprise.util, as well as
twisted.enterprise.adbapi.safe.
- Python 2.4 is no longer supported on any platform.
- Removed printTraceback and noOperation from twisted.spread.pb,
deprecated since Twisted 8.2.
|