Skip to content

Commit

Permalink
Merge branch 'trunk' of https://github.com/twisted/twisted into conch…
Browse files Browse the repository at this point in the history
…_docs_existing_conn
  • Loading branch information
cwaldbieser committed Nov 1, 2016
2 parents 2f11b94 + 48dfa77 commit 1352262
Show file tree
Hide file tree
Showing 253 changed files with 1,118 additions and 392 deletions.
177 changes: 177 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,183 @@
Ticket numbers in this file can be looked up by visiting
http://twistedmatrix.com/trac/ticket/<number>

Twisted Core 16.5.0 (2016-10-28)
================================

Features
--------
- Added twisted.internet.defer.Deferred.addTimeout method to enable
timeouts of deferreds. (#5786)
- Perspective Broker (the twisted.spread package) has been ported to
Python 3 (#7598)
- 'yield from' can now be used on Deferreds inside generators, when
the generator is wrapped with
twisted.internet.defer.ensureDeferred. (#8087)
- twisted.internet.asyncioreactor has been added, which is a Twisted
reactor on top of Python 3.4+'s native asyncio reactor. It can be
selected by passing "--reactor=asyncio" to Twisted tools (twistd,
Trial, etc) on platforms that support it (Python 3.4+). (#8367)
- twisted.python.zippath now works on Windows with Python 3. (#8747)
- twisted.internet.cfreactor is ported to Python 3 and supported on
2.7 and 3.5+. (#8838)

Bugfixes
--------
- twisted.internet.test.test_iocp and twisted.internet.test.test_tcp
have been fixed to work under Python 3 with the Windows IOCP
reactor (#8631)
- Arguments to processes on Windows are now passed mbcs-encoded
arguments. This prevents process-related tests from hanging on
Windows with Python 3. (#8735)
- Client and server TLS connections made via the client TLS endpoint
and the server SSL endpoint, as well as any other code that uses
twisted.internet.ssl.CertificateOptions, no longer accept 3DES-
based cipher suites by default, to defend against SWEET32. (#8781)
- twisted.logger.jsonFileLogObserver no longer emits non-JSON
tracebacks into its file; additionally,
twisted.logger.formatEventAsClassicLogText now includes traceback
information for the log event it formats. (#8858)
- twisted.python.version now exports a version of Incremental that is
16.10.1 or higher, making t.p.v.Version package name comparisons
case-insensitive. (#8863)
- twisted.python.reflect.safe_str encodes unicode as ascii with
backslashreplace error handling on Python 2. (#8864)

Improved Documentation
----------------------
- The twisted.internet.interfaces.IProtocol.dataReceived() method
takes one parameter of type bytes. This has been clarified in the
doc string. (#8763)

Deprecations and Removals
-------------------------
- twisted.python.constants is deprecated in preference to constantly
on PyPI, which is the same code rolled into its own package.
(#7351)
- twisted.python.dist3 has been made private API. (#8761)
- When the source code is checked out, bin/trial is no longer in the
tree. Developers working on the Twisted source code itself should
either (1) run all tests under tox, or (2) run 'python setup.py
develop' to install trial before running any tests. (#8765)
- twisted.protocols.gps, deprecated since Twisted 15.2, has been
removed. (#8787)

Other
-----
- #4926, #7868, #8209, #8214, #8271, #8308, #8324, #8348, #8367,
#8377, #8378, #8379, #8380, #8381, #8383, #8385, #8387, #8388,
#8389, #8391, #8392, #8393, #8394, #8397, #8406, #8410, #8412,
#8413, #8414, #8421, #8425, #8426, #8430, #8432, #8434, #8435,
#8437, #8438, #8439, #8444, #8451, #8452, #8453, #8454, #8456,
#8457, #8459, #8462, #8463, #8465, #8468, #8469, #8479, #8482,
#8483, #8486, #8490, #8493, #8494, #8496, #8497, #8498, #8499,
#8501, #8503, #8504, #8507, #8508, #8510, #8513, #8514, #8515,
#8516, #8517, #8520, #8521, #8522, #8523, #8524, #8527, #8528,
#8529, #8531, #8532, #8534, #8536, #8537, #8538, #8543, #8544,
#8548, #8552, #8553, #8554, #8555, #8557, #8560, #8563, #8565,
#8568, #8569, #8572, #8573, #8574, #8580, #8581, #8582, #8586,
#8589, #8590, #8592, #8593, #8598, #8603, #8604, #8606, #8609,
#8615, #8616, #8617, #8618, #8619, #8621, #8622, #8624, #8627,
#8628, #8630, #8632, #8634, #8640, #8644, #8645, #8646, #8647,
#8662, #8664, #8666, #8668, #8671, #8672, #8677, #8678, #8684,
#8691, #8702, #8705, #8706, #8716, #8719, #8724, #8725, #8727,
#8734, #8741, #8749, #8752, #8754, #8755, #8756, #8757, #8758,
#8767, #8773, #8776, #8779, #8780, #8785, #8788, #8789, #8790,
#8792, #8793, #8799, #8808, #8817, #8839, #8845, #8852


Twisted Conch 16.5.0 (2016-10-28)
=================================

Features
--------
- SSH key fingerprints can be generated using base64 encoded SHA256
hashes. (#8701)

Bugfixes
--------
- SSHUserAuthServer does not crash on keyboard interactive
authentication when running on Python 3 (#8771)
- twisted.conch.insults.insults.ServerProtocol no longer corrupts a
client's display when attempting to set the cursor position, and
its ECMA-48 terminal manipulation works on Python 3. (#8803)

Other
-----
- #8495, #8511, #8715, #8851


Twisted Mail 16.5.0 (2016-10-28)
================================

Deprecations and Removals
-------------------------
- twisted.mail.protocols.DomainSMTP and DomainESMTP, deprecated since
2003, have been removed. (#8772)

Other
-----
- #6289, #8525, #8786, #8830


Twisted Names 16.5.0 (2016-10-28)
=================================

No significant changes have been made for this release.

Other
-----
- #8625, #8663


Twisted News 16.5.0 (2016-10-28)
================================

No significant changes have been made for this release.


Twisted Pair 16.5.0 (2016-10-28)
================================

Features
--------
- twisted.pair has been ported to Python 3 (#8744)


Twisted Runner 16.5.0 (2016-10-28)
==================================

No significant changes have been made for this release.


Twisted Web 16.5.0 (2016-10-28)
===============================

Bugfixes
--------
- twisted.web.client.HTTPConnectionPool and anything that uses it,
like twisted.web.client.Agent, have had their logic for resuming
transports changed so that transports are resumed after state
machine transitions are complete, rather than before. This change
allows the HTTP client infrastructure to work with alternative HTTP
implementations such as HTTP/2 which may be able to deliver a
complete response synchronously when producing is resumed. (#8720)

Other
-----
- #8519, #8530, #8629, #8707, #8777, #8778, #8844


Twisted Words 16.5.0 (2016-10-28)
=================================

No significant changes have been made for this release.

Other
-----
- #8360, #8460


Twisted Core 16.4.1 (2016-09-07)
================================

Expand Down
12 changes: 4 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Twisted 16.4.1
Twisted 16.5.0
==============

|pypi|
Expand All @@ -8,14 +8,10 @@ Twisted 16.4.1

.. code::
<@glyph> wait
<@glyph> twisted.reviews is ... $24... dollars...
<@glyph> okay I did it
<@glyph> I think I might be falling off the wagon
* idnar flips the "days since glyph has bought a vanity domain name" counter back over to zero
<runciter> it's a consultancy about nothing
<meejah> we could call it Scrumfeld
For information on what's new in Twisted 16.4.1, see the `NEWS <NEWS>`_ file that comes with the distribution.
For information on what's new in Twisted 16.5.0, see the `NEWS <NEWS>`_ file that comes with the distribution.


What is this?
Expand Down
21 changes: 0 additions & 21 deletions docs/fun/Twisted.Quotes
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
<kenaan> Amber Brown closed <https://tm.tl/#8214> - Twisted should move to a src/ directory layout
<hawkowl> glyph it is done
<glyph> hawkowl: ohhhhhhh shiiiiiiiiiiiiiiiiiii
glyph (~glyph@172.99.77.232) left the channel ("Textual IRC Client: www.textualapp.com")
%
<runciter> the problem with scrum and agile is that, ironically, it doesn't seem to work well when you don't know what you don't know
<runciter> what happens if your story is "make our data storage consistent, available and partition-resistant"
<runciter> and you only get ACM access halfway through the sprint
%
<runciter> it's a consultancy about nothing
<meejah> we could call it Scrumfeld
%
<lukasa> Could I solve the problem of evil?
<lukasa> I mean, look, my suspicion is that the solution to the problem of evil is probably not implementable within the twisted codebase.
<lukasa> I'm not even entirely certain that it can be done in userspace.
%
<vshyba> Twisted is awesome, I feel like Neo in Matrix when he pauses bullets: self.transport.pauseProducing()
%
<runciter> glyph: i feel like not checking certs was the most popular thing in the world in 2008
<runciter> it was like, 1) not checking cert validity 2) ruby on rails
%
<runciter> it appears that i've been banned from most servers
<@glyph> runciter: you probably joined too many channels from the same nick / IP
<runciter> glyph: yep :( since this currently in the "dumb hack" stage of development i figured my code would blow up first
Expand Down
21 changes: 21 additions & 0 deletions docs/historic/Quotes/Twisted-16.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<kenaan> Amber Brown closed <https://tm.tl/#8214> - Twisted should move to a src/ directory layout
<hawkowl> glyph it is done
<glyph> hawkowl: ohhhhhhh shiiiiiiiiiiiiiiiiiii
glyph (~glyph@172.99.77.232) left the channel ("Textual IRC Client: www.textualapp.com")
%
<runciter> the problem with scrum and agile is that, ironically, it doesn't seem to work well when you don't know what you don't know
<runciter> what happens if your story is "make our data storage consistent, available and partition-resistant"
<runciter> and you only get ACM access halfway through the sprint
%
<runciter> it's a consultancy about nothing
<meejah> we could call it Scrumfeld
%
<lukasa> Could I solve the problem of evil?
<lukasa> I mean, look, my suspicion is that the solution to the problem of evil is probably not implementable within the twisted codebase.
<lukasa> I'm not even entirely certain that it can be done in userspace.
%
<vshyba> Twisted is awesome, I feel like Neo in Matrix when he pauses bullets: self.transport.pauseProducing()
%
<runciter> glyph: i feel like not checking certs was the most popular thing in the world in 2008
<runciter> it was like, 1) not checking cert validity 2) ruby on rails
%
2 changes: 1 addition & 1 deletion src/twisted/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

from incremental import Version

__version__ = Version('Twisted', 16, 4, 1)
__version__ = Version('Twisted', 16, 5, 0)
__all__ = ["__version__"]
1 change: 0 additions & 1 deletion src/twisted/conch/topfiles/8701.feature

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion src/twisted/conch/topfiles/8771.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/conch/topfiles/8803.bugfix

This file was deleted.

Empty file.
21 changes: 21 additions & 0 deletions src/twisted/conch/topfiles/NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
Ticket numbers in this file can be looked up by visiting
http://twistedmatrix.com/trac/ticket/<number>

Twisted Conch 16.5.0 (2016-10-28)
=================================

Features
--------
- SSH key fingerprints can be generated using base64 encoded SHA256
hashes. (#8701)

Bugfixes
--------
- SSHUserAuthServer does not crash on keyboard interactive
authentication when running on Python 3 (#8771)
- twisted.conch.insults.insults.ServerProtocol no longer corrupts a
client's display when attempting to set the cursor position, and
its ECMA-48 terminal manipulation works on Python 3. (#8803)

Other
-----
- #8495, #8511, #8715, #8851


Twisted Conch 16.4.1 (2016-09-07)
=================================

Expand Down
Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/twisted/mail/topfiles/8772.removal

This file was deleted.

Empty file.
Empty file.
13 changes: 13 additions & 0 deletions src/twisted/mail/topfiles/NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
Ticket numbers in this file can be looked up by visiting
http://twistedmatrix.com/trac/ticket/<number>

Twisted Mail 16.5.0 (2016-10-28)
================================

Deprecations and Removals
-------------------------
- twisted.mail.protocols.DomainSMTP and DomainESMTP, deprecated since
2003, have been removed. (#8772)

Other
-----
- #6289, #8525, #8786, #8830


Twisted Mail 16.4.1 (2016-09-07)
================================

Expand Down
Empty file.
Empty file.
10 changes: 10 additions & 0 deletions src/twisted/names/topfiles/NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Ticket numbers in this file can be looked up by visiting
http://twistedmatrix.com/trac/ticket/<number>

Twisted Names 16.5.0 (2016-10-28)
=================================

No significant changes have been made for this release.

Other
-----
- #8625, #8663


Twisted Names 16.4.1 (2016-09-07)
=================================

Expand Down
6 changes: 6 additions & 0 deletions src/twisted/news/topfiles/NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Ticket numbers in this file can be looked up by visiting
http://twistedmatrix.com/trac/ticket/<number>

Twisted News 16.5.0 (2016-10-28)
================================

No significant changes have been made for this release.


Twisted News 16.4.1 (2016-09-07)
================================

Expand Down
1 change: 0 additions & 1 deletion src/twisted/pair/topfiles/8744.feature

This file was deleted.

8 changes: 8 additions & 0 deletions src/twisted/pair/topfiles/NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Twisted Pair 16.5.0 (2016-10-28)
================================

Features
--------
- twisted.pair has been ported to Python 3 (#8744)


Twisted Pair 16.4.1 (2016-09-07)
================================

Expand Down
Loading

0 comments on commit 1352262

Please sign in to comment.