[Python-Dev] Deprecate __ private (was Re: PEP 8 updates/clarifications)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Dec 13 01:23:07 CET 2005


Neal Norwitz wrote:

> I recently asked Guido about name mangling wrt Py3k.  He definitely
> wanted to keep it in.  Unless he changed his mind, I doubt he would
> deprecate it.  His rationale was that there needs to be a way to
> handle name collision with multiple inheritance.

Then maybe it should be beefed up to include the
module name somehow, so that it works reliably
(or at least more reliably than now).

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-Dev mailing list