[Python-bugs-list] [ python-Bugs-814976 ] test_types fails on HP/UX ia64

SourceForge.net noreply at sourceforge.net
Wed Oct 1 04:53:52 EDT 2003


Bugs item #814976, was opened at 2003-09-30 18:51
Message generated for change (Settings changed) made by anthonybaxter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=814976&group_id=5470

Category: None
Group: Python 2.3
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_types fails on HP/UX ia64

Initial Comment:
6. Built-in types

6.1 Truth value testing

6.2 Boolean operations

6.3 Comparisons

6.4 Numeric types (mostly conversions)

6.4.1 32-bit integers

6.4.2 Long integers

6.4.3 Floating point numbers

6.5 Sequence types

6.5.1 Strings

6.5.2 Tuples

6.5.3 Lists

6.5.3a Additional list operations

Traceback (most recent call last):

  File

"/house/arbatpy/Python-2.3.2c1/Lib/test/test_types.py",

line 415, in ?

    else: raise TestFailed, 'list sort compare function

is not callable'

test.test_support.TestFailed: list sort compare

function is not callable



The test in question is definately failing:

>>> z=range(12)

>>> z.sort(2)

>>> 



(it should raise a TypeError).



Anyone? 



----------------------------------------------------------------------

>Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-10-01 18:53

Message:
Logged In: YES 
user_id=29957

Closing this now - it's a bug in the HP compiler. I've put a

workaround in the HP/UX section of the toplevel README file.



----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-10-01 17:14

Message:
Logged In: YES 
user_id=29957

I've sent in a note to the feedback address on the HP site -

I don't know if they're likely to respond or not.



Ok, I blew everything away and started again with absolutely

100% no optimisation involved, and this time it worked!?! I

was trying it on the "other" HP/ia64 box (there's two in the

testdrive farm).



----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-10-01 17:00

Message:
Logged In: YES 
user_id=29957

Linux/ia64 works fine. Building --without-threads and with

gcc on HPUX/ia64 passes test_types, but fails with some

dynamic linking errors (__divdf3) in test_audioop. Looks

like the bug is in the HP/UX compiler.



----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-09-30 18:53

Message:
Logged In: YES 
user_id=29957

Python 2.3.2c1 (#2, Sep 30 2003, 04:35:11) [C] on hp-ux11

Type "help", "copyright", "credits" or "license" for more

information.

>>> import gc

>>> z=range(12)

>>> z.sort(2)

>>> gc.collect()

TypeError: 'int' object is not callable

>>> 



----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-09-30 18:52

Message:
Logged In: YES 
user_id=29957

wow. I exited python after the above

z = range(12) 

z.sort(2)

and got

Exception exceptions.TypeError: "'int' object is not

callable" in 'garbage collection' ignored

Fatal Python error: unexpected exception during garbage

collection

ABORT instruction (core dumped)





----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=814976&group_id=5470



More information about the Python-bugs-list mailing list