[socal-piggies] Best practice in naming a module that extends another

Warren Runk warren.runk at gmail.com
Wed Jun 22 15:18:18 PDT 2011


Yea aoldap lol

On Wed, Jun 22, 2011 at 2:45 PM, Daniel Greenfeld <pydanny at gmail.com> wrote:

> As always, +1 on what Grig suggests. :D
>
> Danny
>
> On Wed, Jun 22, 2011 at 2:33 PM, Grig Gheorghiu
> <grig.gheorghiu at gmail.com> wrote:
> > I seem to remember reading somewhere that in these cases one solution
> > is to prefix the module name with something unique to your
> > organization. In your case you could name it aol_ldap.py for example.
> > Or just aoldap ;-)
> >
> > On Wed, Jun 22, 2011 at 2:19 PM, Jathan McCollum <jathan at gmail.com>
> wrote:
> >> Hello!
> >>
> >> So I have this module I wrote that extends the interface to
> >> python-ldap, which is imported as 'ldap' when installed. I plan to
> >> bundle my new ldap wrapper into a package (e.g. aol.ldap).
> >>
> >> It will inevitably cause a problem if I name it ldap.py.  So I'm
> >> looking for feedback on how I should name this! Opinions, please!
> >>
> >> Things I've considered:
> >>
> >> ldapper.py
> >> _ldap.py
> >> ldap_.py
> >>
> >> None of them feel right.  Blah!
> >>
> >> --
> >> Jathan.
> >> --
> >>
> >> _______________________________________________
> >> socal-piggies mailing list
> >> socal-piggies at lists.idyll.org
> >> http://lists.idyll.org/listinfo/socal-piggies
> >>
> >
> > _______________________________________________
> > socal-piggies mailing list
> > socal-piggies at lists.idyll.org
> > http://lists.idyll.org/listinfo/socal-piggies
> >
>
>
>
> --
> 'Knowledge is Power'
> Daniel Greenfeld
> http://pydanny.com
> http://cartwheelweb.com
>
> _______________________________________________
> socal-piggies mailing list
> socal-piggies at lists.idyll.org
> http://lists.idyll.org/listinfo/socal-piggies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/socal-piggies/attachments/20110622/333b5e9b/attachment.htm>


More information about the socal-piggies mailing list