Commit Graph

8273 Commits

Author SHA1 Message Date
George Yoshida cadbbfc85b add versionadded info 2007-03-07 04:21:18 +00:00
Georg Brandl 1579265aac Patch #1602128: clarify that richcmp methods can return NotImplemented
and should return True or False otherwise.
2007-03-06 18:29:58 +00:00
Martin v. Löwis ab8a6bba25 Patch #912410: Replace HTML entity references for attribute values
in HTMLParser.
2007-03-06 14:43:00 +00:00
Georg Brandl ff432e6f4a Patch #1663234: you can now run doctest on test files and modules
using "python -m doctest [-v] filename ...".
2007-03-06 13:37:45 +00:00
Martin v. Löwis 3eb7648986 Patch #1121142: Implement ZipFile.open. 2007-03-06 10:41:24 +00:00
Georg Brandl d28b9fc686 Patch #1671450: add a section about subclassing builtin types to the
"extending and embedding" tutorial.
2007-03-06 10:02:47 +00:00
Georg Brandl 39fc1da6dc Nit: a struct field is set to GenericAlloc, not GenericAlloc(). 2007-03-06 09:33:01 +00:00
Georg Brandl b5e3f0dfc6 Bugs #1668032, #1668036, #1669304: clarify behavior of PyMem_Realloc and _Resize. 2007-03-02 20:30:14 +00:00
Andrew M. Kuchling 7659a87e49 Add NamedTuple 2007-03-01 14:36:12 +00:00
Raymond Hettinger c37e5e04eb Add collections.NamedTuple 2007-03-01 06:16:43 +00:00
Andrew M. Kuchling c6a1ef3fe1 Add some items 2007-02-26 23:54:17 +00:00
Andrew M. Kuchling f2ae27e61a Markup fix 2007-02-26 23:02:47 +00:00
Jeremy Hylton 759410b372 Do not copy free variables to locals in class namespaces.
Fixes bug 1569356, but at the cost of a minor incompatibility in
locals().  Add test that verifies that the class namespace is not
polluted.  Also clarify the behavior in the library docs.

Along the way, cleaned up the dict_to_map and map_to_dict
implementations and added some comments that explain what they do.
2007-02-26 18:41:18 +00:00
Fred Drake 5a3e812444 - SF patch #1657613: add documentation for the Element interface
- clean up bogus use of the {datadescni} environment everywhere
2007-02-25 17:56:27 +00:00
Raymond Hettinger d36862cf78 Add itertools.izip_longest(). 2007-02-21 05:20:38 +00:00
Raymond Hettinger cbac8ce5b0 Fixup docstrings for merge(). 2007-02-19 18:15:04 +00:00
Martin v. Löwis 382abeff0f Patch #1490190: posixmodule now includes os.chflags() and os.lchflags()
functions on platforms where the underlying system calls are available.
2007-02-19 10:55:19 +00:00
Raymond Hettinger bcc40ba922 Provide an example of defaultdict with non-zero constant factory function. 2007-02-19 09:14:10 +00:00
Raymond Hettinger 00166c5532 Add merge() function to heapq. 2007-02-19 04:08:43 +00:00
Georg Brandl 9cb37fc5d0 Add missing \versionadded. 2007-02-15 11:29:55 +00:00
Georg Brandl 983d100202 Patch #1494140: Add documentation for the new struct.Struct object. 2007-02-15 11:29:04 +00:00
Georg Brandl 9dca5eaf57 Make functools.wraps() docs a bit clearer. 2007-02-15 10:37:59 +00:00
Martin v. Löwis 91670d0246 Bug #1658794: Remove extraneous 'this'.
Will backport to 2.5.
2007-02-13 12:08:24 +00:00
Martin v. Löwis 84f6de9d7e Patch #1517891: Make 'a' create the file if it doesn't exist.
Fixes #1514451.
2007-02-13 10:10:39 +00:00
Martin v. Löwis c6d626ed9f Patch #698833: Support file decryption in zipfile. 2007-02-13 09:49:38 +00:00
Lars Gustäbel a69aa327aa Bug #1656581: Point out that external file objects are supposed to be
at position 0.
2007-02-12 09:25:53 +00:00
Georg Brandl 441268f867 Bug #1656078: typo in in profile docs. 2007-02-09 18:48:41 +00:00
Martin v. Löwis 7c4615b252 Update broken link. Will backport to 2.5. 2007-02-09 12:58:49 +00:00
Raymond Hettinger 3156316823 SF: 1397711 Set docs conflated immutable and hashable 2007-02-07 21:04:20 +00:00
Lars Gustäbel 3f8aca1164 Patch #1652681: create nonexistent files in append mode and
allow appending to empty files.
2007-02-06 18:38:13 +00:00
Brett Cannon 129bd52146 No more raising of string exceptions!
The next step of PEP 352 (for 2.6) causes raising a string exception to trigger
a TypeError.  Trying to catch a string exception raises a DeprecationWarning.
References to string exceptions has been removed from the docs since they are
now just an error.
2007-01-30 21:34:36 +00:00
Georg Brandl a05153683c Bug #1648191: typo in docs. 2007-01-30 20:21:30 +00:00
Andrew M. Kuchling 15c1fe5047 More edits 2007-01-29 21:28:48 +00:00
Andrew M. Kuchling 5781dd2d7c Various minor edits 2007-01-29 20:55:40 +00:00
Andrew M. Kuchling 85acbca511 Minor edits to the curses HOWTO 2007-01-29 20:21:43 +00:00
Fred Drake 7a7cbae77b fix typo (extraneous ")") 2007-01-26 16:28:44 +00:00
Andrew M. Kuchling 27b4c8b23c Add item 2007-01-25 20:02:13 +00:00
Andrew M. Kuchling 391e917b1a Strengthen warning about using lock() 2007-01-24 20:06:41 +00:00
Martin v. Löwis aef4c6bc00 Patch #1610575: Add support for _Bool to struct. 2007-01-21 09:33:07 +00:00
Raymond Hettinger 1b0ce85271 SF# 1635892: Fix docs for betavariate's input parameters . 2007-01-19 18:07:18 +00:00
Neal Norwitz a6c0b59814 SF #1635217, Fix unbalanced paren 2007-01-19 05:53:33 +00:00
Fred Drake b94ed71bd1 add missing version entry 2007-01-18 05:42:30 +00:00
Georg Brandl b26b1c6d6b Bug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs. 2007-01-17 21:19:58 +00:00
Georg Brandl 45dc1f2fd3 Bug #1637967: missing //= operator in list. 2007-01-17 21:09:04 +00:00
Andrew M. Kuchling 3ffcfe2f68 [Part of bug #1599254] Add suggestion to Mailbox docs to use Maildir, and warn user to lock/unlock mailboxes when modifying them 2007-01-17 19:55:06 +00:00
Brett Cannon f5c034af10 Add a note for strptime that just because strftime supports some extra
directive that is not documented that strptime will as well.
2007-01-15 19:12:08 +00:00
Guido van Rossum 2799aab86d Doc patch matching r53434 (htonl etc. now always take/return positive ints). 2007-01-15 00:02:35 +00:00
Vinay Sajip 1ff01fb0af Added documentation for WatchedFileHandler (based on SF patch #1598415) 2007-01-14 21:50:50 +00:00
Georg Brandl 7ded34d25e Fix typo. 2007-01-13 12:31:51 +00:00
Brett Cannon 093b67061a Deprecate the sets module. 2007-01-13 00:29:49 +00:00