This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/19637] bound_registers.py uses type "long", but long merged with "int" in python3
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 24 May 2016 15:34:59 +0000
- Subject: [Bug gdb/19637] bound_registers.py uses type "long", but long merged with "int" in python3
- Auto-submitted: auto-generated
- References: <bug-19637-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19637
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I think it's better to be adaptive like printing.py:
if sys.version_info[0] > 2:
# Python 3 removed basestring and long
basestring = str
long = int
... because long is better on Python 2.
Also patches have to be submitted to the patch list.
--
You are receiving this mail because:
You are on the CC list for the bug.