Re: [PATCH] sys.argv and ipython (interactive python) support in GDB/Python

Tom Tromey
2011-07-01T14:34:46Z

>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:

Phil> I should know this, but the documentation notes "New in version
Phil> 2.6.6". I think we support 2.6.6, but one of the maintainers would have
Phil> to reply here.

Thanks, I missed this.

We support back to 2.4. So, we can't use this function unconditionally.

Perhaps we can instead call PySys_SetArgv followed by popping sys.path,
as recommended in the manual.

Phil> Lastly, even though this patch is about two lines, I believe it is
Phil> not a trivial change, and probably needs a ChangeLog entry.

I think it is trivial for copyright purposes.
All patches require a ChangeLog entry.

Tom