Skip to content

Commit

Permalink
Merge release-12.3.0-6207-2
Browse files Browse the repository at this point in the history
Author: therve
Reviewer: exarkun
Fixes: twisted#6207

Release 12.3.0


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36653 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
  • Loading branch information
therve committed Dec 26, 2012
1 parent 9ed5431 commit e56069b
Show file tree
Hide file tree
Showing 196 changed files with 485 additions and 104 deletions.
217 changes: 217 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,223 @@
Ticket numbers in this file can be looked up by visiting
http://twistedmatrix.com/trac/ticket/<number>

Twisted Core 12.3.0 (2012-12-20)
================================

Features
--------
- The new -j flag to trial provides a trial runner supporting
multiple worker processes on the local machine, for parallel
testing. (#1784)
- twisted.internet.task.react, a new function, provides a simple API
for running the reactor until a single asynchronous function
completes. (#3270)
- twisted.protocols.ftp.FTP now handles FEAT and OPTS commands.
(#4515)
- trial now supports specifying a debugger other than pdb with the
--debugger command line flag. (#5794)
- twisted.python.util.runWithWarningsSuppressed has been added; it
runs a function with specified warning filters. (#5950)
- trial's skipping feature is now implemented in a way compatible with the
standard library unittest's runner. (#6006)
- The setup3.py script is now provided to provisionally support
building and installing an experimental, incomplete version of
Twisted in a Python 3 environment. (#6040)
- twisted.python.util.FancyStrMixin now supports arbitrary callables
to format attribute values. (#6063)
- Several new methods of twisted.trial.unittest.SynchronousTestCase
- `successResultOf`, `failureResultOf`, and `assertNoResult` -
have been added to make testing `Deferred`-using code easier.
(#6105)

Bugfixes
--------
- twisted.protocols.basic.LineReceiver now does not hit the maximum
stack recursion depth when the line and data mode is switched many
times. (#3050)
- twisted.protocols.ftp.FTPFileListProtocol fixed to support files
with space characters in their name. (#4986)
- gireactor and gtk3reactor no longer prevent gi.pygtkcompat from
working, and likewise can load if gi.pygtkcompat has previously
been enabled. (#5676)
- gtk2reactor now works again on FreeBSD, and perhaps other platforms
that were broken by gi interactions. (#5737)
- gireactor now works with certain older versions of gi that are
missing the threads_init() function. (#5790)
- Fixed a bug where twisted.python.sendmsg would sometimes fail with
obscure errors including "Message too long" or "Invalid argument"
on some 64-bit platforms. (#5867)
- twisted.internet.endpoints.TCP6ClientEndpoint now provides
twisted.internet.interfaces.IStreamClientEndpoint (#5876)
- twisted.internet.endpoints.AdoptedStreamServerEndpoint now provides
twisted.internet.interfaces.IStreamServerEndpoint. (#5878)
- Spawning subprocesses with PTYs now works on OS X 10.8. (#5880)
- twisted.internet.test.test_sigchld no longer incorrectly fails when
run after certain other tests. (#6161)
- twisted.internet.test.test_gireactor no longer fails when using
pygobject 3.4 and gtk 3.6 when X11 is unavailable. (#6170)
- twisted/python/sendmsg.c no longer fails to build on OpenBSD.
(#5907)

Improved Documentation
----------------------
- The endpoint howto now lists TCP IPv6 server endpoint in the list
of endpoints included with Twisted. (#5741)

Deprecations and Removals
-------------------------
- The minimum required version of zope.interface is now 3.6.0.
(#5683)
- twisted.internet.interfaces.IReactorArbitrary and
twisted.application.internet.GenericServer and GenericClient,
deprecated since Twisted 10.1, have been removed. (#5943)
- twisted.internet.interfaces.IFinishableConsumer, deprecated since
Twisted 11.1, has been removed. (#5944)
- twisted.python.failure has removed all support for string
exceptions. (#5948)
- assertTrue, assertEqual, and the other free-functions in
twisted.trial.unittest for writing assertions, deprecated since
prior to Twisted 2.3, have been removed. (#5963)
- Ports, connectors, wakers and other reactor-related types no longer
log a nice warning when they are erroneously pickled. Pickling of
such objects continues to be unsupported. (#5979)
- twisted.python.components.Componentized no longer inherits from
Versioned. (#5983)
- twisted.protocols.basic.NetstringReceiver.sendString no longer
accepts objects other than bytes; the removed behavior was
deprecated in Twisted 10.0. (#6025)
- The lookupRecord method of twisted.internet.interfaces.IResolver,
never implemented or called by Twisted, has been removed. (#6091)

Other
-----
- #4286, #4920, #5627, #5785, #5860, #5865, #5873, #5874, #5877,
#5879, #5884, #5885, #5886, #5891, #5896, #5897, #5899, #5900,
#5901, #5903, #5906, #5908, #5912, #5913, #5914, #5916, #5917,
#5931, #5932, #5933, #5934, #5935, #5939, #5942, #5947, #5956,
#5959, #5967, #5969, #5970, #5972, #5973, #5974, #5975, #5980,
#5985, #5986, #5990, #5995, #6002, #6003, #6005, #6007, #6009,
#6010, #6018, #6019, #6022, #6023, #6033, #6036, #6039, #6041,
#6043, #6052, #6053, #6054, #6055, #6060, #6061, #6065, #6067,
#6068, #6069, #6084, #6087, #6088, #6097, #6099, #6100, #6103,
#6109, #6114, #6139, #6140, #6141, #6142, #6157, #6158, #6159,
#6163, #6172, #6182, #6190, #6194, #6204, #6209


Twisted Conch 12.3.0 (2012-12-20)
=================================

Bugfixes
--------
- Passing multiple --auth arguments to conch now correctly adds all
the specified checkers to the conch server (#5881)
- ckeygen --showpub now uses OPENSSH as default display, instead of
breaking because no display type was passed. (#5889)
- ckeygen --showpub catches EncryptedKeyError instead of BadKeyError
to detect that a key needs to be decrypted with a passphrase.
(#5890)

Other
-----
- #5923


Twisted Lore 12.3.0 (2012-12-20)
================================

No significant changes have been made for this release.


Twisted Mail 12.3.0 (2012-12-20)
================================

Bugfixes
--------
- twisted.mail.imap4._FetchParser now raises
IllegalClientResponse("Invalid Argument") when protocol encounters
extra bytes at the end of a valid FETCH command. (#4000)

Improved Documentation
----------------------
- twisted.mail.tap now documents example usage in its longdesc
output for the 'mail' plugin (#5922)

Other
-----
- #3751


Twisted Names 12.3.0 (2012-12-20)
=================================

Deprecations and Removals
-------------------------
- The `protocol` attribute of twisted.names.client.Resolver,
deprecated since Twisted 8.2, has been removed. (#6045)
- twisted.names.hosts.Resolver is no longer a
`twisted.persisted.styles.Versioned` subclass. (#6092)

Other
-----
- #5594, #6056, #6057, #6058, #6059, #6093


Twisted News 12.3.0 (2012-12-20)
================================

No significant changes have been made for this release.


Twisted Pair 12.3.0 (2012-12-20)
================================

No significant changes have been made for this release.


Twisted Runner 12.3.0 (2012-12-20)
==================================

No significant changes have been made for this release.


Twisted Web 12.3.0 (2012-12-20)
===============================

Features
--------
- twisted.web.server.Site now supports an encoders argument to encode
request content, twisted.web.server.GzipEncoderFactory being the
first one provided. (#104)

Bugfixes
--------
- twisted.web.http.HTTPChannel.headerReceived now catches the error
if the Content-Length header is not an integer and return a 400 Bad
Request response. (#6029)
- twisted.web.http.HTTPChannel now drops the connection and issues a
400 error upon receipt of a chunk-encoding encoded request with a
bad chunk-length field. (#6030)

Improved Documentation
----------------------
- twisted.web.iweb.IRequest now documents its `content` attribute and
a new "web in 60 seconds" howto demonstrates its use. (#6181)

Other
-----
- #5882, #5883, #5887, #5920, #6031, #6077, #6078, #6079, #6080,
#6110, #6113, #6196, #6205


Twisted Words 12.3.0 (2012-12-20)
=================================

Improved Documentation
----------------------
- The Twisted Words code examples now documents inside each example
description on how to run it. (#5589)


Twisted Core 12.2.0 (2012-08-26)
================================

Expand Down
7 changes: 4 additions & 3 deletions README
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Twisted 12.2.0
Twisted 12.3.0

Quote of the Release:


<dash> exarkun: your monochronalism is bringing me down
<PenguinOfDoom> yeah twisted should get on with the times
<PenguinOfDoom> the rest of the world has been writing unicode to sockets for years!


For information on what's new in Twisted 12.2.0, see the NEWS file that comes
For information on what's new in Twisted 12.3.0, see the NEWS file that comes
with the distribution.

What is this?
Expand Down
4 changes: 2 additions & 2 deletions doc/core/man/trial.1
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ Run tests under the Python profiler.
\fB-r\fR, \fB--reactor\fR \fIreactor\fR
Choose which reactor to use. See --help-reactors for a list.
.TP
\fB--recursionlimit \fIlimit\fR
\fB--recursionlimit\fR \fIlimit\fR
Set Python's recursion limit. See sys.setrecursionlimit().
.TP
\fB--reporter \fIreporter\fR
\fB--reporter\fR \fIreporter\fR
Select the reporter to use for trial's output. Use the --help-reporters
option to see a list of valid reporters.
.TP
Expand Down
25 changes: 0 additions & 25 deletions doc/fun/Twisted.Quotes
Original file line number Diff line number Diff line change
@@ -1,25 +0,0 @@
<exarkun> urls don't need to be edited. they're inserted or deleted, not edited.
<exarkun> so we should just put long ones in as is
<exarkun> or, clearly, we could replace them with CID scheme URLs.
<glyph> exarkun: I look forward to the policy document explaining how to integrate multipart MIME into docstrings
<exarkun> glyph: no no, we should replace the download tarball with a multipart mime document
<exarkun> it would be _ridiculous_ to make each docstring into a multipart document
<exarkun> although that might be a good approach to localization
%
<PenguinOfDoom> yeah twisted should get on with the times
<PenguinOfDoom> the rest of the world has been writing unicode to sockets for years!
%
<PenguinOfDoom> If I were the king of a private island, I'd declare my timezone to be UTC+pi and send a postcard to pytz maintainers with the word "checkmate" on it
%
<ivan> well, it is possible to debug a Twisted program, and judging by #python, not really possible to debug a threaded program
%
<dash> I want to set my password to 3 seconds of a dubstep beat
%
<itamar> so many yaks
<itamar> so little billable time
%
<tenth> noSQL frees you from the fascist prison of data consistency
<tenth> To eternal life in the unwalled garden of I Don't Know, Whatever, It's Cool
%
<lvh> if you get me a remote controlled robot hand that I can turn into a fist I will totally teleconference it
%
25 changes: 25 additions & 0 deletions doc/historic/Quotes/Twisted-12.3
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<exarkun> urls don't need to be edited. they're inserted or deleted, not edited.
<exarkun> so we should just put long ones in as is
<exarkun> or, clearly, we could replace them with CID scheme URLs.
<glyph> exarkun: I look forward to the policy document explaining how to integrate multipart MIME into docstrings
<exarkun> glyph: no no, we should replace the download tarball with a multipart mime document
<exarkun> it would be _ridiculous_ to make each docstring into a multipart document
<exarkun> although that might be a good approach to localization
%
<PenguinOfDoom> yeah twisted should get on with the times
<PenguinOfDoom> the rest of the world has been writing unicode to sockets for years!
%
<PenguinOfDoom> If I were the king of a private island, I'd declare my timezone to be UTC+pi and send a postcard to pytz maintainers with the word "checkmate" on it
%
<ivan> well, it is possible to debug a Twisted program, and judging by #python, not really possible to debug a threaded program
%
<dash> I want to set my password to 3 seconds of a dubstep beat
%
<itamar> so many yaks
<itamar> so little billable time
%
<tenth> noSQL frees you from the fascist prison of data consistency
<tenth> To eternal life in the unwalled garden of I Don't Know, Whatever, It's Cool
%
<lvh> if you get me a remote controlled robot hand that I can turn into a fist I will totally teleconference it
%
2 changes: 1 addition & 1 deletion twisted/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This is an auto-generated file. Do not edit it.
from twisted.python import versions
version = versions.Version('twisted', 12, 2, 0)
version = versions.Version('twisted', 12, 3, 0)
2 changes: 1 addition & 1 deletion twisted/conch/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This is an auto-generated file. Do not edit it.
from twisted.python import versions
version = versions.Version('twisted.conch', 12, 2, 0)
version = versions.Version('twisted.conch', 12, 3, 0)
1 change: 0 additions & 1 deletion twisted/conch/topfiles/5881.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions twisted/conch/topfiles/5889.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions twisted/conch/topfiles/5890.bugfix

This file was deleted.

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

Twisted Conch 12.3.0 (2012-12-20)
=================================

Bugfixes
--------
- Passing multiple --auth arguments to conch now correctly adds all
the specified checkers to the conch server (#5881)
- ckeygen --showpub now uses OPENSSH as default display, instead of
breaking because no display type was passed. (#5889)
- ckeygen --showpub catches EncryptedKeyError instead of BadKeyError
to detect that a key needs to be decrypted with a passphrase.
(#5890)

Other
-----
- #5923


Twisted Conch 12.2.0 (2012-08-26)
=================================

Expand Down
2 changes: 1 addition & 1 deletion twisted/conch/topfiles/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Twisted Conch 12.2.0
Twisted Conch 12.3.0

Twisted Conch depends on Twisted Core and on Python Crypto extensions
(<http://www.pycrypto.org>).
Expand Down
2 changes: 1 addition & 1 deletion twisted/lore/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This is an auto-generated file. Do not edit it.
from twisted.python import versions
version = versions.Version('twisted.lore', 12, 2, 0)
version = versions.Version('twisted.lore', 12, 3, 0)
6 changes: 6 additions & 0 deletions twisted/lore/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 Lore 12.3.0 (2012-12-20)
================================

No significant changes have been made for this release.


Twisted Lore 12.2.0 (2012-08-26)
================================

Expand Down
2 changes: 1 addition & 1 deletion twisted/lore/topfiles/README
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Twisted Lore 12.2.0
Twisted Lore 12.3.0

Twisted Lore depends on Twisted and Twisted Web.
2 changes: 1 addition & 1 deletion twisted/mail/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This is an auto-generated file. Do not edit it.
from twisted.python import versions
version = versions.Version('twisted.mail', 12, 2, 0)
version = versions.Version('twisted.mail', 12, 3, 0)
Empty file removed twisted/mail/topfiles/3751.misc
Empty file.
1 change: 0 additions & 1 deletion twisted/mail/topfiles/4000.bugfix

This file was deleted.

Loading

0 comments on commit e56069b

Please sign in to comment.