Commit Graph

2302 Commits

Author SHA1 Message Date
Fred Drake
6909f5c225 Clarify the endpos argument to the rx.match() method.
Closes SF bug #597177.
2002-08-20 13:58:12 +00:00
Fred Drake
4295443c46 Extend some comments on the order of values in the returns from
dict.items/keys/values/iteritems/iterkeys/itervalues().
2002-08-19 22:01:19 +00:00
Raymond Hettinger
488ac6a20e Described responsibilty of weakly referenced extension types to initialize
the weakreflist to NULL in the constructor and to fill the tp_flags
slot with Py_TPFLAGS_HAVE_WEAKREFS.  Closes SF bug 586583.
2002-08-07 16:21:23 +00:00
Raymond Hettinger
564e28f89b Documented os.fsync and os.fdatasync. Closes SF bug 584695. 2002-08-07 15:49:45 +00:00
Fred Drake
18f8ade7ad Clarify that the bool instances are acceptable return values from
__nonzero__(), in response to SF bug #579991.
2002-08-07 15:41:31 +00:00
Fred Drake
c4d9fcd685 Added references to the email package.
Closes SF bug #586937.
2002-08-06 21:22:59 +00:00
Neal Norwitz
40e3576f3b SF patch #591305 Documentation err in bytecode defs 2002-08-05 23:35:02 +00:00
Fred Drake
45dabc58d3 SF patch #581414: info reader bug
The "Matching vs. Searching" Info node is unreachable from the Info
program (but is fine in Emacs's Info mode). This patch seems to fix
it.  This is the only occurrence where the info reader fails, so
probably it could be addressed in the python docs as a workaround.
Forwarded the report to the info maintainer.
2002-07-30 17:52:05 +00:00
Fred Drake
87c2c489ba Small clarifications when referring to the sys.exc_* variables so that
readers are not given the wrong impression that they should be using those
on a regualar basis.
This closes SF bug #585598.
2002-07-25 21:11:41 +00:00
Fred Drake
5180ed871b reduce(): Clarified what is returned in the case of a sequence 1 item long and
initial/default value.
2002-07-17 13:55:46 +00:00
Fred Drake
003eb03287 Clarify the return value of __nonzero__(): It *must* be an integer.
Closes SF bug #579991.
2002-07-12 17:15:45 +00:00
Fred Drake
dc14fb7b53 Document gc.get_objects().
Closes SF bug #578308.
2002-07-10 19:21:55 +00:00
Fred Drake
68510797cd Note that unicode() can raise LookupError for unknown codecs.
Closes SF bug #513666.
2002-07-09 05:27:12 +00:00
Fred Drake
e0c82ee1d4 Fix typo reported by Kent Engström, and a bunch of broken markup. 2002-07-08 14:42:45 +00:00
Fred Drake
aa10404b7e Fix typo: "an Unicode string" --> "a Unicode string"
Clarify the return value when the parameter is a Unicode object.
2002-07-08 14:29:28 +00:00
Fred Drake
d095e88e2b Add annotations that describe the change in the "errors" and "failures"
attributes of the TestResult.
2002-07-02 22:46:53 +00:00
Fred Drake
2538284012 Update the documentation of the errors and failures attributes of the
TestResult object.  Add an example of how to get even more information for
apps that can use it.
Closes SF bug #558278.
2002-07-02 22:35:02 +00:00
Raymond Hettinger
bca71c989e Fixed bug 574978 shutil example out of sync with source code 2002-06-30 04:44:29 +00:00
Raymond Hettinger
e6a7ce123a Fix bug 575221 referred to dictionary type instead of dict. 2002-06-30 04:33:37 +00:00
Fred Drake
20ef4e108d Clarify the version information for the unicode() built-in.
Closes SF bug #575272.
2002-06-29 16:11:08 +00:00
Neal Norwitz
023b588d58 Backport 1.37: dis.dis() also supports modules, (also backport other changes back to 1.33 since these all apply to 2.2) 2002-06-26 22:37:28 +00:00
Raymond Hettinger
d8a78e3a4d Fix bug #573916. Sender and recipients reversed in email example. 2002-06-26 07:52:41 +00:00
Fred Drake
ded92fefa3 [Backport of recent changes to the SAX documentation.]
Add more links to the "See also" section for the xml.sax package.
Talk about interfaces rather than implementation classes where appropriate.
Add hyperlinks to make the documentation on the Attributes and AttributesNS
interfaces more discoverable.
Closes SF bug #484603.
2002-06-25 17:18:48 +00:00
Raymond Hettinger
169d1ed891 Fix typo 2002-06-25 15:25:53 +00:00
Raymond Hettinger
bc18447378 Fix SF bug 568269 by enclosing 'computername' in a raw string 2002-06-25 04:55:36 +00:00