]> granicus.if.org Git - python/log
python
16 years ago#5889: remove comma at the end of a list that some C compilers don't like.
Georg Brandl [Fri, 1 May 2009 08:51:37 +0000 (08:51 +0000)]
#5889: remove comma at the end of a list that some C compilers don't like.

16 years agoFix for Issue1648102, based on the MSDN spec: If this parameter specifies the
Senthil Kumaran [Fri, 1 May 2009 05:59:52 +0000 (05:59 +0000)]
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.

16 years agoMake the turtle.rst doctests pass. I have a feeling there should be
R. David Murray [Thu, 30 Apr 2009 12:42:32 +0000 (12:42 +0000)]
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... ;)

16 years agoIssue #1588: Add complex.__format__.
Eric Smith [Thu, 30 Apr 2009 00:58:58 +0000 (00:58 +0000)]
Issue #1588: Add complex.__format__.

16 years agoprevent ref cycles by removing bound method on close()
Benjamin Peterson [Thu, 30 Apr 2009 00:23:11 +0000 (00:23 +0000)]
prevent ref cycles by removing bound method on close()

16 years agomake sure to close file
Benjamin Peterson [Thu, 30 Apr 2009 00:06:33 +0000 (00:06 +0000)]
make sure to close file

16 years agomake sure mode is removable while cleaning up test droppings
Benjamin Peterson [Wed, 29 Apr 2009 22:44:15 +0000 (22:44 +0000)]
make sure mode is removable while cleaning up test droppings

16 years ago#5878: fix repr of re object.
Georg Brandl [Wed, 29 Apr 2009 22:44:07 +0000 (22:44 +0000)]
#5878: fix repr of re object.

16 years agofix test_shutil on ZFS #5676
Benjamin Peterson [Wed, 29 Apr 2009 22:43:35 +0000 (22:43 +0000)]
fix test_shutil on ZFS #5676

16 years agoBackport some of the float formatting tests from py3k.
Mark Dickinson [Wed, 29 Apr 2009 21:57:15 +0000 (21:57 +0000)]
Backport some of the float formatting tests from py3k.

16 years agoRemove format_float and use _PyOS_double_to_string instead.
Mark Dickinson [Wed, 29 Apr 2009 21:56:53 +0000 (21:56 +0000)]
Remove format_float and use _PyOS_double_to_string instead.

16 years agoIssue #5864: format(1234.5, '.4') gives misleading result
Mark Dickinson [Wed, 29 Apr 2009 20:41:00 +0000 (20:41 +0000)]
Issue #5864: format(1234.5, '.4') gives misleading result
(Backport of r72109 from py3k.)

16 years agorun autoconf
Benjamin Peterson [Wed, 29 Apr 2009 20:36:25 +0000 (20:36 +0000)]
run autoconf

16 years agoMore aifc tests.
R. David Murray [Wed, 29 Apr 2009 20:15:18 +0000 (20:15 +0000)]
More aifc tests.

16 years ago- configure.in: Don't error, when no --with-dbmliborder option is present
Matthias Klose [Wed, 29 Apr 2009 20:09:50 +0000 (20:09 +0000)]
- configure.in: Don't error, when no --with-dbmliborder option is present

16 years ago- Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
Matthias Klose [Wed, 29 Apr 2009 19:52:49 +0000 (19:52 +0000)]
- Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
  the order that backends for the dbm extension are checked.

16 years ago- Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
Matthias Klose [Wed, 29 Apr 2009 17:18:19 +0000 (17:18 +0000)]
- Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
  the order that backends for the dbm extension are checked.

16 years agoNow that we've got a test_aifc, add a few tests.
R. David Murray [Wed, 29 Apr 2009 13:51:44 +0000 (13:51 +0000)]
Now that we've got a test_aifc, add a few tests.

16 years agoFix issue 2245. aifc now skips any chunk type it doesn't actually
R. David Murray [Wed, 29 Apr 2009 13:17:37 +0000 (13:17 +0000)]
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.

