Re: [PATCH 0/2] prevent gdb.Frame/Objfile and other types to be instanciated

Tom Tromey
2013-10-10T19:10:07Z

>>>>> "Sanimir" == Sanimir Agovic <sanimir.agovic@intel.com> writes:

Sanimir> as discussed in
Sanimir> http://sourceware.org/ml/gdb-patches/2013-08/msg00848.html the
Sanimir> gdb/python interface exposes types which should not be
Sanimir> instanciated directly by python code. This patch now raising a
Sanimir> TypeError if one instanciate such type.

It seems like a reasonable plan to me.
We never intended to allow instantiation of these objects; and most of
them are actually useless if instantiated.

Tom