[Python-bugs-list] [ python-Bugs-776533 ] Carbon.Snd module SPB constructor shadowed
SourceForge.net
noreply@sourceforge.net
Wed, 23 Jul 2003 14:20:47 -0700
Bugs item #776533, was opened at 2003-07-23 16:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=776533&group_id=5470
Category: Macintosh
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Marcus Mendenhall (mendenhall)
Assigned to: Jack Jansen (jackjansen)
Summary: Carbon.Snd module SPB constructor shadowed
Initial Comment:
I recently found an apparent bug in the automatically
generated wrappers for Carbon.Snd.
There is a name conflict over SPB, which is both declared as
a type object, and as a constructor for an SPB. The type
object is shadowing the SPB constructor, so it is impossible
to build SPBs, and thus impossible to do much with the
module. There are two names for the SPB data type -- SPB
and SPBType, generated by the wrapper generator. The
SPBType should probably be kept, while SPB() should be
unshadowed to allow creation of SPBs. The error can be
trivially replicated by just importing Carbon.Snd and
attempting to create an SPB with a=Snd.SPB(), which
returns an error.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=776533&group_id=5470