16 years agoFixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore
Tarek Ziadé [Wed, 29 Apr 2009 08:03:46 +0000 (08:03 +0000)]
Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore

16 years agoMake the doctests in the docs pass, except for those in the turtle module.
Georg Brandl [Tue, 28 Apr 2009 21:48:35 +0000 (21:48 +0000)]
Make the doctests in the docs pass, except for those in the turtle module.

16 years agoIssue #4305: ctypes fails to build on mipsel-linux-gnu (detects mips
Thomas Heller [Tue, 28 Apr 2009 19:23:41 +0000 (19:23 +0000)]
Issue #4305: ctypes fails to build on mipsel-linux-gnu (detects mips
instead of mipsel)

16 years agoRemove spurious 'u'.
R. David Murray [Tue, 28 Apr 2009 19:02:55 +0000 (19:02 +0000)]
Remove spurious 'u'.

16 years agoVarious small fixups to the multiprocessing docs, mostly fixing and
R. David Murray [Tue, 28 Apr 2009 16:08:18 +0000 (16:08 +0000)]
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.

16 years agoSilence warning on Windows.
Eric Smith [Tue, 28 Apr 2009 07:33:09 +0000 (07:33 +0000)]
Silence warning on Windows.

16 years agoIssue #1734234: Massively speedup `unicodedata.normalize()` when the
Antoine Pitrou [Mon, 27 Apr 2009 21:53:26 +0000 (21:53 +0000)]
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.

16 years agoAdd example to the seealso section.
Raymond Hettinger [Mon, 27 Apr 2009 21:12:54 +0000 (21:12 +0000)]
Add example to the seealso section.

16 years agoUpdate spec version number.
Raymond Hettinger [Mon, 27 Apr 2009 21:12:27 +0000 (21:12 +0000)]
Update spec version number.

16 years agoIssue #5853: calling a function of the mimetypes module from several threads
Antoine Pitrou [Mon, 27 Apr 2009 20:50:20 +0000 (20:50 +0000)]
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.

16 years agoIssue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should...
Eric Smith [Mon, 27 Apr 2009 19:04:37 +0000 (19:04 +0000)]
Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors.

16 years agoMake sys.xxx variable references into links, note that print_last only
R. David Murray [Mon, 27 Apr 2009 17:22:36 +0000 (17:22 +0000)]
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.

16 years ago#5840: dont claim we dont support TLS.
Georg Brandl [Mon, 27 Apr 2009 17:09:53 +0000 (17:09 +0000)]
#5840: dont claim we dont support TLS.

16 years ago#5848: small unittest doc patch.
Georg Brandl [Mon, 27 Apr 2009 17:04:23 +0000 (17:04 +0000)]
#5848: small unittest doc patch.

16 years agoDemote warnings to notices, part 2: stuff that is 2.x-only.
Georg Brandl [Mon, 27 Apr 2009 15:29:26 +0000 (15:29 +0000)]
Demote warnings to notices, part 2: stuff that is 2.x-only.

16 years agoDemote warnings to notices where appropriate, following the goal that as few "red...
Georg Brandl [Mon, 27 Apr 2009 15:29:09 +0000 (15:29 +0000)]
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.

16 years agoRemove ".. warning::" markup that doesnt contain warnings for users, rather todo...
Georg Brandl [Mon, 27 Apr 2009 15:10:44 +0000 (15:10 +0000)]
Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items.

16 years ago#5856: fix typo s in traceback example.
Georg Brandl [Mon, 27 Apr 2009 15:09:25 +0000 (15:09 +0000)]
#5856: fix typo s in traceback example.

16 years agoIssue #5854: Updated __all__ to include some missing names and remove some names...
Vinay Sajip [Mon, 27 Apr 2009 13:44:27 +0000 (13:44 +0000)]
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.

