[New-bugs-announce] [issue3102] ctypes defines global symbols

Martin v. Löwis report at bugs.python.org
Fri Jun 13 09:54:54 CEST 2008

New submission from Martin v. Löwis <martin at v.loewis.de>:

ctypes defines a number of global symbols which aren't
namespace-prefixed, such as AllocFunctionCallback, FreeClosure, GetType,
IsSimpleSubType, MallocClosure, _AddTraceback, _CallProc,
alloc_format_string, conversion_mode_encoding, conversion_mode_errors,
get_error_object, getentry, module_methods (there are more, but the
other ones can be understood as being unambiguously prefixed, such as
with CData, CField, StgDict).

It would be good if these symbols either are changed to static, or get a
proper Py/_Py prefix.

assignee: theller
messages: 68135
nosy: loewis, theller
severity: normal
status: open
title: ctypes defines global symbols

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list