Thanks for the clarification.  This is one of those cases where I'd want
people to keep their dirty mitts off size.  It does sound like __size is
the right choice.

-j

On Thu, Oct 23, 2008 at 05:41:40PM -0500, Shawn Walker wrote:
> [EMAIL PROTECTED] wrote:
> >> catalog.py:
> >>
> >>   - line 115: this seems to be completely private -- make it __size?
> > 
> > I thought adding the _ in front made it private; however, I've made this
> > change.
> 
> A note from Danek I have tucked away:
> 
> "Please use __foo for symbols that really ought to be private to a 
> class, and _foo for ones where they should be thought of as private, but 
> where some outsiders actually need to access them.  Though if you want 
> to drop the underscores entirely in some places, that's fine, too.  Also 
> feel free to use properties where that makes sense."
> 
> Cheers,
> -- 
> Shawn Walker
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to