16 years agoRight click 'go to file/line' not working if spaces
Kurt B. Kaiser [Sun, 26 Apr 2009 23:22:11 +0000 (23:22 +0000)]
Right click 'go to file/line' not working if spaces
in path.  Bug 5559.

16 years agoUse test.test_support.EnvironmentVarGuard where tests change environment vars.
Walter Dörwald [Sun, 26 Apr 2009 20:51:44 +0000 (20:51 +0000)]
Use test.test_support.EnvironmentVarGuard where tests change environment vars.

16 years agoFix typo in function name
Mark Dickinson [Sun, 26 Apr 2009 19:54:55 +0000 (19:54 +0000)]
Fix typo in function name

16 years agoFix typo.
Walter Dörwald [Sun, 26 Apr 2009 19:11:43 +0000 (19:11 +0000)]
Fix typo.

16 years agoBackport r71967 changes from py3k to trunk.
Mark Dickinson [Sun, 26 Apr 2009 16:04:05 +0000 (16:04 +0000)]
Backport r71967 changes from py3k to trunk.
(Internal plumbing changes for float parsing.)

16 years agoReset errno before both calls to PyOS_ascii_strtod, not just one.
Mark Dickinson [Sun, 26 Apr 2009 14:00:08 +0000 (14:00 +0000)]
Reset errno before both calls to PyOS_ascii_strtod, not just one.

16 years agoNote that the caller is resposible for freeing the result of PyOS_double_to_string.
Eric Smith [Sun, 26 Apr 2009 10:05:11 +0000 (10:05 +0000)]
Note that the caller is resposible for freeing the result of PyOS_double_to_string.

16 years agoUpdate pydoc topics.
Georg Brandl [Sun, 26 Apr 2009 09:57:29 +0000 (09:57 +0000)]
Update pydoc topics.

16 years agoMove pydoc_topics module to its own subdirectory, so that no generated code is in...
Georg Brandl [Sun, 26 Apr 2009 09:56:44 +0000 (09:56 +0000)]
Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/.

16 years agoAnother file where the versions need to be up to date.
Georg Brandl [Sun, 26 Apr 2009 06:06:53 +0000 (06:06 +0000)]
Another file where the versions need to be up to date.

16 years agoRemove outdated TODO file.
Georg Brandl [Sun, 26 Apr 2009 06:06:19 +0000 (06:06 +0000)]
Remove outdated TODO file.

16 years agoNote that the versions are also in README.txt.
Georg Brandl [Sun, 26 Apr 2009 06:05:58 +0000 (06:05 +0000)]
Note that the versions are also in README.txt.

16 years agoUpdate versions in instructions for manual set-up.
Georg Brandl [Sun, 26 Apr 2009 06:05:18 +0000 (06:05 +0000)]
Update versions in instructions for manual set-up.

16 years agoMostly formatting nits, and "and-ed together" -> "or-ed together" flags.
Georg Brandl [Sun, 26 Apr 2009 06:01:04 +0000 (06:01 +0000)]
Mostly formatting nits, and "and-ed together" -> "or-ed together" flags.

16 years agoIssue #4971: Fix titlecase for characters that are their own
Martin v. Löwis [Sun, 26 Apr 2009 00:53:18 +0000 (00:53 +0000)]
Issue #4971: Fix titlecase for characters that are their own
titlecase, but not their own uppercase.

16 years agoIssue #5835, deprecate PyOS_ascii_formatd.
Eric Smith [Sat, 25 Apr 2009 21:40:15 +0000 (21:40 +0000)]
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.

16 years agoIssue #4129: document int -> Py_ssize_t changes.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 21:16:05 +0000 (21:16 +0000)]
Issue #4129: document int -> Py_ssize_t changes.

16 years agoIssue #4129: field changed from int to Py_ssize_t.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 21:02:34 +0000 (21:02 +0000)]
Issue #4129: field changed from int to Py_ssize_t.

16 years agoIssue #4129: more int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:58:35 +0000 (20:58 +0000)]
Issue #4129: more int -> Py_ssize_t documentation.

