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
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
490096e760
Fix example output for doctest-like demos.
2009-05-15 08:03:03 +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
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
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
Gregory P. Smith
d02eedacab
Issue #4751 : For hashlib algorithms provided by OpenSSL, the Python
...
GIL is now released during computation on data lengths >= 2048 bytes.
2009-05-04 00:16:49 +00:00
Michael Foord
07ef487a96
2009-05-02 22:43:34 +00:00
Benjamin Peterson
2b42c29a50
add myself
2009-05-02 20:26:53 +00:00
Michael Foord
e2fb98f467
Add addCleanup and doCleanups to unittest.TestCase.
...
Closes issue 5679.
Michael Foord
2009-05-02 20:15:05 +00:00
Michael Foord
829f6b8052
Adds an exit parameter to unittest.main(). If False main no longer
...
calls sys.exit.
Closes issue 3379.
Michael Foord
2009-05-02 11:43:06 +00:00
Georg Brandl
24cc78ac61
Fix directive name.
2009-05-01 21:30:25 +00:00
Georg Brandl
b64b8278d1
Review ipaddr docs and add them in the TOC under "Internet protocols".
2009-05-01 21:28:35 +00:00
Gregory P. Smith
1d499265e0
Adds the ipaddr module to the standard library. Issue #3959 .
...
Based off of subversion r69 from http://code.google.com/p/ipaddr-py/
This code is 2to3 safe, I'll merge it into py3k later this afternoon.
2009-05-01 19:59:52 +00:00
Walter Dörwald
6733bed57e
Make test.test_support.EnvironmentVarGuard behave like a dictionary.
...
All changes are mirrored to the underlying os.environ dict, but rolled back
on exit from the with block.
2009-05-01 17:35:37 +00:00
R. David Murray
b01c6e53ed
Make the turtle.rst doctests pass. I have a feeling there should be
...
more cleanup, but I don't know now to kill turtles. Especially
unexpected ones... ;)
2009-04-30 12:42:32 +00:00
Georg Brandl
f6dab9542c
Make the doctests in the docs pass, except for those in the turtle module.
2009-04-28 21:48:35 +00:00
R. David Murray
3b23c9c516
Remove spurious 'u'.
2009-04-28 19:02:55 +00:00
R. David Murray
636b23a96f
Various small fixups to the multiprocessing docs, mostly fixing and
...
enabling doctests that Sphinx can run, and fixing and disabling tests that
Sphinx can't run. I hand checked every test not now marked as a doctest,
and all except the two that have open bug reports against them now work,
at least on Linux/trunk. (I did not look at the last example at all since
there was already an open bug). I did not read the whole document with
an editor's eye, but I did fix a few things I noticed while working on
the tests.
2009-04-28 16:08:18 +00:00
Raymond Hettinger
8b8f8cc1b0
Add example to the seealso section.
2009-04-27 21:12:54 +00:00
R. David Murray
ec047e0725
Make sys.xxx variable references into links, note that print_last only
...
works when an exception gets to the interactive prompt, and update the
examples after testing. The last one is now a valid Sphinx doctest,
but of the preceding two one can't be made a doctest and the other one
I'm postponing to 3.x because sphinx handles doctests as Unicode strings
and that makes the 2.x output confusing.
2009-04-27 17:22:36 +00:00
Georg Brandl
9bc668251f
#5848 : small unittest doc patch.
2009-04-27 17:04:23 +00:00
Georg Brandl
b44c9f357d
Demote warnings to notices, part 2: stuff that is 2.x-only.
2009-04-27 15:29:26 +00:00
Georg Brandl
16a57f6a34
Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
...
should clutter the docs as possible. Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
Georg Brandl
e1b79ce17e
#5856 : fix typo s in traceback example.
2009-04-27 15:09:25 +00:00
Georg Brandl
208b00d03f
#5841 : add deprecation py3k warning and notice in the docs for commands module.
2009-04-25 15:11:29 +00:00
Georg Brandl
cf5608df81
#5821 : add some capabilities of TarFile's file-like object.
2009-04-25 15:05:04 +00:00
Georg Brandl
64034bbf84
#5834 : use "failure" instead of "error" because the two have different meanings in unittest context.
2009-04-25 14:51:31 +00:00
Georg Brandl
69923a1df6
#5813 : add a reference to the "future statements" section.
2009-04-23 08:49:56 +00:00
Georg Brandl
95089bc9bf
Fix rewrapping accident.
2009-04-23 08:49:39 +00:00
Georg Brandl
49cc4eafcb
#5820 : fix bug in usage of getreader().
2009-04-23 08:44:57 +00:00
Mark Dickinson
8100bd8431
Issue #5812 : make Fraction('1e-6') valid. Backport of r71806.
2009-04-22 18:15:25 +00:00
Nick Coghlan
5533ff6a2e
Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
2009-04-22 15:26:04 +00:00
Eric Smith
4c074382bd
Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy.
2009-04-22 00:47:00 +00:00
Georg Brandl
e56101136c
#5751 : fix escaping of \\n.
2009-04-21 18:24:34 +00:00
Georg Brandl
ce54356690
#5757 : fix copy-paste error in notify().
2009-04-21 18:23:08 +00:00
Raymond Hettinger
cccfc825e4
Fix typo
2009-04-20 18:23:57 +00:00
Raymond Hettinger
76162e305c
Clarify the behavior of any() and all() with an empty iterable.
2009-04-16 18:16:10 +00:00
R. David Murray
7203081025
Less red ink (warning->note) and add link to def of side-by-side assembly.
2009-04-16 18:12:53 +00:00