Just to be clear:
1 - I agree that Danek has the right answer
2 - I don't really care that much about this particular change - we have
to absorb change with every new drop of pkg(5) anyway, that is
understood and has been for a long time
3 - I understand that the public API isn't really done yet and that
incompatible changes are expected for it
However, I still maintain that this change is an incompatible change to
the ImageInterface interface. (I'm just calling a spade a spade.) For
example, if you had a class:
class someclass(object):
def __init__(self, a):
a.foo()
And this was changed to:
class someclass(object):
def __init__(self, a):
a.bar()
that would be a incompatible change to the someclass interface, right?
Here, I haven't said anything about what the type of the a object
actually has to be, and with Python, there actually isn't any
requirement that object passed in to __init__ have any particular type,
as long as it implements the right methods.
This is exactly what is happening with the ImageInterface class with
this change. This isn't about whether ProgressTracker is public or not.
It is about what is happening to ImageInterface.
Now if all of ImageInterface isn't considered "public", specifically the
3rd parameter of the __init__ method, then I stand corrected. But at
this point, I thought that all of ImageInterface was supposed to be
"public".
Tom
Shawn Walker wrote:
Tom Mueller wrote:
I'm not demanding anything. I'm just making an observation that this
is a change that would effect users of an API that has been claimed
to be a public interface.
The progresstracker is in limbo and isn't currently considered to be a
versioned, public interface.
In short, there are no changes to any interfaces that are explicitly
considered "public".
However, I believe Danek has the right answer.
Cheers,
begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;SWI Install/Update Software
adr:;;21915 Hillandale Dr;Elkhorn;NE;68022;USA
email;internet:[email protected]
title:Senior Staff Engineer
tel;work:877-250-4011
tel;fax:877-250-4011
tel;home:402-916-9943
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss