[stdlib-sig] logging

Vinay Sajip vinay_sajip at yahoo.co.uk
Mon Oct 12 07:49:21 CEST 2009


Brett Cannon <brett at ...> writes:

> I am not going to start up a discussion on moving logging or unittest over
> to PEP 8 standards, but I want to make clear it is not a personal preference
> thing but coding standards thing. Both the logging and unittest get a pass
> on not meeting our standard for historical reasons and that's it; nothing to
> do with personal preference.

Sorry, Brett, you're right. I wasn't trying to skirt around the importance of
having a common coding style. When I said "personal preference", I was
referring to the fact that some people get somewhat exercised about the issue,
to the extent that the word "hate" comes up in the discussion. Typically it's
not because they're PEP 8 zealots; more commonly, they're used to it from their
Unix/C experience and find the Pascal, Java,and C# conventions obnoxious.

I'm not personally tied to any convention, I normally work with the convention
for the project. Logging's divergence from PEP 8 is, as you say, historical,
and when the Py4K time comes around, I'll be rolling up my sleeves and getting
on with the conversion :-)

Regards,

Vinay Sajip



More information about the stdlib-sig mailing list