16 years agoIssue #4129: more int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:55:39 +0000 (20:55 +0000)]
Issue #4129: more int -> Py_ssize_t documentation.

16 years agoIssue #4129: int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:50:27 +0000 (20:50 +0000)]
Issue #4129: int -> Py_ssize_t documentation.

16 years agoIssue #4129: int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:44:58 +0000 (20:44 +0000)]
Issue #4129: int -> Py_ssize_t documentation.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:43:30 +0000 (20:43 +0000)]
Reformat prior to editing.

16 years agoIssue #4129: int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:41:40 +0000 (20:41 +0000)]
Issue #4129: int -> Py_ssize_t documentation.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:40:10 +0000 (20:40 +0000)]
Reformat prior to editing.

16 years agoSince it's a macro, actually refer to it as such instead of function.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:37:39 +0000 (20:37 +0000)]
Since it's a macro, actually refer to it as such instead of function.

16 years agoIssue #4129: Add a versionchanged notice for a few forgotten entries.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:54:34 +0000 (19:54 +0000)]
Issue #4129: Add a versionchanged notice for a few forgotten entries.

16 years agoReformat, since I've been busy here anyway.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:49:05 +0000 (19:49 +0000)]
Reformat, since I've been busy here anyway.

16 years agoIssue #4129: Documentation notes for int -> Py_ssize_t changes.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:46:19 +0000 (19:46 +0000)]
Issue #4129: Documentation notes for int -> Py_ssize_t changes.

16 years agoIssue #4129: More documentation pointers about int -> Py_ssize_t.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:44:55 +0000 (19:44 +0000)]
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().

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:10:52 +0000 (19:10 +0000)]
Reformat prior to editing.

16 years agoSince I edited this file, reformat for future edits.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:04:15 +0000 (19:04 +0000)]
Since I edited this file, reformat for future edits.

16 years agoReference to an int type, whereas it's a Py_ssize_t as the synopsis states.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 18:57:32 +0000 (18:57 +0000)]
Reference to an int type, whereas it's a Py_ssize_t as the synopsis states.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 18:53:48 +0000 (18:53 +0000)]
Reformat prior to editing.

16 years agoIssue #4129: Document more int -> Py_ssize_t changes.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 18:46:03 +0000 (18:46 +0000)]
Issue #4129: Document more int -> Py_ssize_t changes.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 18:31:20 +0000 (18:31 +0000)]
Reformat prior to editing.

16 years agoIssue #4129: Belatedly document which C API functions had their argument(s) or
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 17:59:03 +0000 (17:59 +0000)]
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.

16 years agoIssue #5078: Avoid redundant call to FormatError()
Thomas Heller [Sat, 25 Apr 2009 16:37:18 +0000 (16:37 +0000)]
Issue #5078: Avoid redundant call to FormatError()

16 years ago#5841: add deprecation py3k warning and notice in the docs for commands module.
Georg Brandl [Sat, 25 Apr 2009 15:11:29 +0000 (15:11 +0000)]
#5841: add deprecation py3k warning and notice in the docs for commands module.

16 years ago#5821: add some capabilities of TarFile's file-like object.
Georg Brandl [Sat, 25 Apr 2009 15:05:04 +0000 (15:05 +0000)]
#5821: add some capabilities of TarFile's file-like object.

16 years ago#5834: use "failure" instead of "error" because the two have different meanings in...
Georg Brandl [Sat, 25 Apr 2009 14:51:31 +0000 (14:51 +0000)]
#5834: use "failure" instead of "error" because the two have different meanings in unittest context.

16 years ago#3320: fix spelling.
Georg Brandl [Sat, 25 Apr 2009 14:50:25 +0000 (14:50 +0000)]
#3320: fix spelling.

16 years agoReformat paragraph.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 14:28:02 +0000 (14:28 +0000)]
Reformat paragraph.

