Merge failing-tls-tests-7370

Author: exarkun (sponsored by Hybrid Logic, Ltd.)
Reviewer: glyph
Fixes: #7370

Generate a new and larger RSA key (and associated self-signed certificate)
for use by a number of the TLS unit tests.  This causes them to pass when
the test suite is run using pyOpenSSL 0.14 or newer and an EC-supporting
version of OpenSSL.  The tests previously failed because the newer EC-using
TLS configuration introduced in r41888 requires this larger RSA key (the
old key was 512 bits, an unreasonably small size) to successfully complete
a handshake.

Note this change is unit tested (it is really only a fix to the unit tests)
but there is presently no continuous integration coverage for this case
because the continuous integration system is not configured to run the tests
against pyOpenSSL 0.14 in any cases.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43114 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
in its defense, fijal was online for like five whole minutes

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43126 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge inlinecallbacks-docs-typo-7643: Fix typo in inlincallbacks documentation.

Author: Alex
Reviewer: khorn
Fixes: #7643

This fixes a capitalization typo in the docsting for inlineCallbacks.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43137 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge process-howto-typo-7642: Fix typo in process howto.

Author: Alex
Reviewer: khorn
Fixes: #7642

This fixes a minor typo in the process howto, which was causing a link to be
rendered incorrectly by Sphinx.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43140 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge cleanup-rst-source-7640: application.rst should be properly formatted

Author: hawkowl
Reviewer: herrwolfe
Fixes: #7640

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43141 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge cleanup-components-rst-7641-2

Author: hawkowl
Reviewers: herrwolfe, TimeBandit
Fixes: #7641

Reformatted components documentation with semantic sentences and cleaned up white space.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43146 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge inconsistent-hash-7651: fix test_inspectCertificate

Author: glyph

Reviewer: mithrandi

Fixes: #7651

twisted.internet.ssl.Certificate(...).getPublicKey().keyHash() now produces a
stable value regardless of OpenSSL version.  Unfortunately this means that it
is different than the value produced by older Twisted versions.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43179 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge servid-error-7355: Brief description

Author: exarkun, adiroiban

Reviewer: glyph

Fixes: #7355

Fix the Python 3 buildbots.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43180 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge banana-unsupported-type-exception-7663

Author: wolfgang61, exarkun
Reviewer: exarkun
Fixes: #7663

Change Banana's unsupported type exception message to include the type of the
unsupported object.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43213 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge banana-receive-wrong-dialect-7662

Author: wolfgang61, exarkun
Reviewer: exarkun
Fixes: #7662

Check the active Banana dialect before processing dialect-specific features in
the Banana protocol implementation.  Previously features of the PB dialect
could be used even when the None dialect was active.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43224 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge banana-remove-duplication-7665

Author: wolfgang61, exarkun
Reviewer: exarkun
Fixes: #7665

Remove some duplication in the encoding logic in the twisted.spread.banana unit tests.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43232 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge jelly-require-unicode-7667

Author: wolfgang61
Reviewer: exarkun
Fixes: #7667

Remove the pointless Python-without-unicode support code from
`twisted.spread.jelly`.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43237 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge deprecate-jelly-instance-support-7653

Author: wolfgang61, exarkun
Reviewer: exarkun
Fixes: #7653

Formally deprecate the `instance` atom in the Jelly protocol.
Twisted has not emitted this token for at least ten years.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43253 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge open-file-descriptors-7633: Fix intermittent test.

Author: glyph

Reviewer: jml

Fixes: #7633

test_openFileDescriptors verified too strictly that no unexpected file
descriptors are open in a subprocess.  Sometimes, "extra" file
descriptors are in fact expected (such as when /dev/urandom is opened by
importing the 'random' module).  This adjusts the test to verify
that *twisted* is doing its job and closing the file descriptors before
the process starts, rather than verifying that the list is exactly what
we expect.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43290 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb