Raymond Hettinger
91e3b9d89d
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
2009-05-28 22:20:03 +00:00
Raymond Hettinger
089ba7f690
Fix field name conflicts for named tuples.
2009-05-27 00:38:24 +00:00
Georg Brandl
c38a0002bc
Merged revisions 72932 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72932 | georg.brandl | 2009-05-26 09:50:23 +0200 (Di, 26 Mai 2009) | 1 line
#6112 : list.remove raises ValueError, not RuntimeError.
........
2009-05-26 07:51:03 +00:00
Georg Brandl
1a04058a64
Manual merge of r72710: use table of flags for dbm.open description.
2009-05-25 21:15:01 +00:00
Georg Brandl
8a1e4c4b64
Merged revisions 72661,72675-72677,72679,72712,72801,72820 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72661 | georg.brandl | 2009-05-15 10:03:03 +0200 (Fr, 15 Mai 2009) | 1 line
Fix example output for doctest-like demos.
........
r72675 | georg.brandl | 2009-05-16 13:13:21 +0200 (Sa, 16 Mai 2009) | 1 line
#6034 : clarify __reversed__ doc.
........
r72676 | georg.brandl | 2009-05-16 13:14:46 +0200 (Sa, 16 Mai 2009) | 1 line
#6025 : fix signature of parse().
........
r72677 | georg.brandl | 2009-05-16 13:18:55 +0200 (Sa, 16 Mai 2009) | 1 line
#6009 : undocument default argument of Option as deprecated.
........
r72679 | georg.brandl | 2009-05-16 13:24:41 +0200 (Sa, 16 Mai 2009) | 1 line
Fix about and bugs pages to match real workflow.
........
r72712 | georg.brandl | 2009-05-17 10:55:00 +0200 (So, 17 Mai 2009) | 1 line
#5935 : mention that BROWSER is looked for in PATH.
........
r72801 | georg.brandl | 2009-05-20 20:31:14 +0200 (Mi, 20 Mai 2009) | 1 line
#6055 : refer to "sqlite3" consistently.
........
r72820 | georg.brandl | 2009-05-22 09:23:32 +0200 (Fr, 22 Mai 2009) | 1 line
Use raise X(y).
........
2009-05-25 21:13:36 +00:00
Benjamin Peterson
14a3dd716d
Merged revisions 72905 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72905 | benjamin.peterson | 2009-05-24 19:48:58 -0500 (Sun, 24 May 2009) | 4 lines
make class skipping decorators the same as skipping every test of the class
This removes ClassTestSuite and a good bit of hacks.
........
2009-05-25 00:51:58 +00:00
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