Merge bounce-doc-6652: Fix docstrings for bounce.py

Author: shira
Reviewer: hawkowl
Fixes: #6652


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@40053 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge trial-howto-spelling-6406

Authors: nothung,phoenix,PyWebEU
Reviewer: rwall
Fixes: #6406

Spelling and grammar corrections in the trial howto document.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@40067 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge has_key-6486-2

Authors: mulhern, lbromo
Reviewers: lvh, rwall, thijs, Alex
Fixes: #6486

Remove use of has_key in twisted.mail.maildir and twisted.mail.test.test_mail.
Added some missing test docstrings in twisted.mail.test.test_mail.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@40095 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
The timestamps do not lie.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@40125 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Port twisted.python.logfile to Python 3
Close opened file to remove spurious warnings on Py3

Warnings such as:

    ../twisted/internet/utils.py:199: ResourceWarning: unclosed file <_io.TextIOWrapper name='twisted.test.test_logfile/LogFileTestCase/test_maxNumberOfLog/hj855e/temp/test.log' mode='w+' encoding='UTF-8'>
        result = f(*a, **kw)
Test & improve coverage of LogFile persistence
Test & cover defaultMode failure

It's probably going to fail on Windows due to /dev/null...
Test BaseLogFile.shouldRotate abstractiness
More coverage for logfile
More coverage (only 2 lines left).
Implement __del__ method to automatically close log files

This removes ResourceWarning expections on Python 3, such as:

  ResourceWarning: unclosed file <_io.TextIOWrapper name='twisted.test.test_logfile/LogFileTestCase/test_fromFullPath/3f20oo/temp/test.log' mode='w+' encoding='UTF-8'>
    result = f(*a, **kw)
Improve coverage of DailyLogFile.rotate()