This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/19637] bound_registers.py uses type "long", but long merged with "int" in python3


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]