Merge clockmemoryreactor-6381

Author: exarkun
Reviewer: therve
Fixes: #6381

Eliminate the various duplicate versions of a `Clock` / `MemoryReactor` subclass
used in a number of different tests.


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

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37717 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge trial-j-docs-5994: Document trial's -j option.

Author: wirehead
Reviewers: Jerub
Fixes: #5994

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37723 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge branches/iterable-flags-6302: iterable, truth-testable FlagConstant

Author: wsanchez
Reviewer: tom.prince
Fixes: #6302

Adds __iter__ and __nonzero__ to FlagConstant to decompose flags in a
flag set and make boolean treatment of a FlagConstant sane.

Update the Constants HOWTO.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37739 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge branches/htmldoc-namespace-6378: Add HTML and DTD declarations to docs.

Author: wsanchez
Reviewer: glyph
Fixes: #6378

Some docs lacked HTML and DTD declarations, this makes then consistantly present.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37740 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge build-docs-2380-2

Authors: thijs, therve
Reviewer: jonathanj
Fixes: #2380

Add a script to build documentation for the release.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37746 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge pam-test-cleanup-6316: Cleanup pam tests.

Author: tom.prince
Reviewers: rwall
Fixes: #6316

There is a pyflakes error, as well as an open-coded
TestCase.patch. This cleans them up.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37817 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge ssl-client-endpoint-parser-test-5801-2: Add missing test coverage for SSL client endpoint string description parser

Author: ecnahc515
Reviewers: tom.prince
Fixes: #5801

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37824 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge successResultOf-traceback-6377: more useful traceback if failure

Author: cyli
Reviewer: tom.prince
Fixes: #6377

If the Deferred provided to successResultOf errbacks, print a traceback instead of just the repr of the failure.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37828 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Mugging in progress.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37829 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge failureResultOf-optional-types-6380: expected types of failureResultOf

Author: cyli
Reviewer: tom.prince
Fixes: #6380

Allow failureResultOf to take optional expected failure types, so that if an unexpected failure occurs, the failureResultOf assertion will fail.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37834 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge child-processes-endpoint-4696-5

Authors: ashfall, therve
Reviewers: exarkun, tom.prince
Fixes: #4696

Add a ProcessEndpoint facility to easily connect a protocol to a process.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37840 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Revert r37840: Merge child-processes-endpoint-4696-5.

Reopens: #4696

There is a failure on the python3 buildbot.
twisted.internet.test.test_endpoint imports StandardErrorBehavior
unconditionally, although it isn't supported on python3.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37849 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge typo-in-test_irc-6392: Fix typo in docstring in twisted.words.test.test_irc.

Author: Infinity
Reviewers: tom.prince
Fixes: #6392

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37850 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge move-inlinecbtest-5955: Move test_inlineCallbacksTracebacks from test_failure to test_defer.

Author: thijs
Reviewer: tom.prince
Fixes: #5955


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37859 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge factory-for-5016

Author: Julian
Reviewer: therve
Fixes: #5016

Add a forProtocol classmethod to factory to easily build a Factory instance for
a protocol class.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37864 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge internet-utils-mergs-6240-2: Merge `twisted/internet/_utilspy3.py` into `twisted/internet/utils.py`.

Author: genericnick, tom.prince
Reviewers: tom.prince, therve
Fixes: #6240

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37876 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge examples-react-5989-3: Use task.react in twisted.names examples

Author: rwall
Reviewer: thijs, tom.prince
Fixes: #5989

 * Updated all twisted.names example scripts to use task.react, which
   shuts down the reactor reliably and logs uncaught exceptions.

 * Tidied up the output of the twisted.names example scripts. Results
   of all scripts are now neatly printed to stdout and certain
   expected errors are printed to stderr.

 * Standardized the example script --help output

 * Examples now return non-zero exit code on certain errors

 * Added some new unit tests for the twisted.names examples - testing
   for consistent usage and error messages and for a standard shebang
   line.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37878 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Apply patch: Add missing copyright header and remove statement that the module is not being used.

Author: dhanush
Reviewer: thijs
Fixes: #6299


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37913 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge python-2.3-5386-4: Get rid of references and code specific to Python 2.3.

Author: thijs, rockstar
Reviewer: jesstess, exarkun, tom.prince
Fixes: #5386


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