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

Re: [PATCH] don't dump private data members



On Fri, 2008-11-07 at 16:58 -0500, Ignacio Vazquez-Abrams wrote:
> On Fri, 2008-11-07 at 10:58 -0600, Dave Lehman wrote:
> > ... I stumbled onto a much simpler solution:
> > just make passphrase member into __passphrase...
> 
> *cringe*
> 
> Is there any good reason to prepend a double underscore instead of a
> single underscore?
> 
> I'm just kidding, that was a trick question. No, there isn't. Please use
> a single underscore instead. It will lead to fewer problems down the
> road.

I apologize for the tone of my message. We Pythonistas tend to get a
bit... agitated whenever anyone suggests starting attributes with a
double underscore. But the argument still stands.

-- 
Ignacio Vazquez-Abrams <ivazqueznet gmail com>

PLEASE don't CC me; I'm already subscribed

Attachment: signature.asc
Description: This is a digitally signed message part


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