summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* #5391 make mmap work exclusively with bytesBenjamin Peterson2009-04-041-27/+27
|
* Merged revisions 70837,70864,70878,71004,71032,71043 via svnmerge fromBenjamin Peterson2009-04-041-22/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70837 | gregory.p.smith | 2009-03-31 11:54:10 -0500 (Tue, 31 Mar 2009) | 9 lines The unittest.TestCase.assertEqual() now displays the differences in lists, tuples, dicts and sets on failure. Many new handy type and comparison specific assert* methods have been added that fail with error messages actually useful for debugging. Contributed in by Google and completed with help from mfoord and GvR at PyCon 2009 sprints. Discussion lives in http://bugs.python.org/issue2578. ........ r70864 | gregory.p.smith | 2009-03-31 14:03:28 -0500 (Tue, 31 Mar 2009) | 10 lines Rename the actual method definitions to the official assertFoo names. Adds unittests to make sure the old fail* names continue to work now and adds a comment that they are pending deprecation. Also adds a test to confirm that the plural Equals method variants continue to exist even though we're unlikely to deprecate those. http://bugs.python.org/issue2578 ........ r70878 | gregory.p.smith | 2009-03-31 14:59:14 -0500 (Tue, 31 Mar 2009) | 3 lines Issue an actual PendingDeprecationWarning for the TestCase.fail* methods. Document the deprecation. ........ r71004 | benjamin.peterson | 2009-04-01 18:15:49 -0500 (Wed, 01 Apr 2009) | 1 line remove double underscores ........ r71032 | michael.foord | 2009-04-01 22:20:38 -0500 (Wed, 01 Apr 2009) | 13 lines Better exception messages for unittest assert methods. - unittest.assertNotEqual() now uses the inequality operator (!=) instead of the equality operator. - Default assertTrue and assertFalse messages are now useful. - TestCase has a longMessage attribute. This defaults to False, but if set to True useful error messages are shown in addition to explicit messages passed to assert methods. Issue #5663 ........ r71043 | michael.foord | 2009-04-02 00:51:54 -0500 (Thu, 02 Apr 2009) | 7 lines Store the functions in the _type_equality_funcs as wrapped objects that are deep copyable. This allows for the deep copying of TestCase instances. Issue 5660 ........
* Note an improvement to pydoc.Raymond Hettinger2009-04-041-0/+5
|
* Remove minor entry. Add the ttk module.Raymond Hettinger2009-04-041-7/+9
|
* Fix nits.Raymond Hettinger2009-04-041-2/+2
|
* Eliminate a duplicate entry.Raymond Hettinger2009-04-041-9/+4
|
* typoBenjamin Peterson2009-04-041-1/+1
|
* Complete the first-pass at whatsnew.Raymond Hettinger2009-04-041-34/+50
|
* More notes on 3.1 improvements.Raymond Hettinger2009-04-041-2/+57
|
* More updates to whatsnewRaymond Hettinger2009-04-041-0/+29
|
* Start building-up the whatsnew document for Py3.1Raymond Hettinger2009-04-041-2/+82
|
* Add helpful link.Raymond Hettinger2009-04-041-0/+6
|
* Update documentation for csv module to reflect changes in code,R. David Murray2009-04-041-120/+30
| | | | | | | | | | specifically that it now expects unicode input (and therefore the paragraph about it not handling unicode is deleted, as well as the 'how to handle unicode' examples) and that files should be opened with "newline=''" instead of binary mode. Also removed unused BytesIO import from test_csv. This addresses issue 4847.
* Py_BuildValue's 'c' code should use byte strings #5666Benjamin Peterson2009-04-031-3/+7
|
* Undocument the existence of the memo attribute and its main use-case.Alexandre Vassalotti2009-04-031-71/+0
| | | | | | | Apparently, Guido don't like this behavior. [1] I also agree that the memo should be left as an implementation detail. [1]: http://mail.python.org/pipermail/python-dev/2009-March/086809.html
* Emphasize that Unpickler.memo is not necessarily a dict.Alexandre Vassalotti2009-04-031-2/+3
|
* Add more examples in pickle documentation.Alexandre Vassalotti2009-04-031-27/+79
|
* Remove old reference to cPickle.Alexandre Vassalotti2009-04-031-9/+6
|
* Fix typo.Raymond Hettinger2009-04-031-2/+2
|
* Update docs for namedtuple's renaming change.Raymond Hettinger2009-04-021-1/+1
|
* Clarify that datetime strftime does not produce leap seconds and datetimeR. David Murray2009-04-021-2/+6
| | | | | | | | | strptime does not accept it in the strftime behavior section of the datetime docs. Closes issue 2568. Porting by hand since svnmerge disclaims all knowledge of the trunk commit.
* Merged revisions 71031 via svnmerge fromBrett Cannon2009-04-021-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71031 | brett.cannon | 2009-04-01 20:17:39 -0700 (Wed, 01 Apr 2009) | 6 lines PyImport_AppendInittab() took a char * as a first argument even though that string was stored beyond the life of the call. Changed the signature to be const char * to help make this point. Closes issue #1419652. ........
* First batch of signature documentation changes; using default argument ↵Georg Brandl2009-04-027-18/+19
| | | | syntax where applicable.
* make 'c' only accept bytes and 'C' only unicode #5499Benjamin Peterson2009-04-021-1/+5
|
* fix markupBenjamin Peterson2009-04-021-4/+3
|
* Explain a little about the explanation.Brett Cannon2009-04-011-0/+5
|
* Add a meta path importer example.Brett Cannon2009-04-011-7/+98
|
* Merged revisions 70992,70995 via svnmerge fromBenjamin Peterson2009-04-011-3/+9
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70992 | georg.brandl | 2009-04-01 16:00:55 -0500 (Wed, 01 Apr 2009) | 1 line #4572: add SEEK_* values as constants in io.py. ........ r70995 | benjamin.peterson | 2009-04-01 16:12:54 -0500 (Wed, 01 Apr 2009) | 1 line add seek constants to __all__ ........
* Add link to an alternative generator with a long-period.Raymond Hettinger2009-04-011-0/+4
|
* Add some clarification to the importlib docs.Brett Cannon2009-04-011-4/+8
|
* #5636: fix next -> __next__ in csv reader docs.Georg Brandl2009-04-011-6/+3
|
* Improve examples for collections.deque()Raymond Hettinger2009-03-311-25/+23
|
* Merged revisions 70910 via svnmerge fromTarek Ziadé2009-03-311-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70910 | tarek.ziade | 2009-03-31 17:27:23 -0500 (Tue, 31 Mar 2009) | 1 line #5583 Added optional Extensions in Distutils ........
* Add missing label.Georg Brandl2009-03-311-0/+1
|
* #1717: fix-up docs for comparison in newtypes document.Georg Brandl2009-03-311-44/+47
|
* #5241: document missing A in regex howto.Georg Brandl2009-03-311-0/+13
|
* Forward-port of #992207 fix: document that the parser only accepts \\n ↵Georg Brandl2009-03-311-12/+9
| | | | newlines. (And remove a leftover footnote.)
* #5548: do return the new module from PyMODINIT_FUNC functions.Georg Brandl2009-03-312-3/+5
|
* #5566: remove duplicate entry.Georg Brandl2009-03-311-13/+3
|
* Update HTTPResponse documentation and add placeholder for HTTPMessage.Jeremy Hylton2009-03-311-4/+26
|
* Document public attributes of urllib.request.Request.Jeremy Hylton2009-03-311-40/+78
|
* Change email address.Jeremy Hylton2009-03-311-1/+1
|
* Fix segfaults when running test_exceptions with coverage tracing, caused by ↵Georg Brandl2009-03-311-0/+46
| | | | wrongly defining Exception.__context__ as a T_OBJECT structmember which does not set the member to NULL on None assignment, and generally does not do type checks. This could be used to crash the interpreter by setting any object to __context__. The same applies to __cause__. Also document the PyException_* functions.
* "Port" the fix for issue 1974 from the trunk (2.7). Because Python 3.x does ↵Barry Warsaw2009-03-301-1/+1
| | | | | | things much better, less changes are necessary. This also shoves test_email_codecs_rename.py onto test_email_codecs.py even though the test needs to be ported to Python 3.
* Make sure time.strptime only accepts strings (and document the fact likeBrett Cannon2009-03-301-6/+8
| | | | | | | strftime). Already didn't accept bytes but make the check earlier. This also lifts the limitation of requiring ASCII. Closes issue #5236. Thanks Tennessee Leeuwenburg.
* Remove merging leftover.Georg Brandl2009-03-301-1/+0
|
* Thorough review of importlib docs. Reviewed by Brett himself.Guido van Rossum2009-03-301-34/+50
|
* Merged revisions 70746 via svnmerge fromRonald Oussoren2009-03-301-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70746 | ronald.oussoren | 2009-03-30 15:02:08 -0500 (Mon, 30 Mar 2009) | 2 lines Fix for issue 13095 ........
* Merged revisions 70656,70668-70669,70671,70701,70703,70706 via svnmerge fromBenjamin Peterson2009-03-301-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70656 | georg.brandl | 2009-03-28 14:33:33 -0500 (Sat, 28 Mar 2009) | 2 lines Add a script to fixup rst files if the pre-commit hook rejects them. ........ r70668 | benjamin.peterson | 2009-03-28 22:16:57 -0500 (Sat, 28 Mar 2009) | 1 line a more realistic example ........ r70669 | benjamin.peterson | 2009-03-28 22:31:40 -0500 (Sat, 28 Mar 2009) | 1 line stop the versionchanged directive from hiding the docs ........ r70671 | benjamin.peterson | 2009-03-28 22:39:58 -0500 (Sat, 28 Mar 2009) | 1 line fix consistency ........ r70701 | benjamin.peterson | 2009-03-29 17:27:26 -0500 (Sun, 29 Mar 2009) | 1 line add missing import ........ r70703 | benjamin.peterson | 2009-03-29 21:14:21 -0500 (Sun, 29 Mar 2009) | 1 line fix import ........ r70706 | benjamin.peterson | 2009-03-30 09:42:23 -0500 (Mon, 30 Mar 2009) | 1 line add missing import ........
* Merged revisions ↵Benjamin Peterson2009-03-3012-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70578 | benjamin.peterson | 2009-03-23 22:24:56 -0500 (Mon, 23 Mar 2009) | 1 line this is better written using assertRaises ........ r70599 | benjamin.peterson | 2009-03-25 16:42:51 -0500 (Wed, 25 Mar 2009) | 1 line this can be slightly less ugly ........ r70641 | guilherme.polo | 2009-03-27 16:43:08 -0500 (Fri, 27 Mar 2009) | 3 lines Adjusted _tkinter to compile without warnings when WITH_THREAD is not defined (part of issue #5035) ........ r70642 | georg.brandl | 2009-03-27 19:48:48 -0500 (Fri, 27 Mar 2009) | 1 line Fix typo. ........ r70650 | benjamin.peterson | 2009-03-28 14:16:10 -0500 (Sat, 28 Mar 2009) | 1 line give os.symlink and os.link() better parameter names #5564 ........ r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line Switch to fixed Sphinx version. ........ r70661 | georg.brandl | 2009-03-28 14:57:36 -0500 (Sat, 28 Mar 2009) | 2 lines Add section numbering to some of the larger subdocuments. ........ r70674 | guilherme.polo | 2009-03-29 05:19:05 -0500 (Sun, 29 Mar 2009) | 1 line Typo fix. ........ r70691 | raymond.hettinger | 2009-03-29 13:51:11 -0500 (Sun, 29 Mar 2009) | 1 line Make life easier for non-CPython implementations. ........ r70697 | benjamin.peterson | 2009-03-29 16:22:35 -0500 (Sun, 29 Mar 2009) | 1 line this has been fixed since 2.6 (I love removing these) ........ r70698 | benjamin.peterson | 2009-03-29 16:31:05 -0500 (Sun, 29 Mar 2009) | 1 line thanks to guido's bytecode verifier, this is fixed ........ r70700 | benjamin.peterson | 2009-03-29 16:50:14 -0500 (Sun, 29 Mar 2009) | 1 line use the awesome new status iterator ........ r70704 | benjamin.peterson | 2009-03-29 21:49:32 -0500 (Sun, 29 Mar 2009) | 1 line there's actually three methods here #5600 ........