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] Add support for gdb.PYTHONDIR as $gdb_datadir/python.


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> The execfile of __init__.py feels odd.  I haven't seen it done
Doug> elsewhere and I wonder if it's needed.
Doug> [I know python has __init__.py, I just don't know if we have to
Doug> *explicitly* exec it.]

Normally, no, but in this case we do because the "gdb" module is created
in C code, not via an import.

Tom


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