[ python-Bugs-1732557 ] T_LONGLONG chokes on ints

SourceForge.net noreply at sourceforge.net
Fri Jun 8 19:54:47 CEST 2007


Bugs item #1732557, was opened at 2007-06-07 06:23
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1732557&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Roger Upole (rupole)
Assigned to: Nobody/Anonymous (nobody)
Summary: T_LONGLONG chokes on ints

Initial Comment:
Structmember attributes defined as T_LONGLONG or T_ULONGLONG won't accept a plain int, and give a misleading error msg:

TypeError: bad argument type for built-in operation


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

>Comment By: Martin v. Löwis (loewis)
Date: 2007-06-08 19:54

Message:
Logged In: YES 
user_id=21627
Originator: NO

Can you come up with a patch?

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

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


More information about the Python-bugs-list mailing list