[ python-Bugs-989066 ] profile.run raises TypeError encountering a list

SourceForge.net noreply at sourceforge.net
Mon Jul 12 14:47:14 CEST 2004


Bugs item #989066, was opened at 2004-07-11 22:28
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=989066&group_id=5470

Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Percivall (percivall)
>Assigned to: Nick Bastin (mondragon)
Summary: profile.run raises TypeError encountering a list

Initial Comment:
def g():
    l = []
    l.append('hello')

import profile
profile.run("g()")

This code raises a TypeError in the latest Python 2.4
CVS build. It works in Python 2.3.4.

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

>Comment By: Michael Hudson (mwh)
Date: 2004-07-12 13:47

Message:
Logged In: YES 
user_id=6656

Mondragon, I'm reasonably sure this is your fault :-) (revision 
1.55 if I'm not mistaken).

Was this change the application of a patch on SF?  If so, you 
should have mentioned the patch # in the checkin comment.

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

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


More information about the Python-bugs-list mailing list