[stdlib-sig] logging

Brett Cannon brett at python.org
Mon Oct 12 01:30:04 CEST 2009

On Sun, Oct 11, 2009 at 15:04, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:

> Ben Finney <ben+python at ...> writes:
> > I think you mean “python_pep8_style_underscored_names”
> >
> > How would these names be provided? As simple ‘fooName = foo_name’? Or
> > would the PEP-8 one be preferred, deprecating the non-conformant name?
> I don't see any need for deprecation, as it's a personal preference rather
> than
> anything else. And yes, just a 'foo_name = fooName' is what I was thinking
> of.
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.

> Now, this has come up in the past and Guido has said he doesn't think it's
> really worth doing. Personally, it only makes sense to me if this is going
> to be
> done for the whole of the stdlib which isn't PEP-8 conformant. And you have
> to
> question whether the time to be spent on this couldn't be spent on some
> *real*
> improvements ;-)

I agree. This would be more of a Py4k thing then bothering with it in Python
3 now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/stdlib-sig/attachments/20091011/d60ac4f0/attachment.htm>

More information about the stdlib-sig mailing list