]>
granicus.if.org Git - python/log
Eric Smith [Mon, 27 Apr 2009 20:54:42 +0000 (20:54 +0000)]
Include files missed in r72044.
Eric Smith [Mon, 27 Apr 2009 20:39:49 +0000 (20:39 +0000)]
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.
........
Mark Dickinson [Mon, 27 Apr 2009 19:41:00 +0000 (19:41 +0000)]
Typo fix. Thanks Damien Diederen.
R. David Murray [Mon, 27 Apr 2009 18:38:19 +0000 (18:38 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:58:05 +0000 (16:58 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:54:22 +0000 (16:54 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:52:18 +0000 (16:52 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:51:45 +0000 (16:51 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:50:10 +0000 (16:50 +0000)]
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
........
Georg Brandl [Mon, 27 Apr 2009 16:49:41 +0000 (16:49 +0000)]
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().
........
Georg Brandl [Mon, 27 Apr 2009 16:48:18 +0000 (16:48 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:46:17 +0000 (16:46 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:45:26 +0000 (16:45 +0000)]
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)
........
Georg Brandl [Mon, 27 Apr 2009 16:43:36 +0000 (16:43 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:42:58 +0000 (16:42 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:41:41 +0000 (16:41 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:38:34 +0000 (16:38 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:38:14 +0000 (16:38 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:36:03 +0000 (16:36 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:34:57 +0000 (16:34 +0000)]
Update pydoc topics for py3k.
Georg Brandl [Mon, 27 Apr 2009 16:34:37 +0000 (16:34 +0000)]
Remove merging accident.
Georg Brandl [Mon, 27 Apr 2009 16:32:11 +0000 (16:32 +0000)]
Merged revisions 71958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71958 | georg.brandl | 2009-04-26 08:06:19 +0200 (So, 26 Apr 2009) | 1 line
Remove outdated TODO file.
........
Georg Brandl [Mon, 27 Apr 2009 16:29:51 +0000 (16:29 +0000)]
Merged revisions 71956 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71956 | georg.brandl | 2009-04-26 08:05:18 +0200 (So, 26 Apr 2009) | 1 line
Update versions in instructions for manual set-up.
........
Georg Brandl [Mon, 27 Apr 2009 16:28:57 +0000 (16:28 +0000)]
Merged revisions 71960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71960 | georg.brandl | 2009-04-26 11:56:44 +0200 (So, 26 Apr 2009) | 1 line
Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/.
........
Georg Brandl [Mon, 27 Apr 2009 16:24:36 +0000 (16:24 +0000)]
Recorded merge of revisions 72004 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72004 | vinay.sajip | 2009-04-27 15:44:27 +0200 (Mo, 27 Apr 2009) | 1 line
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
........
Georg Brandl [Mon, 27 Apr 2009 16:23:47 +0000 (16:23 +0000)]
Merged revisions 72008 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72008 | georg.brandl | 2009-04-27 17:10:44 +0200 (Mo, 27 Apr 2009) | 1 line
Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items.
........
Georg Brandl [Mon, 27 Apr 2009 16:22:44 +0000 (16:22 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 16:20:50 +0000 (16:20 +0000)]
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.
........
Georg Brandl [Mon, 27 Apr 2009 15:35:21 +0000 (15:35 +0000)]
Blocked revisions 72010 via svnmerge
........
r72010 | georg.brandl | 2009-04-27 17:29:26 +0200 (Mo, 27 Apr 2009) | 2 lines
Demote warnings to notices, part 2: stuff that is 2.x-only.
........
Vinay Sajip [Mon, 27 Apr 2009 13:55:05 +0000 (13:55 +0000)]
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
Jeroen Ruigrok van der Werven [Mon, 27 Apr 2009 12:43:21 +0000 (12:43 +0000)]
For some reason the property did not get committed properly even though
the diffs said it did.
Georg Brandl [Mon, 27 Apr 2009 08:58:15 +0000 (08:58 +0000)]
Reintroduce versionchanged tags, but with correct version.
Jeroen Ruigrok van der Werven [Mon, 27 Apr 2009 08:07:12 +0000 (08:07 +0000)]
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.
Georg Brandl [Mon, 27 Apr 2009 06:13:55 +0000 (06:13 +0000)]
#5061: improve open() docs a bit.
Jeroen Ruigrok van der Werven [Mon, 27 Apr 2009 05:43:17 +0000 (05:43 +0000)]
Merged revisions 71920-71923,71925-71929,71931-71934,71937 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71920 | jeroen.ruigrok | 2009-04-25 21:44:55 +0200 (za, 25 apr 2009) | 5 lines
Issue #4129: More documentation pointers about int -> Py_ssize_t.
Also fix up the documentation for PyObject_GC_Resize(). It seems that since
it first got documented, the documentation was actually for
_PyObject_GC_Resize().
........
r71921 | jeroen.ruigrok | 2009-04-25 21:46:19 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: Documentation notes for int -> Py_ssize_t changes.
........
r71922 | jeroen.ruigrok | 2009-04-25 21:49:05 +0200 (za, 25 apr 2009) | 2 lines
Reformat, since I've been busy here anyway.
........
r71923 | jeroen.ruigrok | 2009-04-25 21:54:34 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: Add a versionchanged notice for a few forgotten entries.
........
r71925 | jeroen.ruigrok | 2009-04-25 22:37:39 +0200 (za, 25 apr 2009) | 2 lines
Since it's a macro, actually refer to it as such instead of function.
........
r71926 | jeroen.ruigrok | 2009-04-25 22:40:10 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71927 | jeroen.ruigrok | 2009-04-25 22:41:40 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: int -> Py_ssize_t documentation.
........
r71928 | jeroen.ruigrok | 2009-04-25 22:43:30 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71929 | jeroen.ruigrok | 2009-04-25 22:44:58 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: int -> Py_ssize_t documentation.
........
r71931 | jeroen.ruigrok | 2009-04-25 22:50:27 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: int -> Py_ssize_t documentation.
........
r71932 | jeroen.ruigrok | 2009-04-25 22:55:39 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: more int -> Py_ssize_t documentation.
........
r71933 | jeroen.ruigrok | 2009-04-25 22:58:35 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: more int -> Py_ssize_t documentation.
........
r71934 | jeroen.ruigrok | 2009-04-25 23:02:34 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: field changed from int to Py_ssize_t.
........
r71937 | jeroen.ruigrok | 2009-04-25 23:16:05 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: document int -> Py_ssize_t changes.
........
Kurt B. Kaiser [Mon, 27 Apr 2009 05:36:55 +0000 (05:36 +0000)]
Use of 'filter' in keybindingDialog.py was causing
custom key assignment to fail.
Patch 5707 amaury.forgeotdarc.
Hirokazu Yamamoto [Mon, 27 Apr 2009 01:44:28 +0000 (01:44 +0000)]
test_support was renamed to support on py3k.
Raymond Hettinger [Sun, 26 Apr 2009 22:01:46 +0000 (22:01 +0000)]
Add link to math.fsum().
Walter Dörwald [Sun, 26 Apr 2009 21:39:21 +0000 (21:39 +0000)]
Merged revisions 71984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71984 | walter.doerwald | 2009-04-26 22:51:44 +0200 (So, 26 Apr 2009) | 2 lines
Use test.test_support.EnvironmentVarGuard where tests change environment vars.
........
Raymond Hettinger [Sun, 26 Apr 2009 21:37:46 +0000 (21:37 +0000)]
Improve the rounding and summing examples.
Eric Smith [Sun, 26 Apr 2009 21:35:14 +0000 (21:35 +0000)]
Issue #5835: Deprecate PyOS_ascii_formatd.
Eric Smith [Sun, 26 Apr 2009 21:26:45 +0000 (21:26 +0000)]
Fixed 2.x-ism.
Jeroen Ruigrok van der Werven [Sun, 26 Apr 2009 21:06:15 +0000 (21:06 +0000)]
Merged revisions 71898-71900,71910,71914-71919 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71898 | jeroen.ruigrok | 2009-04-25 16:24:30 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71899 | jeroen.ruigrok | 2009-04-25 16:27:00 +0200 (za, 25 apr 2009) | 3 lines
The type for ppos has been Py_ssize_t since 2.5, reflect this in the
documentation.
........
r71900 | jeroen.ruigrok | 2009-04-25 16:28:02 +0200 (za, 25 apr 2009) | 2 lines
Reformat paragraph.
........
r71910 | jeroen.ruigrok | 2009-04-25 19:59:03 +0200 (za, 25 apr 2009) | 4 lines
Issue #4129: Belatedly document which C API functions had their argument(s) or
return type changed from int or int * to Py_ssize_t or Py_ssize_t * as this
might cause problems on 64-bit platforms.
........
r71914 | jeroen.ruigrok | 2009-04-25 20:31:20 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71915 | jeroen.ruigrok | 2009-04-25 20:46:03 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129: Document more int -> Py_ssize_t changes.
........
r71916 | jeroen.ruigrok | 2009-04-25 20:53:48 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71917 | jeroen.ruigrok | 2009-04-25 20:57:32 +0200 (za, 25 apr 2009) | 2 lines
Reference to an int type, whereas it's a Py_ssize_t as the synopsis states.
........
r71918 | jeroen.ruigrok | 2009-04-25 21:04:15 +0200 (za, 25 apr 2009) | 2 lines
Since I edited this file, reformat for future edits.
........
r71919 | jeroen.ruigrok | 2009-04-25 21:10:52 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
Jeroen Ruigrok van der Werven [Sun, 26 Apr 2009 20:25:45 +0000 (20:25 +0000)]
Merged revisions 71874,71882,71890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71874 | jeroen.ruigrok | 2009-04-25 13:59:09 +0200 (za, 25 apr 2009) | 2 lines
First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.
........
r71882 | jeroen.ruigrok | 2009-04-25 14:49:10 +0200 (za, 25 apr 2009) | 3 lines
Issue #4239: adjust email examples not to use connect() and terminate with
quit() and not close().
........
r71890 | jeroen.ruigrok | 2009-04-25 15:07:40 +0200 (za, 25 apr 2009) | 3 lines
Rewrite a sentence to be more in line with the rest of the documentation with
regard to person and audience.
........
Jeroen Ruigrok van der Werven [Sun, 26 Apr 2009 20:21:12 +0000 (20:21 +0000)]
Merged revisions 71873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71873 | jeroen.ruigrok | 2009-04-25 13:15:06 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to expanding.
........
Raymond Hettinger [Sun, 26 Apr 2009 20:10:50 +0000 (20:10 +0000)]
Remove the round() discussion which is now out-of-date.
Mark Dickinson [Sun, 26 Apr 2009 20:02:24 +0000 (20:02 +0000)]
Merged revisions 71976 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71976 | mark.dickinson | 2009-04-26 20:54:55 +0100 (Sun, 26 Apr 2009) | 2 lines
Fix typo in function name
........
Walter Dörwald [Sun, 26 Apr 2009 19:16:11 +0000 (19:16 +0000)]
Merged revisions 71972 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71972 | walter.doerwald | 2009-04-26 21:11:43 +0200 (So, 26 Apr 2009) | 2 lines
Fix typo.
........
Mark Dickinson [Sun, 26 Apr 2009 16:05:51 +0000 (16:05 +0000)]
Blocked revisions 71969 via svnmerge
........
r71969 | mark.dickinson | 2009-04-26 17:04:05 +0100 (Sun, 26 Apr 2009) | 3 lines
Backport r71967 changes from py3k to trunk.
(Internal plumbing changes for float parsing.)
........
Mark Dickinson [Sun, 26 Apr 2009 15:30:47 +0000 (15:30 +0000)]
Internal plumbing changes for float parsing:
- check for nans and infs within PyOS_ascii_strtod
- simplify parsing in PyFloat_FromString, and handle out-of-memory
errors properly
Mark Dickinson [Sun, 26 Apr 2009 14:11:18 +0000 (14:11 +0000)]
Merged revisions 71963 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71963 | mark.dickinson | 2009-04-26 15:00:08 +0100 (Sun, 26 Apr 2009) | 2 lines
Reset errno before both calls to PyOS_ascii_strtod, not just one.
........
Hirokazu Yamamoto [Sun, 26 Apr 2009 03:34:06 +0000 (03:34 +0000)]
Fixed documentation build warning.
Kurt B. Kaiser [Sun, 26 Apr 2009 01:33:55 +0000 (01:33 +0000)]
Merged revisions 71812 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71812 | kurt.kaiser | 2009-04-22 22:36:01 -0400 (Wed, 22 Apr 2009) | 2 lines
Produce correct version string to access the .chm
docs on Windows. Patch 5783 gpolo. Will port.
........
Martin v. Löwis [Sun, 26 Apr 2009 01:02:07 +0000 (01:02 +0000)]
Merged revisions 71947 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71947 | martin.v.loewis | 2009-04-26 02:53:18 +0200 (So, 26 Apr 2009) | 3 lines
Issue #4971: Fix titlecase for characters that are their own
titlecase, but not their own uppercase.
........
Kurt B. Kaiser [Sat, 25 Apr 2009 22:34:54 +0000 (22:34 +0000)]
Remove item from NEWS.txt; not checked in yet...
Eric Smith [Sat, 25 Apr 2009 21:42:04 +0000 (21:42 +0000)]
Blocked revisions 71938 via svnmerge
........
r71938 | eric.smith | 2009-04-25 17:40:15 -0400 (Sat, 25 Apr 2009) | 5 lines
Issue #5835, deprecate PyOS_ascii_formatd.
If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great.
Will port to py3k with a different strategy.
........
Benjamin Peterson [Sat, 25 Apr 2009 21:11:45 +0000 (21:11 +0000)]
install idle and pydoc with a 3 suffix #5756
Benjamin Peterson [Sat, 25 Apr 2009 21:04:19 +0000 (21:04 +0000)]
fix some issues with install and altinstall #5818
1. fullinstall should install 'python'
2. remove link targets if already exist
3. make python3-config
4. install the man in altinstall
5. $(EXE) consistency
Patch by Larry Hastings
Michael Foord [Sat, 25 Apr 2009 20:47:43 +0000 (20:47 +0000)]
Doc fix, closing issue 5826
Kurt B. Kaiser [Sat, 25 Apr 2009 20:14:29 +0000 (20:14 +0000)]
Fix up IDLE's NEWS.txt. Include missed changes, keep 2.7 changes in separate
section to make merging easier. Update release dates.
Mark Dickinson [Sat, 25 Apr 2009 18:22:27 +0000 (18:22 +0000)]
Don't try to use x87 assembly on OS X universal builds.
Thomas Heller [Sat, 25 Apr 2009 16:49:23 +0000 (16:49 +0000)]
Merged revisions 71906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71906 | thomas.heller | 2009-04-25 18:37:18 +0200 (Sa, 25 Apr 2009) | 1 line
Issue #5078: Avoid redundant call to FormatError()
........
Walter Dörwald [Sat, 25 Apr 2009 14:13:56 +0000 (14:13 +0000)]
Merged revisions 71894 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71894 | walter.doerwald | 2009-04-25 16:03:16 +0200 (Sa, 25 Apr 2009) | 4 lines
Issue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic in
makeunicodedata.py and regenerated the Unicode database (This fixes
u'\u1d79'.lower() == '\x00').
........
Tarek Ziadé [Sat, 25 Apr 2009 12:53:56 +0000 (12:53 +0000)]
Merged revisions 71884 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71884 | tarek.ziade | 2009-04-25 14:51:59 +0200 (Sat, 25 Apr 2009) | 1 line
#5810: Fixed Distutils test_build_scripts
........
Walter Dörwald [Sat, 25 Apr 2009 12:48:43 +0000 (12:48 +0000)]
Merged revisions 71875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71875 | walter.doerwald | 2009-04-25 14:15:07 +0200 (Sa, 25 Apr 2009) | 7 lines
Issue #5837: Certain sequences of calls to set() and unset() for
support.EnvironmentVarGuard objects restored the environment variables
incorrectly on __exit__.
Fix this by recording the initial value of each environment variable on the
first access in set() or unset().
........
Tarek Ziadé [Sat, 25 Apr 2009 12:39:56 +0000 (12:39 +0000)]
Merged revisions 71878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71878 | tarek.ziade | 2009-04-25 14:38:08 +0200 (Sat, 25 Apr 2009) | 1 line
Issue #4951: Fixed failure in test_httpservers
........
Mark Dickinson [Sat, 25 Apr 2009 10:11:40 +0000 (10:11 +0000)]
Merged revisions 71869 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71869 | mark.dickinson | 2009-04-25 10:47:00 +0100 (Sat, 25 Apr 2009) | 2 lines
Fix typo in complex parsing code; expand tests.
........
Benjamin Peterson [Sat, 25 Apr 2009 01:08:45 +0000 (01:08 +0000)]
Merged revisions 71860 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71860 | benjamin.peterson | 2009-04-24 19:41:22 -0500 (Fri, 24 Apr 2009) | 1 line
fix a segfault when setting __class__ in __del__ #5283
........
Benjamin Peterson [Fri, 24 Apr 2009 23:26:21 +0000 (23:26 +0000)]
these tests must call gc_collect() for non-refcounting gcs
Benjamin Peterson [Fri, 24 Apr 2009 23:14:50 +0000 (23:14 +0000)]
make sure to close files
Benjamin Peterson [Fri, 24 Apr 2009 22:59:52 +0000 (22:59 +0000)]
readline() args must be an int #3521
Thomas Heller [Fri, 24 Apr 2009 20:50:00 +0000 (20:50 +0000)]
Merged revisions 71853 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71853 | thomas.heller | 2009-04-24 22:31:47 +0200 (Fr, 24 Apr 2009) | 3 lines
Issue #3102: All global symbols that the _ctypes extension defines are
now prefixed with 'Py' or '_ctypes'.
........
Thomas Heller [Fri, 24 Apr 2009 20:10:24 +0000 (20:10 +0000)]
Fix merge accident.
Thomas Heller [Fri, 24 Apr 2009 20:05:20 +0000 (20:05 +0000)]
Merged revisions 71847 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71847 | thomas.heller | 2009-04-24 22:00:41 +0200 (Fr, 24 Apr 2009) | 2 lines
Issue 5041: ctypes unwilling to allow pickling wide character.
........
Georg Brandl [Fri, 24 Apr 2009 19:06:29 +0000 (19:06 +0000)]
Remove leftover word.
Raymond Hettinger [Fri, 24 Apr 2009 18:43:43 +0000 (18:43 +0000)]
Issue 5830: Events are now comparable when the time and type are the same.
Thomas Heller [Fri, 24 Apr 2009 18:27:10 +0000 (18:27 +0000)]
Merged revisions 71842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71842 | thomas.heller | 2009-04-24 20:10:46 +0200 (Fr, 24 Apr 2009) | 3 lines
Issue #5161: wrong paths for ctypes cleanup when Python is built in a
directory other than the source directory.
........
Mark Dickinson [Fri, 24 Apr 2009 16:39:07 +0000 (16:39 +0000)]
Merged revisions 71837-71838 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71837 | mark.dickinson | 2009-04-24 17:34:14 +0100 (Fri, 24 Apr 2009) | 4 lines
Issue #5593: Use more robust test for double-rounding in test_fsum.
While we're at it, use new unittest.skipUnless decorator to
implement skipping for that test.
........
r71838 | mark.dickinson | 2009-04-24 17:37:22 +0100 (Fri, 24 Apr 2009) | 2 lines
Remove unnecessary double negative
........
Mark Dickinson [Fri, 24 Apr 2009 14:06:19 +0000 (14:06 +0000)]
Merged revisions 71832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71832 | mark.dickinson | 2009-04-24 14:56:07 +0100 (Fri, 24 Apr 2009) | 3 lines
Issue #5812: The two-argument form of the Fraction constructor
now accepts arbitrary Rational instances.
........
Mark Dickinson [Fri, 24 Apr 2009 13:26:14 +0000 (13:26 +0000)]
Blocked revisions 71827 via svnmerge
........
r71827 | mark.dickinson | 2009-04-24 14:14:07 +0100 (Fri, 24 Apr 2009) | 2 lines
Fix missing 'return NULL'
........
Mark Dickinson [Fri, 24 Apr 2009 13:25:20 +0000 (13:25 +0000)]
Make sure that complex parsing code and corresponding tests
match for 2.7 and 3.1, and that 3.1 continues to
accept complex('j') and complex('4-j')
Mark Dickinson [Fri, 24 Apr 2009 12:53:02 +0000 (12:53 +0000)]
Blocked revisions 71824 via svnmerge
........
r71824 | mark.dickinson | 2009-04-24 13:46:53 +0100 (Fri, 24 Apr 2009) | 7 lines
Issue #5816:
- simplify parsing and printing of complex numbers
- make complex(repr(z)) round-tripping work for complex
numbers involving nans, infs, or negative zeros
- don't accept some of the stranger complex strings
that were previously allowed---e.g., complex('1..1j')
........
Raymond Hettinger [Fri, 24 Apr 2009 03:09:06 +0000 (03:09 +0000)]
Update for the new float.__repr__()
Raymond Hettinger [Thu, 23 Apr 2009 22:06:12 +0000 (22:06 +0000)]
Update decimal docs for the new floating point repr().
Mark Dickinson [Thu, 23 Apr 2009 19:15:48 +0000 (19:15 +0000)]
Fix int/long confusion in Misc/NEWS entry.
Mark Dickinson [Thu, 23 Apr 2009 19:14:16 +0000 (19:14 +0000)]
Issue #5816: Simplify code for parsing and printing of complex numbers.
nans and infs are no longer given special treatment; as a result,
repr(complex(z)) recovers z for any complex number z.
Mark Dickinson [Wed, 22 Apr 2009 18:17:29 +0000 (18:17 +0000)]
Blocked revisions 71808 via svnmerge
........
r71808 | mark.dickinson | 2009-04-22 19:15:25 +0100 (Wed, 22 Apr 2009) | 2 lines
Issue #5812: make Fraction('1e-6') valid. Backport of r71806.
........
Mark Dickinson [Wed, 22 Apr 2009 17:50:21 +0000 (17:50 +0000)]
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.
Eric Smith [Wed, 22 Apr 2009 17:04:27 +0000 (17:04 +0000)]
Merged revisions 71802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71802 | eric.smith | 2009-04-22 12:20:47 -0400 (Wed, 22 Apr 2009) | 1 line
Fixed issue 5782: formatting with commas didn't work if no specifier type code was given.
........
Nick Coghlan [Wed, 22 Apr 2009 16:13:36 +0000 (16:13 +0000)]
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)
........
Eric Smith [Wed, 22 Apr 2009 13:30:56 +0000 (13:30 +0000)]
Blocked revisions 71796 via svnmerge
........
r71796 | eric.smith | 2009-04-22 09:29:05 -0400 (Wed, 22 Apr 2009) | 20 lines
Backport of some of the work in r71665 to trunk. This reworks much of
int, long, and float __format__(), and it keeps their implementation
in sync with py3k.
Also added PyOS_double_to_string. This is the "fallback" version
that's also available in trunk, and should be kept in sync with that
code. I'll add an issue to document PyOS_double_to_string in the C
API.
There are many internal cleanups. Externally visible changes include:
- Implement PEP 378, Format Specifier for Thousands Separator, for
floats, ints, and longs.
- Issue #5515: 'n' formatting for ints, longs, and floats handles
leading zero formatting poorly.
- Issue #5772: For float.__format__, don't add a trailing ".0" if
we're using no type code and we have an exponent.
........
R. David Murray [Wed, 22 Apr 2009 02:24:39 +0000 (02:24 +0000)]
Merged revisions 71785 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71785 | r.david.murray | 2009-04-21 09:06:04 -0400 (Tue, 21 Apr 2009) | 4 lines
Restore skips of posix and pty tests on Windows by calling the
test_support.import_module on the appropriate modules
before any other imports.
........
Eric Smith [Wed, 22 Apr 2009 00:53:01 +0000 (00:53 +0000)]
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.
........
Eric Smith [Tue, 21 Apr 2009 11:57:38 +0000 (11:57 +0000)]
Added handling of PyOS_double_to_string out-of-memory errors. Closes issue 5775.
Raymond Hettinger [Tue, 21 Apr 2009 03:43:15 +0000 (03:43 +0000)]
Update links and version info.
Raymond Hettinger [Tue, 21 Apr 2009 03:27:12 +0000 (03:27 +0000)]
Forward port r70471: Add object_pairs_hook. Issue 5381.
Raymond Hettinger [Tue, 21 Apr 2009 03:09:17 +0000 (03:09 +0000)]
Forward port r70471: Add object_pairs_hook. Issue 5381.
Mark Dickinson [Mon, 20 Apr 2009 21:42:04 +0000 (21:42 +0000)]
Blocked revisions 71776 via svnmerge
........
r71776 | mark.dickinson | 2009-04-20 22:41:04 +0100 (Mon, 20 Apr 2009) | 2 lines
Nit: integer division should use //, not /
........
Mark Dickinson [Mon, 20 Apr 2009 21:38:00 +0000 (21:38 +0000)]
Merged revisions 71772 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71772 | mark.dickinson | 2009-04-20 22:13:33 +0100 (Mon, 20 Apr 2009) | 5 lines
Issue #3166: Make long -> float (and int -> float) conversions
correctly rounded, using round-half-to-even. This ensures that the
value of float(n) doesn't depend on whether we're using 15-bit digits
or 30-bit digits for Python longs.
........
Tarek Ziadé [Mon, 20 Apr 2009 14:33:15 +0000 (14:33 +0000)]
Merged revisions 71766 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71766 | tarek.ziade | 2009-04-20 16:29:42 +0200 (Mon, 20 Apr 2009) | 1 line
adding a NEWS note for #5795 (previously checked via the buildbot)
........