This is the mail archive of the gdb-patches@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]

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


>>>>> "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


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