Commit Graph

10272 Commits

Author SHA1 Message Date
Georg Brandl
903953c19e #5935: mention that BROWSER is looked for in PATH. 2009-05-17 08:55:00 +00:00
Georg Brandl
ee8e08b8b6 #5942: Copy over flag table from dbm.rst which is clearer. 2009-05-17 08:36:04 +00:00
Georg Brandl
4c8b1c7a59 #6017: better document behavior of dictiterators when the dict is changed. 2009-05-17 08:24:29 +00:00
Georg Brandl
5e88eea994 part of #4144: fix exception message in console session. 2009-05-17 08:10:27 +00:00
Georg Brandl
c03cd4ca8e Fix about and bugs pages to match real workflow. 2009-05-16 11:24:41 +00:00
Georg Brandl
d933cc293b #2856: document 2.x os.listdir() behavior for undecodable filenames. 2009-05-16 11:21:29 +00:00
Georg Brandl
14315d6513 #6009: undocument default argument of Option as deprecated. 2009-05-16 11:18:55 +00:00
Georg Brandl
29d3a04618 #6025: fix signature of parse(). 2009-05-16 11:14:46 +00:00
Georg Brandl
8dc3b445ec #6034: clarify __reversed__ doc. 2009-05-16 11:13:21 +00:00
Georg Brandl
490096e760 Fix example output for doctest-like demos. 2009-05-15 08:03:03 +00:00
Benjamin Peterson
51d06abc99 importlib.import_module is better these days 2009-05-14 00:33:10 +00:00
R. David Murray
7118954914 Make it clear up front that shelve only records changes
when objects are assigned back to it when writeback is False.
2009-05-12 01:36:57 +00:00
Michael Foord
5d31e057c5 Adds a verbosity keyword argument to unittest.main plus a minor fix allowing you to specify test modules / classes
from the command line.

Closes issue 5995.

Michael Foord
2009-05-11 17:59:43 +00:00
Benjamin Peterson
3dabc10134 sys.setdefaultencoding() strikes me as a bad example 2009-05-10 23:52:09 +00:00
Jeffrey Yasskin
f7f858d141 Issue 5954, PyFrame_GetLineNumber:
Most uses of PyCode_Addr2Line
(http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
the line number of a specified frame, but there's no way to do that directly.
Forcing people to go through the code object makes them know more about the
guts of the interpreter than they should need.

The remaining uses of PyCode_Addr2Line seem to be getting the line from a
traceback (for example,
http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line),
which is replaced by the tb_lineno field.  So we may be able to deprecate
PyCode_Addr2Line entirely for external use.
2009-05-08 22:23:21 +00:00
Jeffrey Yasskin
1aa4700234 PyCode_NewEmpty:
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
are trying to build an empty code object, usually to put it in a dummy frame
object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
just the filename, function name, and first line number, instead of also
requiring lots of code internals.
2009-05-08 21:51:06 +00:00
Georg Brandl
d8282eeb51 Fix name. 2009-05-08 12:17:34 +00:00
Eric Smith
7523234abf Fixed wording for formatting integers: precision is not allowed. 2009-05-07 19:36:09 +00:00
R. David Murray
dd26681155 Revert inappropriate doc change. 2009-05-07 01:43:57 +00:00
R. David Murray
e202700f4f Document how to pass a 'decode' argument to get_payload when
is_multipart is False.
2009-05-07 01:39:25 +00:00
Andrew M. Kuchling
1271662067 Remove two dead links 2009-05-06 22:54:19 +00:00
Eric Smith
a985a3aee4 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 2009-05-05 18:26:08 +00:00
Georg Brandl
4d4313d59d #5142: add module skipping feature to pdb. 2009-05-05 08:54:11 +00:00
Georg Brandl
e3a3726b3d #5916, 5917: small socket doc improvements. 2009-05-04 20:49:17 +00:00
Georg Brandl
f5f045e470 #5927, 5928: typos. 2009-05-04 20:45:13 +00:00