Georg Brandl
0dedf45142
#6079 : use 3k except syntax in examples.
2009-05-22 16:44:06 +00:00
Philip Jenvey
ab7481a0a4
Merged revisions 72817 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72817 | philip.jenvey | 2009-05-21 22:35:32 -0700 (Thu, 21 May 2009) | 4 lines
don't use subprocess.call with PIPEs as the child can fill the pipe buf and
deadlock. add a warning to subprocess docs about this, similar to Popen.wait's.
refs http://bugs.jython.org/issue1351
........
2009-05-22 05:46:35 +00:00
Raymond Hettinger
d40285a986
Fix-up moving average example.
2009-05-22 01:11:26 +00:00
Raymond Hettinger
e90915011c
Note that ordered dictionaries work with reversed().
2009-05-19 17:40:07 +00:00
Georg Brandl
036490d025
More conversion to new-style optional args.
2009-05-17 13:00:36 +00:00
Georg Brandl
71515ca191
Remove surplus empty lines and convert more files to new optional arg style.
2009-05-17 12:29:12 +00:00
Georg Brandl
3f076d8b3d
Use new optional argument style in email docs.
2009-05-17 11:28:33 +00:00
Georg Brandl
8126914398
Recorded merge of revisions 72708 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72708 | georg.brandl | 2009-05-17 10:24:29 +0200 (So, 17 Mai 2009) | 1 line
#6017 : better document behavior of dictiterators when the dict is changed.
........
2009-05-17 08:31:29 +00:00
Raymond Hettinger
7c8494b6e2
Fix error in 2-to-3 translation of docs.
2009-05-14 21:48:02 +00:00
Raymond Hettinger
9aaef2da4d
Suggest how to use compare_networks() with a modern Python.
2009-05-14 15:31:02 +00:00
Tarek Ziadé
434caaab75
typo
2009-05-14 12:48:09 +00:00
Benjamin Peterson
4487f53fd6
typo
2009-05-13 21:15:03 +00:00
Benjamin Peterson
12f29ffb9f
two edits
2009-05-12 20:58:26 +00:00
Benjamin Peterson
4199d603fe
add example function
2009-05-12 20:47:57 +00:00
Benjamin Peterson
3261fa5a6b
detach() is a nifty trick for making std* binary
2009-05-12 03:01:51 +00:00
R. David Murray
ff85bcac22
Merged revisions 72572 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72572 | r.david.murray | 2009-05-11 21:36:57 -0400 (Mon, 11 May 2009) | 3 lines
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:40:16 +00:00
Martin v. Löwis
43c57785d3
Rename utf8b error handler to surrogateescape.
2009-05-10 08:15:24 +00:00
Martin v. Löwis
e0a2b72e61
Rename the surrogates error handler to surrogatepass.
2009-05-10 08:08:56 +00:00
Benjamin Peterson
25c95f1298
Merged revisions 70768,71657,71721,71729,71794,71976,72036-72037,72079,72085,72131-72134,72191,72197-72198,72219,72221,72225,72303,72434,72467,72476 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70768 | andrew.kuchling | 2009-03-30 17:29:15 -0500 (Mon, 30 Mar 2009) | 1 line
Typo fixes
........
r71657 | vinay.sajip | 2009-04-16 14:07:37 -0500 (Thu, 16 Apr 2009) | 1 line
Issue #5768 : Change to Unicode output logic and test case for same.
........
r71721 | benjamin.peterson | 2009-04-18 14:26:19 -0500 (Sat, 18 Apr 2009) | 1 line
fix a few nits in unittest.py #5771
........
r71729 | benjamin.peterson | 2009-04-18 16:03:10 -0500 (Sat, 18 Apr 2009) | 1 line
move test to a more appropiate one
........
r71794 | vinay.sajip | 2009-04-22 07:10:47 -0500 (Wed, 22 Apr 2009) | 2 lines
Issue #5170 : Fixed regression caused when fixing #5768 .
........
r71976 | mark.dickinson | 2009-04-26 14:54:55 -0500 (Sun, 26 Apr 2009) | 2 lines
Fix typo in function name
........
r72036 | georg.brandl | 2009-04-27 12:04:23 -0500 (Mon, 27 Apr 2009) | 1 line
#5848 : small unittest doc patch.
........
r72037 | georg.brandl | 2009-04-27 12:09:53 -0500 (Mon, 27 Apr 2009) | 1 line
#5840 : dont claim we dont support TLS.
........
r72079 | r.david.murray | 2009-04-28 14:02:55 -0500 (Tue, 28 Apr 2009) | 2 lines
Remove spurious 'u'.
........
r72085 | georg.brandl | 2009-04-28 16:48:35 -0500 (Tue, 28 Apr 2009) | 1 line
Make the doctests in the docs pass, except for those in the turtle module.
........
r72131 | benjamin.peterson | 2009-04-29 17:43:35 -0500 (Wed, 29 Apr 2009) | 1 line
fix test_shutil on ZFS #5676
........
r72132 | georg.brandl | 2009-04-29 17:44:07 -0500 (Wed, 29 Apr 2009) | 1 line
#5878 : fix repr of re object.
........
r72133 | benjamin.peterson | 2009-04-29 17:44:15 -0500 (Wed, 29 Apr 2009) | 1 line
make sure mode is removable while cleaning up test droppings
........
r72134 | benjamin.peterson | 2009-04-29 19:06:33 -0500 (Wed, 29 Apr 2009) | 1 line
make sure to close file
........
r72191 | michael.foord | 2009-05-02 06:43:06 -0500 (Sat, 02 May 2009) | 9 lines
Adds an exit parameter to unittest.main(). If False main no longer
calls sys.exit.
Closes issue 3379.
Michael Foord
........
r72197 | benjamin.peterson | 2009-05-02 11:24:37 -0500 (Sat, 02 May 2009) | 1 line
don't let sys.argv be used in the tests
........
r72198 | andrew.kuchling | 2009-05-02 12:12:15 -0500 (Sat, 02 May 2009) | 1 line
Add items
........
r72219 | michael.foord | 2009-05-02 15:15:05 -0500 (Sat, 02 May 2009) | 8 lines
Add addCleanup and doCleanups to unittest.TestCase.
Closes issue 5679.
Michael Foord
........
r72221 | benjamin.peterson | 2009-05-02 15:26:53 -0500 (Sat, 02 May 2009) | 1 line
add myself
........
r72225 | michael.foord | 2009-05-02 17:43:34 -0500 (Sat, 02 May 2009) | 1 line
........
r72303 | benjamin.peterson | 2009-05-04 19:55:24 -0500 (Mon, 04 May 2009) | 1 line
using sys._getframe(x), where x > 0 doesnt' work on IronPython
........
r72434 | r.david.murray | 2009-05-07 13:09:58 -0500 (Thu, 07 May 2009) | 2 lines
Pre-opened test file needs to be opened in binary mode.
........
r72467 | georg.brandl | 2009-05-08 07:17:34 -0500 (Fri, 08 May 2009) | 1 line
Fix name.
........
r72476 | thomas.heller | 2009-05-08 15:09:40 -0500 (Fri, 08 May 2009) | 4 lines
Add a file that contains diffs between offical libffi files and the
files in this repository. Should make it easier to merge new libffi
versions.
........
2009-05-08 20:42:26 +00:00
Eric Smith
e5fffc7279
Merged revisions 72439 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72439 | eric.smith | 2009-05-07 15:36:09 -0400 (Thu, 07 May 2009) | 1 line
Fixed wording for formatting integers: precision is not allowed.
........
2009-05-07 19:38:09 +00:00
Eric Smith
741191f17a
Issue #3382 . float 'F' formatting no longer maps to 'f'. This only affects nan and inf.
2009-05-06 13:08:15 +00:00
Mark Hammond
5a607a3ee5
Issue #5799 : ntpath (ie, os.path on Windows) fully supports UNC pathnames.
...
By Larry Hastings, reviewed eric.smith and mark.hammond.
2009-05-06 08:04:54 +00:00
Eric Smith
3bef15be2d
Improved wording.
2009-05-05 17:19:46 +00:00
Eric Smith
25e218e381
Documentation for Issue #5920 .
2009-05-05 16:42:58 +00:00
Georg Brandl
705d9d5c41
2.7 -> 3.1 versionchanges.
2009-05-05 09:29:50 +00:00
Georg Brandl
243ad66ba6
Merged revisions 72322 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72322 | georg.brandl | 2009-05-05 10:54:11 +0200 (Di, 05 Mai 2009) | 1 line
#5142 : add module skipping feature to pdb.
........
2009-05-05 09:00:19 +00:00
Georg Brandl
eaa84ef1e9
#5923 : update turtle module to version 1.1.
2009-05-05 08:14:33 +00:00
Martin v. Löwis
011e842033
Issue #5915 : Implement PEP 383, Non-decodable Bytes in
...
System Character Interfaces.
2009-05-05 04:43:17 +00:00
R. David Murray
f877feb806
Merged revisions 72149 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72149 | r.david.murray | 2009-04-30 08:42:32 -0400 (Thu, 30 Apr 2009) | 4 lines
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-05-05 02:08:52 +00:00
Georg Brandl
4f5f98d7d1
Add missing documentation for bytes.decode().
2009-05-04 21:01:20 +00:00
Georg Brandl
5f25972a05
Merged revisions 72292 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72292 | georg.brandl | 2009-05-04 22:49:17 +0200 (Mo, 04 Mai 2009) | 1 line
#5916 , 5917: small socket doc improvements.
........
2009-05-04 20:50:30 +00:00
Georg Brandl
9460648547
Merged revisions 72290 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72290 | georg.brandl | 2009-05-04 22:45:13 +0200 (Mo, 04 Mai 2009) | 1 line
#5927 , 5928: typos.
........
2009-05-04 20:46:44 +00:00
Gregory P. Smith
ef24cb6437
version added 3.1
2009-05-04 19:35:16 +00:00
Gregory P. Smith
95e3b9c848
documentation clarification. mention bytes.
2009-05-04 19:34:45 +00:00
Gregory P. Smith
3f61d61b35
Merge refactoring I did when committing r72267 to trunk into the
...
already committed issue4751 support in py3k r68411.
2009-05-04 00:45:33 +00:00
Martin v. Löwis
db12d454e6
Issue #3672 : Reject surrogates in utf-8 codec; add surrogates error
...
handler.
2009-05-02 18:52:14 +00:00
Benjamin Peterson
c6b607d4a9
port simplejson upgrade from the trunk #4136
...
json also now works only with unicode strings
Patch by Antoine Pitrou; updated by me
2009-05-02 12:36:44 +00:00
Gregory P. Smith
842e8da642
Merged revisions 72183-72184 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72183 | georg.brandl | 2009-05-01 14:28:35 -0700 (Fri, 01 May 2009) | 2 lines
Review ipaddr docs and add them in the TOC under "Internet protocols".
........
r72184 | georg.brandl | 2009-05-01 14:30:25 -0700 (Fri, 01 May 2009) | 1 line
Fix directive name.
........
2009-05-02 06:15:18 +00:00
Gregory P. Smith
e54dff5e63
Merged revisions 72173 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72173 | gregory.p.smith | 2009-05-01 12:59:52 -0700 (Fri, 01 May 2009) | 5 lines
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 22:13:48 +00:00
Benjamin Peterson
edc364717e
versionadded
2009-05-01 20:48:14 +00:00
Benjamin Peterson
ef9f2bde37
add myself
2009-05-01 20:45:43 +00:00
Benjamin Peterson
d2e0c7955f
implement a detach() method for BufferedIOBase and TextIOBase #5883
2009-05-01 20:40:59 +00:00
Walter Dörwald
155374d95d
Merged revisions 72167 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72167 | walter.doerwald | 2009-05-01 19:35:37 +0200 (Fr, 01 Mai 2009) | 5 lines
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 19:58:58 +00:00
Mark Dickinson
33841c3489
Issue #5859 : Remove '%f' to '%g' formatting switch for large floats.
2009-05-01 15:37:04 +00:00
R. David Murray
e08a66a371
Document the fact that 'compname' and 'comptype' are bytes.
2009-04-29 21:50:39 +00:00
Georg Brandl
476b355d63
Die, buffer(), die.
2009-04-29 06:37:12 +00:00
Raymond Hettinger
a48db39992
Issue #5857 : tokenize.tokenize() now returns named tuples.
2009-04-29 00:34:27 +00:00
R. David Murray
8e8099c491
Merged revisions 72060 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72060 | r.david.murray | 2009-04-28 12:08:18 -0400 (Tue, 28 Apr 2009) | 10 lines
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 18:02:00 +00:00
Raymond Hettinger
58c8c262f8
Add another example to the seealso section.
2009-04-27 21:01:21 +00:00
R. David Murray
e02a3017ca
Third to last example is now marked as a test, but I can't actually test
...
it yet since sphinx can't run the doctests using python3.
Merged revisions 72038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72038 | r.david.murray | 2009-04-27 13:22:36 -0400 (Mon, 27 Apr 2009) | 8 lines
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 18:38:19 +00:00