This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/14386] std::bitset not iterable
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 01 Aug 2012 16:20:54 +0000
- Subject: [Bug python/14386] std::bitset not iterable
- Auto-submitted: auto-generated
- References: <bug-14386-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14386
--- Comment #4 from Tom Tromey <tromey at redhat dot com> 2012-08-01 16:20:54 UTC ---
The bug is that varobj.c calls PyIter_Check.
It should just try to get the iterator and possibly fail.
Arguably this is a bug in Python, in that PyIter_Check
returns 0 if its argument is a Python list.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.