[Bug gdb/18380] New: 'help python' gives Python 2 example

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18380] New: 'help python' gives Python 2 example

rootedjoy833 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18380

            Bug ID: 18380
           Summary: 'help python' gives Python 2 example
           Product: gdb
           Version: 7.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dholth at gmail dot com
  Target Milestone: ---

Even though gdb embeds Python 3, the help statement shows a Python 2 example.
Typing the example yields SyntaxError. Instead, it should read python print(23)

(gdb) help python
Evaluate a Python command.

The command can be given as an argument, for instance:

    python print 23

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18380] 'help python' gives Python 2 example

rootedjoy833 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18380

Jonah Graham <jonah at kichwacoders dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonah at kichwacoders dot com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug python/18380] 'help python' gives Python 2 example

rootedjoy833 at gmail dot com
In reply to this post by rootedjoy833 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18380

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |good-first-bug
                 CC|                            |tromey at sourceware dot org
          Component|gdb                         |python

--
You are receiving this mail because:
You are on the CC list for the bug.