16 years agoThe type for ppos has been Py_ssize_t since 2.5, reflect this in the
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 14:27:00 +0000 (14:27 +0000)]
The type for ppos has been Py_ssize_t since 2.5, reflect this in the
documentation.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 14:24:30 +0000 (14:24 +0000)]
Reformat prior to editing.

16 years agoIssue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic in
Walter Dörwald [Sat, 25 Apr 2009 14:03:16 +0000 (14:03 +0000)]
Issue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic in
makeunicodedata.py and regenerated the Unicode database (This fixes
u'\u1d79'.lower() == '\x00').

16 years agoReformat file prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 13:58:58 +0000 (13:58 +0000)]
Reformat file prior to editing.

16 years agoRewrite a sentence to be more in line with the rest of the documentation with
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 13:07:40 +0000 (13:07 +0000)]
Rewrite a sentence to be more in line with the rest of the documentation with
regard to person and audience.

16 years ago#5810: Fixed Distutils test_build_scripts
Tarek Ziadé [Sat, 25 Apr 2009 12:51:59 +0000 (12:51 +0000)]
#5810: Fixed Distutils test_build_scripts

16 years agoIssue #4239: adjust email examples not to use connect() and terminate with
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 12:49:10 +0000 (12:49 +0000)]
Issue #4239: adjust email examples not to use connect() and terminate with
quit() and not close().

16 years agoIssue #4951: Fixed failure in test_httpservers
Tarek Ziadé [Sat, 25 Apr 2009 12:38:08 +0000 (12:38 +0000)]
Issue #4951: Fixed failure in test_httpservers

16 years agoIssue #5837: Certain sequences of calls to set() and unset() for
Walter Dörwald [Sat, 25 Apr 2009 12:15:07 +0000 (12:15 +0000)]
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().

16 years agoFirst attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 11:59:09 +0000 (11:59 +0000)]
First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.

16 years agoReformat prior to expanding.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 11:15:06 +0000 (11:15 +0000)]
Reformat prior to expanding.

16 years agoFix typo in complex parsing code; expand tests.
Mark Dickinson [Sat, 25 Apr 2009 09:47:00 +0000 (09:47 +0000)]
Fix typo in complex parsing code;  expand tests.

16 years agofix a segfault when setting __class__ in __del__ #5283
Benjamin Peterson [Sat, 25 Apr 2009 00:41:22 +0000 (00:41 +0000)]
fix a segfault when setting __class__ in __del__ #5283

16 years agoIssue #3102: All global symbols that the _ctypes extension defines are
Thomas Heller [Fri, 24 Apr 2009 20:31:47 +0000 (20:31 +0000)]
Issue #3102: All global symbols that the _ctypes extension defines are
now prefixed with 'Py' or '_ctypes'.

16 years agoIssue 5041: ctypes unwilling to allow pickling wide character.
Thomas Heller [Fri, 24 Apr 2009 20:00:41 +0000 (20:00 +0000)]
Issue 5041: ctypes unwilling to allow pickling wide character.

16 years agoIssue #5161: wrong paths for ctypes cleanup when Python is built in a
Thomas Heller [Fri, 24 Apr 2009 18:10:46 +0000 (18:10 +0000)]
Issue #5161: wrong paths for ctypes cleanup when Python is built in a
directory other than the source directory.

16 years agoRemove unnecessary double negative
Mark Dickinson [Fri, 24 Apr 2009 16:37:22 +0000 (16:37 +0000)]
Remove unnecessary double negative

16 years agoIssue #5593: Use more robust test for double-rounding in test_fsum.
Mark Dickinson [Fri, 24 Apr 2009 16:34:14 +0000 (16:34 +0000)]
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.

16 years agoIssue #5812: The two-argument form of the Fraction constructor
Mark Dickinson [Fri, 24 Apr 2009 13:56:07 +0000 (13:56 +0000)]
Issue #5812: The two-argument form of the Fraction constructor
now accepts arbitrary Rational instances.