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

SourceForge.net noreply at sourceforge.net
Tue Sep 30 04:53:25 EDT 2003


Bugs item #814976, was opened at 2003-09-30 18:51
Message generated for change (Comment added) 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: Open
Resolution: None
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-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