I'm also willing to change my mind, since I don't feel that strongly, and a
number of people in favor of __pari__ seem to care a lot.

There is still a nonzero cost to deprecation, since people will have to
change their code to update to the new convention.  But I don't think there
are that many users who are writing classes with a conversion to Pari.

In summary, I'll withdraw my vote for (1).
David

On Wed, Mar 15, 2017 at 7:25 PM, Erik Bray <erik.m.b...@gmail.com> wrote:

> On Wed, Mar 15, 2017 at 7:42 PM, Jeroen Demeyer <jdeme...@cage.ugent.be>
> wrote:
> > On 2017-03-15 19:00, Kwankyu Lee wrote:
> >>
> >> The following statement from PEP8 is quite definitive:
> >>
> >>     __double_leading_and_trailing_underscore__ : "magic" objects or
> >>     attributes that live in user-controlled namespaces. E.g. __init__ ,
> >>     __import__ or __file__ . Never invent such names; only use them as
> >>     documented.
> >
> >
> > That's true but I don't like that they don't say what you should use
> > instead. I think the alternatives are even worse (see my initial post in
> > this thread).
> >
> >> One minor "harm" that I can think of is that an uninitiated person may
> >> misunderstand __pari__ as a new python magic attribute and look for it
> >> in python manual :-)
> >
> >
> > Let me mention again that such names have been invented in the past, like
> > __array__ for NumPy. As far as I know, this is not at all controversial.
>
> I should add that in just the last 12 hours or so I changed my mind
> about this after listening to Jeroen and Luca argue about it all day
> and getting more context.
>
> I'm now +0.5 for __pari__, -0.0 for _pari_, whatever that means :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to