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
Georg Brandl
ff2ad0e1a6
Merged revisions 71814-71817,71901-71903 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71814 | georg.brandl | 2009-04-23 10:44:57 +0200 (Do, 23 Apr 2009) | 1 line
#5820 : fix bug in usage of getreader().
........
r71815 | georg.brandl | 2009-04-23 10:49:39 +0200 (Do, 23 Apr 2009) | 1 line
Fix rewrapping accident.
........
r71816 | georg.brandl | 2009-04-23 10:49:56 +0200 (Do, 23 Apr 2009) | 1 line
#5813 : add a reference to the "future statements" section.
........
r71817 | georg.brandl | 2009-04-23 10:52:03 +0200 (Do, 23 Apr 2009) | 1 line
Add link to PEP 236.
........
r71901 | georg.brandl | 2009-04-25 16:50:25 +0200 (Sa, 25 Apr 2009) | 1 line
#3320 : fix spelling.
........
r71902 | georg.brandl | 2009-04-25 16:51:31 +0200 (Sa, 25 Apr 2009) | 1 line
#5834 : use "failure" instead of "error" because the two have different meanings in unittest context.
........
r71903 | georg.brandl | 2009-04-25 17:05:04 +0200 (Sa, 25 Apr 2009) | 1 line
#5821 : add some capabilities of TarFile's file-like object.
........
2009-04-27 16:51:45 +00:00
Georg Brandl
0192bffe90
Merged revisions 71607,71653,71696,71771,71786 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71607 | benjamin.peterson | 2009-04-14 23:23:09 +0200 (Di, 14 Apr 2009) | 1 line
tupel -> tuple
........
r71653 | raymond.hettinger | 2009-04-16 20:16:10 +0200 (Do, 16 Apr 2009) | 1 line
Clarify the behavior of any() and all() with an empty iterable.
........
r71696 | georg.brandl | 2009-04-18 10:26:21 +0200 (Sa, 18 Apr 2009) | 1 line
"not subscriptable" should be a bit more understandable than "unsubscriptable".
........
r71771 | raymond.hettinger | 2009-04-20 20:23:57 +0200 (Mo, 20 Apr 2009) | 1 line
Fix typo
........
r71786 | georg.brandl | 2009-04-21 20:23:08 +0200 (Di, 21 Apr 2009) | 1 line
#5757 : fix copy-paste error in notify().
........
2009-04-27 16:49:41 +00:00
Georg Brandl
3638e487b9
Merged revisions 71572 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71572 | georg.brandl | 2009-04-13 15:13:25 +0200 (Mo, 13 Apr 2009) | 1 line
#5745 : more linking for identifiers in email docs.
........
2009-04-27 16:46:17 +00:00
Georg Brandl
540b45c475
Merged revisions 71544,71546,71554-71555 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71544 | benjamin.peterson | 2009-04-13 01:19:56 +0200 (Mo, 13 Apr 2009) | 1 line
fix extra parenthesis #5774
........
r71546 | benjamin.peterson | 2009-04-13 01:44:15 +0200 (Mo, 13 Apr 2009) | 1 line
fix missing quote
........
r71554 | hirokazu.yamamoto | 2009-04-13 03:07:06 +0200 (Mo, 13 Apr 2009) | 1 line
Fixed typo. (email.Utils => email.utils)
........
r71555 | hirokazu.yamamoto | 2009-04-13 03:21:56 +0200 (Mo, 13 Apr 2009) | 1 line
Fixed another typos. (email.Utils => email.utils)
........
2009-04-27 16:45:26 +00:00
Georg Brandl
747f0518e8
Remove merging accident.
2009-04-27 16:34:37 +00:00
Georg Brandl
0142d4a3df
Merged revisions 72007 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72007 | georg.brandl | 2009-04-27 17:09:25 +0200 (Mo, 27 Apr 2009) | 1 line
#5856 : fix typo s in traceback example.
........
2009-04-27 16:22:44 +00:00
Georg Brandl
e720c0aa74
Merged revisions 72009 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72009 | georg.brandl | 2009-04-27 17:29:09 +0200 (Mo, 27 Apr 2009) | 3 lines
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 16:20:50 +00:00
Jeroen Ruigrok van der Werven
b70ccc348b
After discussing some more with Georg, do no migrate versionchanged:: 2.5 to
...
this branch. While I am here, also get rid of other versionchanged:: 2.x
constructs, as discussed.
2009-04-27 08:07:12 +00:00
Georg Brandl
7b6ca4ab7f
#5061 : improve open() docs a bit.
2009-04-27 06:13:55 +00:00
Hirokazu Yamamoto
ae9eb5c4d0
Fixed documentation build warning.
2009-04-26 03:34:06 +00:00
Raymond Hettinger
d258d1e7e8
Update decimal docs for the new floating point repr().
2009-04-23 22:06:12 +00:00
Mark Dickinson
cf63f2fb88
Issue #5812 : Make Fraction('1e6') valid. The Fraction constructor now
...
accepts all strings accepted by the float and Decimal constructors,
with the exception of strings representing NaNs or infinities.
2009-04-22 17:50:21 +00:00
Nick Coghlan
4738470402
Merged revisions 71799 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71799 | nick.coghlan | 2009-04-23 01:26:04 +1000 (Thu, 23 Apr 2009) | 1 line
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 16:13:36 +00:00
Eric Smith
c4cae32683
Merged revisions 71788 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71788 | eric.smith | 2009-04-21 20:47:00 -0400 (Tue, 21 Apr 2009) | 1 line
Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy.
........
2009-04-22 00:53:01 +00:00