I'm going on vacation from Apr 26 - May 6. I will probably not be available during this period. Sometime in the next month or so, I plan to run valgrind and pychecker over everything. I should be done before beta2. Also, the snake farm still has some issues. I will try to improve the snake farm status in May or June. But if anybody wants to volunteer to fix any of the issues, feel free. :-) http://www.lysator.liu.se/xenofarm/python/latest.html Some test failures are: test_logging Solaris 8, RedHat 9 test_getargs2 Solaris 8, Mac OS X test_time RedHat 9, Linux ia64 For a hack which seems to fix test_logging problem, see my comment here: http://python.org/sf/725904 Neal
Neal Norwitz
Some test failures are:
test_getargs2 Solaris 8, Mac OS X
It seems test_getargs2 fails on big endian platforms. Is the solaris 8 such a machine? See also the comments I added to http://www.python.org/sf/724774. I have the impression that the test is broken. Should I try to fix it (difficult, without access to neither Mac or Solaris), or should it simply be deleted ;-) Thomas
On Wed, Apr 23, 2003 at 07:48:06PM +0200, Thomas Heller wrote:
Neal Norwitz
writes: Some test failures are:
test_getargs2 Solaris 8, Mac OS X
It seems test_getargs2 fails on big endian platforms. Is the solaris 8 such a machine?
I believe so.
See also the comments I added to http://www.python.org/sf/724774.
I have the impression that the test is broken. Should I try to fix it (difficult, without access to neither Mac or Solaris), or should it simply be deleted ;-)
I think getargs_ul() is broken. For example, if the user passes more than a single char as the format, memory will be scribbled on. The format should be checked to make sure it contains acceptable values for getargs_ul() to be safe. I fixed a similar problem in revision 1.23 of _testcapimodule.c. See comment and code around line 330. I'm not really sure of the purpose of _testcapimodule, so perhaps the lack of error checking is acceptable? I can fix the problems, but not before the beta will go out. Neal
Neal Norwitz
On Wed, Apr 23, 2003 at 07:48:06PM +0200, Thomas Heller wrote:
Neal Norwitz
writes: Some test failures are:
test_getargs2 Solaris 8, Mac OS X
It seems test_getargs2 fails on big endian platforms. Is the solaris 8 such a machine?
I believe so.
See also the comments I added to http://www.python.org/sf/724774.
I have the impression that the test is broken. Should I try to fix it (difficult, without access to neither Mac or Solaris), or should it simply be deleted ;-)
I think getargs_ul() is broken.
That was what I meant.
For example, if the user passes more than a single char as the format, memory will be scribbled on. The format should be checked to make sure it contains acceptable values for getargs_ul() to be safe.
It is even broken if only single character formats are passed, because it always uses an unsigned long * as the third parameter, which is wrong for 'B' and 'H' format codes.
I fixed a similar problem in revision 1.23 of _testcapimodule.c. See comment and code around line 330.
I will take a look.
I'm not really sure of the purpose of _testcapimodule, so perhaps the lack of error checking is acceptable? I can fix the problems, but not before the beta will go out.
Neal
Thomas
Neal Norwitz
I think getargs_ul() is broken. For example, if the user passes more than a single char as the format, memory will be scribbled on. The format should be checked to make sure it contains acceptable values for getargs_ul() to be safe.
I fixed a similar problem in revision 1.23 of _testcapimodule.c. See comment and code around line 330.
I've replaced the getargs_ul() function and friends with new getargs_X() functions for all the tested format codes. I've also adapted test_getargs2 to use these new functions. Skip and Jack have offered to test this, anyone else is welcome as well to report crashes. Thomas
Thomas> I have the impression that the test is broken. Should I try to Thomas> fix it (difficult, without access to neither Mac or Solaris), or Thomas> should it simply be deleted ;-) I have access to both Mac OS X and Solaris 8. I routinely build from CVS on my Mac Laptop (my default Python interpreter there is built from CVS). I can set up a CVS tree on a Solaris 8 machine and test anything you need. Skip
Skip Montanaro
Thomas> I have the impression that the test is broken. Should I try to Thomas> fix it (difficult, without access to neither Mac or Solaris), or Thomas> should it simply be deleted ;-)
I have access to both Mac OS X and Solaris 8. I routinely build from CVS on my Mac Laptop (my default Python interpreter there is built from CVS). I can set up a CVS tree on a Solaris 8 machine and test anything you need.
In this case I'll try to fix it tomorrow. Thanks, Thomas
participants (3)
-
Neal Norwitz
-
Skip Montanaro
-
Thomas Heller