This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: T_LONGLONG chokes on ints
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: loewis, rupole
Priority: normal Keywords:

Created on 2007-06-07 04:23 by rupole, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg32233 - (view) Author: Roger Upole (rupole) Date: 2007-06-07 04:23
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
msg32234 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-06-08 17:54
Can you come up with a patch?
msg32235 - (view) Author: Roger Upole (rupole) Date: 2007-06-09 06:52
Submitted patch# 1733960
msg32236 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-06-09 08:06
This is now fixed with said patch.
History
Date User Action Args
2022-04-11 14:56:24adminsetgithub: 45049
2007-06-07 04:23:35rupolecreate