[issue3102] ctypes defines global symbols

Matthias Klose report at bugs.python.org
Sat Mar 28 22:48:47 CET 2009


Matthias Klose <doko at debian.org> added the comment:

These are the symbols on the trunk (20090328). There are *very* general
names as well. How should this be resolved? Introduce macros for the old
names, or just rename these?

module_methods probably could be static.

  AllocFunctionCallback
  ArrayType_Type
  Array_Type
  CData_AtAddress
  CData_FromBaseObj
  CData_Type
  CData_get
  CData_set
  CField_FromDesc
  CField_Type
  CFuncPtrType_Type
  CFuncPtr_Type
  CThunk_Type
  CreateArrayType
  Extend_Error_Info
  FreeClosure
  GetType
  IsSimpleSubType
  MallocClosure
  PointerType_Type
  Pointer_Type
  _pagesize
  _pointer_type_cache
  alloc_format_string
  conversion_mode_encoding
  conversion_mode_errors
  get_error_object
  getentry
  init_callbacks_in_module
  module_methods
  new_CArgObject

Note there's a patch to get rid of FreeClosure:
http://cvs.fedoraproject.org/viewvc/devel/python/python-2.6-ctypes-noexecmem.patch?view=markup

----------
nosy: +doko

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3102>
_______________________________________


More information about the Python-bugs-list mailing list