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
Mark Dickinson
f489caf5da
Issue #5859 : Remove use of fixed-length buffers for float formatting
...
in unicodeobject.c and the fallback version of PyOS_double_to_string.
As a result, operations like '%.120e' % 12.34 no longer raise an
exception.
2009-05-01 11:42:00 +00:00
Georg Brandl
fb526ac34a
Merged revisions 72159 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72159 | georg.brandl | 2009-05-01 10:51:37 +0200 (Fr, 01 Mai 2009) | 2 lines
#5889 : remove comma at the end of a list that some C compilers don't like.
........
2009-05-01 08:59:13 +00:00
Senthil Kumaran
4947606ecc
Fix for Issue1648102, based on the MSDN spec: If this parameter specifies the
...
"<local>" macro as the only entry, this function bypasses any host name that
does not contain a period.
2009-05-01 06:00:23 +00:00
Matthias Klose
55708cce31
- Issue #4587 : Add configure option --with-dbmliborder=db1:db2:... to specify
...
the order that backends for the dbm extension are checked.
2009-04-30 08:06:49 +00:00
Eric Smith
58a42244cf
Issue #1588 : Add complex.__format__.
2009-04-30 01:00:33 +00:00
Eric Smith
738a41dd85
Blocked revisions 72137 via svnmerge
...
........
r72137 | eric.smith | 2009-04-29 20:58:58 -0400 (Wed, 29 Apr 2009) | 1 line
Issue #1588 : Add complex.__format__.
........
2009-04-30 00:59:58 +00:00
Benjamin Peterson
cc65c1d9c8
Merged revisions 72135 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72135 | benjamin.peterson | 2009-04-29 19:23:11 -0500 (Wed, 29 Apr 2009) | 1 line
prevent ref cycles by removing bound method on close()
........
2009-04-30 00:30:08 +00:00
Benjamin Peterson
6a52a9cfcb
fix test__all__
2009-04-29 22:00:44 +00:00
Mark Dickinson
a01a66e0c1
Blocked revisions 72126-72127 via svnmerge
...
........
r72126 | mark.dickinson | 2009-04-29 22:56:53 +0100 (Wed, 29 Apr 2009) | 2 lines
Remove format_float and use _PyOS_double_to_string instead.
........
r72127 | mark.dickinson | 2009-04-29 22:57:15 +0100 (Wed, 29 Apr 2009) | 2 lines
Backport some of the float formatting tests from py3k.
........
2009-04-29 21:58:53 +00:00
Benjamin Peterson
e12ef0421a
add UnsupportedOperation to __all__
2009-04-29 21:53:47 +00:00
R. David Murray
e08a66a371
Document the fact that 'compname' and 'comptype' are bytes.
2009-04-29 21:50:39 +00:00
Mark Dickinson
a3b0d20a79
Blocked revisions 72119 via svnmerge
...
........
r72119 | mark.dickinson | 2009-04-29 21:41:00 +0100 (Wed, 29 Apr 2009) | 3 lines
Issue #5864 : format(1234.5, '.4') gives misleading result
(Backport of r72109 from py3k.)
........
2009-04-29 20:43:11 +00:00
R. David Murray
eb01a6cdb3
Merged revisions 72115 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72115 | r.david.murray | 2009-04-29 16:15:18 -0400 (Wed, 29 Apr 2009) | 2 lines
More aifc tests.
........
2009-04-29 20:40:42 +00:00
Mark Dickinson
d3ca557150
Issue #5864 : Fix problem with empty code formatting for floats,
...
where a bogus trailing zero could be added.
2009-04-29 18:47:07 +00:00
R. David Murray
b507d2e07d
Merged revisions 72100-72101 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72100 | r.david.murray | 2009-04-29 09:17:37 -0400 (Wed, 29 Apr 2009) | 7 lines
Fix issue 2245. aifc now skips any chunk type it doesn't actually
process instead of throwing errors for anything not in an explicit
skip list. This is per this spec: http://www.cnpbagwell.com/aiff-c.txt .
Spec reference and test sound file provided by Santiago Peresón, fix
based on patch by Hiroaki Kawai.
........
r72101 | r.david.murray | 2009-04-29 09:51:44 -0400 (Wed, 29 Apr 2009) | 2 lines
Now that we've got a test_aifc, add a few tests.
........
2009-04-29 15:34:32 +00:00
Raymond Hettinger
aa17a7fc98
Remove dependency on the collections module.
2009-04-29 14:21:25 +00:00
Eric Smith
df9d4d6c7f
Added test that didn't make it in an svnmerge.
2009-04-29 12:34:19 +00:00
Tarek Ziadé
8162382c48
Merged revisions 72094 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72094 | tarek.ziade | 2009-04-29 10:03:46 +0200 (Wed, 29 Apr 2009) | 1 line
Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore
........
2009-04-29 08:07:44 +00:00
Georg Brandl
476b355d63
Die, buffer(), die.
2009-04-29 06:37:12 +00:00
Raymond Hettinger
1f0db40cd7
Issue #5857 : tokenize.tokenize() now returns named tuples.
2009-04-29 00:38:08 +00:00
Raymond Hettinger
a48db39992
Issue #5857 : tokenize.tokenize() now returns named tuples.
2009-04-29 00:34:27 +00:00
Thomas Heller
c1edc2d632
Merged revisions 72081 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72081 | thomas.heller | 2009-04-28 21:23:41 +0200 (Di, 28 Apr 2009) | 3 lines
Issue #4305 : ctypes fails to build on mipsel-linux-gnu (detects mips
instead of mipsel)
........
2009-04-28 19:55:58 +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
Eric Smith
841ee0e6a5
Blocked revisions 72056 via svnmerge
...
........
r72056 | eric.smith | 2009-04-28 03:33:09 -0400 (Tue, 28 Apr 2009) | 1 line
Silence warning on Windows.
........
2009-04-28 07:37:06 +00:00
Antoine Pitrou
7a0fedfd1d
Merged revisions 72054 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72054 | antoine.pitrou | 2009-04-27 23:53:26 +0200 (lun., 27 avril 2009) | 5 lines
Issue #1734234 : Massively speedup `unicodedata.normalize()` when the
string is already in normalized form, by performing a quick check beforehand.
Original patch by Rauli Ruohonen.
........
2009-04-27 22:31:40 +00:00
Antoine Pitrou
57f3d93552
Merged revisions 72045 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72045 | antoine.pitrou | 2009-04-27 22:50:20 +0200 (lun., 27 avril 2009) | 5 lines
Issue #5853 : calling a function of the mimetypes module from several threads
at once could hit the recursion limit if the mimetypes database hadn't been
initialized before.
........
2009-04-27 21:04:19 +00:00
Raymond Hettinger
58c8c262f8
Add another example to the seealso section.
2009-04-27 21:01:21 +00:00
Eric Smith
8374981fb4
Include files missed in r72044.
2009-04-27 20:54:42 +00:00
Eric Smith
6dc46f5eaa
Merged revisions 72040 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72040 | eric.smith | 2009-04-27 15:04:37 -0400 (Mon, 27 Apr 2009) | 1 line
Issue #5793 : rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors.
........
2009-04-27 20:39:49 +00:00
Mark Dickinson
249b898ec7
Typo fix. Thanks Damien Diederen.
2009-04-27 19:41:00 +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
7b2669b8de
Merged revisions 71995 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71995 | kurt.kaiser | 2009-04-27 01:22:11 +0200 (Mo, 27 Apr 2009) | 2 lines
Right click 'go to file/line' not working if spaces
in path. Bug 5559.
........
2009-04-27 16:58:05 +00:00
Georg Brandl
57e1b503ca
Merged revisions 71955,71962 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71955 | georg.brandl | 2009-04-26 08:01:04 +0200 (So, 26 Apr 2009) | 1 line
Mostly formatting nits, and "and-ed together" -> "or-ed together" flags.
........
r71962 | eric.smith | 2009-04-26 12:05:11 +0200 (So, 26 Apr 2009) | 1 line
Note that the caller is resposible for freeing the result of PyOS_double_to_string.
........
2009-04-27 16:54:22 +00:00
Georg Brandl
5bc80308d7
Blocked revisions 71893,71904 via svnmerge
...
........
r71893 | jeroen.ruigrok | 2009-04-25 15:58:58 +0200 (Sa, 25 Apr 2009) | 2 lines
Reformat file prior to editing.
........
r71904 | georg.brandl | 2009-04-25 17:11:29 +0200 (Sa, 25 Apr 2009) | 1 line
#5841 : add deprecation py3k warning and notice in the docs for commands module.
........
2009-04-27 16:52:18 +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
3afd46007c
Merged revisions 71740 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71740 | benjamin.peterson | 2009-04-19 05:02:54 +0200 (So, 19 Apr 2009) | 1 line
fix typo
........
2009-04-27 16:50:10 +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
505a0798e6
Blocked revisions 71787 via svnmerge
...
........
r71787 | georg.brandl | 2009-04-21 20:24:34 +0200 (Di, 21 Apr 2009) | 1 line
#5751 : fix escaping of \\n.
........
2009-04-27 16:48:18 +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
68998bf3ff
Merged revisions 71564 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71564 | georg.brandl | 2009-04-13 14:36:24 +0200 (Mo, 13 Apr 2009) | 1 line
#5741 followup: should also allow %%(blah)s.
........
2009-04-27 16:43:36 +00:00
Georg Brandl
1f9fa31cb5
Merged revisions 71537 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71537 | georg.brandl | 2009-04-12 19:24:11 +0200 (So, 12 Apr 2009) | 1 line
#5741 : dont disallow double percent signs in SafeConfigParser.set() keys.
........
2009-04-27 16:42:58 +00:00
Georg Brandl
f3532df236
Merged revisions 71540,71563 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71540 | georg.brandl | 2009-04-12 22:30:53 +0200 (So, 12 Apr 2009) | 1 line
#5719 : add short usage example to optparse docstring.
........
r71563 | georg.brandl | 2009-04-13 14:36:18 +0200 (Mo, 13 Apr 2009) | 1 line
Simplify markup.
........
2009-04-27 16:41:41 +00:00
Georg Brandl
3db16bb430
Blocked revisions 71507 via svnmerge
...
........
r71507 | georg.brandl | 2009-04-12 14:08:12 +0200 (So, 12 Apr 2009) | 1 line
#5704 : let python -3 imply -t as well.
........
2009-04-27 16:38:34 +00:00
Georg Brandl
9078afe317
Merged revisions 71503 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71503 | eric.smith | 2009-04-12 04:57:29 +0200 (So, 12 Apr 2009) | 1 line
Take credit for my patch for issue 5237.
........
2009-04-27 16:38:14 +00:00
Georg Brandl
bbc4ef077a
Recorded merge of revisions 71957,71959,71961 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71957 | georg.brandl | 2009-04-26 08:05:58 +0200 (So, 26 Apr 2009) | 2 lines
Note that the versions are also in README.txt.
........
r71959 | georg.brandl | 2009-04-26 08:06:53 +0200 (So, 26 Apr 2009) | 2 lines
Another file where the versions need to be up to date.
........
r71961 | georg.brandl | 2009-04-26 11:57:29 +0200 (So, 26 Apr 2009) | 2 lines
Update pydoc topics.
........
2009-04-27 16:36:03 +00:00
Georg Brandl
c9b6089ffd
Update pydoc topics for py3k.
2009-04-27 16:34:57 +00:00
Georg Brandl
747f0518e8
Remove merging accident.
2009-04-27 16:34:37 +00:00