Re: Make the "python" command resemble the standard Python interpreter

Khoo Yit Phang
2012-01-22T16:36:09Z

Hi,

On Jan 20, 2012, at 4:25 PM, Tom Tromey wrote:

>>>>>> "Yit" == Khoo Yit Phang <khooyp@cs.umd.edu> writes:
>
> Yit> It should be possible to replace raw_input with one that works with
> Yit> GDB, but that can be another patch.
>
> Yit> Making Python's readline module work under GDB is not possible, since
> Yit> it re-initializes libreadline and generally assumes that libreadline
> Yit> is completely under Python's control (and libreadline itself has no
> Yit> support for nesting/reentrancy).
>
> Yit> It should also be possible to write a wrapper module around readline
> Yit> that avoids conflicts with GDB, but that'll take some more work.
>
> Would you mind filing bugs for these discoveries you've made?
> That would be handy.

Sure.

> I didn't re-read the patches yet. I plan to wait until your paperwork
> is done; then please just re-post the latest versions with commentary.

Just to mention, I probably won't get to update my patches for the next couple of weeks.

Yit
January 22, 2012