* 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.
* 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.
* #11236, #12060, #12062, #12099, #12219, #12290, #12296,
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=157
26 lines
1012 B
Diff
26 lines
1012 B
Diff
---
|
|
src/twisted/conch/test/test_keys.py | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
Index: twisted-24.10.0/src/twisted/conch/test/test_keys.py
|
|
===================================================================
|
|
--- twisted-24.10.0.orig/src/twisted/conch/test/test_keys.py
|
|
+++ twisted-24.10.0/src/twisted/conch/test/test_keys.py
|
|
@@ -15,6 +15,7 @@ from twisted.python import randbytes
|
|
from twisted.python.filepath import FilePath
|
|
from twisted.python.reflect import requireModule
|
|
from twisted.trial import unittest
|
|
+import unittest as pyunit
|
|
|
|
cryptography = requireModule("cryptography")
|
|
if cryptography is None:
|
|
@@ -278,6 +279,8 @@ class KeyTests(unittest.TestCase):
|
|
publicKey = keys.Key.fromString(public)
|
|
self.assertTrue(publicKey._sk)
|
|
|
|
+ @pyunit.skip('Upstream ticket https://twistedmatrix.com/trac/ticket/9665' +
|
|
+ ' has still not been resolved.')
|
|
def test_fromOpenSSH(self):
|
|
"""
|
|
Test that keys are correctly generated from OpenSSH strings.
|