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 1/2] python: disallow python code to instanciate certain types


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

Sanimir> 2013-08-30  Sanimir Agovic  <sanimir.agovic@intel.com>
Sanimir> 	* py-arch.c (gdbpy_initialize_arch): Set tp_new implicitly to NULL.
Sanimir> 	* py-block.c (gdbpy_initialize_blocks): Set tp_new implicitly to NULL.
Sanimir> 	* py-frame.c (gdbpy_initialize_frames): Set tp_new implicitly to NULL.
Sanimir> 	* py-objfile.c (objfpy_new): Remove function.
Sanimir> 	(objfile_object_type): Set tp_new to NULL.
Sanimir> 	* py-progspace.c (pspy_new): Remove function.
Sanimir> 	(pspace_object_type): Set tp_new to NULL
Sanimir> 	* py-symtab.c (gdbpy_initialize_symtabs): Set tp_new implicitly to NULL.

This is ok.

Tom


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