[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 07/16] Change all internal functions that use __METHOD to use _METHOD. __METHOD's.



On Tue, Apr 02, 2013 at 06:11:23PM -0400, Dan Walsh wrote:
> Python makes assumptions about __METHOD names that will break some of the
> other patches that I am adding, involving inheritance of classes.  The _METHODS are
> treated the same as any methods, but still give maintainers an idea that they
> should not be used.

None of this code is public API, so I'm not sure there's any point
in even using '_' - everything is internal. So I'd just remove all
use of leading '_' in method names.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]