This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add script to build many glibc configurations


On 14 Nov 2016 15:22, Joseph Myers wrote:
> On Mon, 14 Nov 2016, Mike Frysinger wrote:
> > > +class Context:
> > 
> > please no old style classes.  all of them should inherit object.
> > 	class Context(object):
> 
> There's no such thing as an old-style class in Python 3 (and this script 
> requires 3.5 or later); inheritance from object happens by default.

the py3 behavior is irrelevant to the style choice: the object inherit
should be explicit regardless.
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]