Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

PEP 391 - Please Vote!

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


vinay_sajip at yahoo

Jan 14, 2010, 1:23 AM

Post #1 of 12 (1392 views)
Permalink
PEP 391 - Please Vote!

In October 2009 I created PEP 391 to propose a new method of configuring logging using dictionaries:

http://www.python.org/dev/peps/pep-0391/

In November 2009 I posted to this list that the PEP was ready for review.

I have had numerous helpful comments from some of you, and I have incorporated most of them into updates to the PEP. Though I have the feeling from community discussions that the PEP has been generally favourably received - well I would think that, wouldn't I? ;-) - I've not asked for a vote and so I don't know the state of community consensus regarding this PEP.

So, can you please indicate your vote for or against incorporating PEP 391 into Python? It would be nice if I could incorporate the changes before 2.7a3 is released! Ideally, I would like to check in the changes unless there are objections to doing so. All those who think that logging is currently hard to configure will benefit from these changes, so here's the opportunity to pipe up and improve things.

Thanks & regards,

Vinay Sajip





_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ziade.tarek at gmail

Jan 14, 2010, 1:30 AM

Post #2 of 12 (1329 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

On Thu, Jan 14, 2010 at 10:23 AM, Vinay Sajip <vinay_sajip [at] yahoo> wrote:
[..]
> So, can you please indicate your vote for or against incorporating PEP 391 into Python? It would
> be nice if I could incorporate the changes before 2.7a3 is released! Ideally, I would like to check
> in the changes unless there are objections to doing so. All those who think that logging is currently
> hard to configure will benefit from these changes, so here's the opportunity to pipe up and
> improve things.


FWIW, I am +1. Thanks for your work

Tarek
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


hodgestar+pythondev at gmail

Jan 14, 2010, 1:39 AM

Post #3 of 12 (1329 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

On Thu, Jan 14, 2010 at 11:23 AM, Vinay Sajip <vinay_sajip [at] yahoo> wrote:
> So, can you please indicate your vote for or against incorporating PEP 391 into Python?

I think the dict configuration scheme will be a great addition to the
logging module. :)

Schiavo
Simon
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


p.f.moore at gmail

Jan 14, 2010, 3:22 AM

Post #4 of 12 (1330 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

2010/1/14 Vinay Sajip <vinay_sajip [at] yahoo>:
> So, can you please indicate your vote for or against incorporating PEP 391 into Python?

I've no immediate need for the feature, but it would be good to have
something like this, so I'm +1.
Paul.
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ncoghlan at gmail

Jan 14, 2010, 3:46 AM

Post #5 of 12 (1330 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

Paul Moore wrote:
> 2010/1/14 Vinay Sajip <vinay_sajip [at] yahoo>:
>> So, can you please indicate your vote for or against incorporating PEP 391 into Python?
>
> I've no immediate need for the feature, but it would be good to have
> something like this, so I'm +1.

I'm in the same boat as Paul, but PEP 291 provides a nice forward
compatible configuration scheme that will work with any application
configuration approach that can produce an appropriate Python dictionary.

So +1 from me too - I think the PEP has now taken this as far as
theorising can go, and the only way to learn anything further is to put
it into practice.

Cheers,
Nick.

--
Nick Coghlan | ncoghlan [at] gmail | Brisbane, Australia
---------------------------------------------------------------
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ncoghlan at gmail

Jan 14, 2010, 3:57 AM

Post #6 of 12 (1330 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

Vinay Sajip wrote:
> In October 2009 I created PEP 391 to propose a new method of
> configuring logging using dictionaries:
>
> http://www.python.org/dev/peps/pep-0391/

Although one minor comment: you can probably remove the note about the
"ext://" and "cfg://" prefixes being provisional at this stage. Those
names look fine to me, so I don't see any point inviting a late-breaking
bikeshed discussion about them.

Cheers,
Nick.

--
Nick Coghlan | ncoghlan [at] gmail | Brisbane, Australia
---------------------------------------------------------------
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


jnoller at gmail

Jan 14, 2010, 5:53 AM

Post #7 of 12 (1330 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

On Thu, Jan 14, 2010 at 4:23 AM, Vinay Sajip <vinay_sajip [at] yahoo> wrote:
> In October 2009 I created PEP 391 to propose a new method of configuring logging using dictionaries:
>
>  http://www.python.org/dev/peps/pep-0391/
>
> In November 2009 I posted to this list that the PEP was ready for review.
>
> I have had numerous helpful comments from some of you, and I have incorporated most of them into updates to the PEP. Though I have the feeling from community discussions that the PEP has been generally favourably received - well I would think that, wouldn't I? ;-) - I've not asked for a vote and so I don't know the state of community consensus regarding this PEP.
>
> So, can you please indicate your vote for or against incorporating PEP 391 into Python? It would be nice if I could incorporate the changes before 2.7a3 is released! Ideally, I would like to check in the changes unless there are objections to doing so. All those who think that logging is currently hard to configure will benefit from these changes, so here's the opportunity to pipe up and improve things.
>
> Thanks & regards,
>
> Vinay Sajip

I'm generally +1 - but given I know that Django 1.2 is slated to
implement something somewhat similar, I'm interested to hear how this
proposal meshes with their plan(s).

jesse
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


vinay_sajip at yahoo

Jan 14, 2010, 6:08 AM

Post #8 of 12 (1330 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

> From: Jesse Noller <jnoller [at] gmail>

> I'm generally +1 - but given I know that Django 1.2 is slated to
> implement something somewhat similar, I'm interested to hear how this
> proposal meshes with their plan(s)..

Django 1.2 will most likely not implement logging - they're now in feature freeze for big features. See Russ Magee's post:

http://groups.google.com/group/django-developers/msg/4ef81a2160257221

They're waiting for a Python decision and (from Russ Magee's post) seem to be in favour of the changes proposed in PEP 391. If we get these changes into Python soon, then Django 1.3 may be able to make use of them in its logging (which encompasses not just configuring Django logging in a settings.py, but also using logging internally throughout Django where it makes sense to do so).

Assuming PEP 391 gets the nod, then after implementing the changes into Python, I plan to work with the Django community to get improved logging support in Django for 1.3.

Regards,

Vinay Sajip




_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ssteinerx at gmail

Jan 14, 2010, 6:54 AM

Post #9 of 12 (1325 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

On Jan 14, 2010, at 9:08 AM, Vinay Sajip wrote:

>> From: Jesse Noller <jnoller [at] gmail>
>
>> I'm generally +1 - but given I know that Django 1.2 is slated to
>> implement something somewhat similar, I'm interested to hear how this
>> proposal meshes with their plan(s)..
>
> Django 1.2 will most likely not implement logging - they're now in feature freeze for big features. See Russ Magee's post:
>
> http://groups.google.com/group/django-developers/msg/4ef81a2160257221
>
> They're waiting for a Python decision and (from Russ Magee's post) seem to be in favour of the changes proposed in PEP 391. If we get these changes into Python soon, then Django 1.3 may be able to make use of them in its logging (which encompasses not just configuring Django logging in a settings.py, but also using logging internally throughout Django where it makes sense to do so).
>
> Assuming PEP 391 gets the nod, then after implementing the changes into Python, I plan to work with the Django community to get improved logging support in Django for 1.3.

That puts a huge +1 on there for me.

If we can get this approved and have Django's logging improved *and* avoid a whole pile of duplicate effort in Django that's a huge win.

S

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


jnoller at gmail

Jan 14, 2010, 6:56 AM

Post #10 of 12 (1324 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

On Thu, Jan 14, 2010 at 9:08 AM, Vinay Sajip <vinay_sajip [at] yahoo> wrote:
>> From: Jesse Noller <jnoller [at] gmail>
>
>> I'm generally +1 - but given I know that Django 1.2 is slated to
>> implement something somewhat similar, I'm interested to hear how this
>> proposal meshes with their plan(s)..
>
> Django 1.2 will most likely not implement logging - they're now in feature freeze for big features. See Russ Magee's post:
>
> http://groups.google.com/group/django-developers/msg/4ef81a2160257221
>
> They're waiting for a Python decision and (from Russ Magee's post) seem to be in favour of the changes proposed in PEP 391. If we get these changes into Python soon, then Django 1.3 may be able to make use of them in its logging (which encompasses not just configuring Django logging in a settings.py, but also using logging internally throughout Django where it makes sense to do so).
>
> Assuming PEP 391 gets the nod, then after implementing the changes into Python, I plan to work with the Django community to get improved logging support in Django for 1.3.
>
> Regards,
>
> Vinay Sajip
>

Cool, +1 then :)
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


guido at python

Feb 3, 2010, 11:41 AM

Post #11 of 12 (802 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

On Thu, Jan 14, 2010 at 6:56 AM, Jesse Noller <jnoller [at] gmail> wrote:
> On Thu, Jan 14, 2010 at 9:08 AM, Vinay Sajip <vinay_sajip [at] yahoo> wrote:
>>> From: Jesse Noller <jnoller [at] gmail>
>>
>>> I'm generally +1 - but given I know that Django 1.2 is slated to
>>> implement something somewhat similar, I'm interested to hear how this
>>> proposal meshes with their plan(s)..
>>
>> Django 1.2 will most likely not implement logging - they're now in feature freeze for big features. See Russ Magee's post:
>>
>> http://groups.google.com/group/django-developers/msg/4ef81a2160257221
>>
>> They're waiting for a Python decision and (from Russ Magee's post) seem to be in favour of the changes proposed in PEP 391. If we get these changes into Python soon, then Django 1.3 may be able to make use of them in its logging (which encompasses not just configuring Django logging in a settings.py, but also using logging internally throughout Django where it makes sense to do so).
>>
>> Assuming PEP 391 gets the nod, then after implementing the changes into Python, I plan to work with the Django community to get improved logging support in Django for 1.3.
>>
>> Regards,
>>
>> Vinay Sajip
>>
>
> Cool, +1 then :)

<nod>

Having read the PEP I heartily approve. The PEP can be moved to
Accepted state. This can be implemented in Python 2.7 and 3.2, right?

--
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


olemis at gmail

Feb 3, 2010, 12:00 PM

Post #12 of 12 (806 views)
Permalink
Re: PEP 391 - Please Vote! [In reply to]

On Thu, Jan 14, 2010 at 4:23 AM, Vinay Sajip <vinay_sajip [at] yahoo> wrote:
> In October 2009 I created PEP 391 to propose a new method of configuring logging using dictionaries:
>
>  http://www.python.org/dev/peps/pep-0391/
>
> In November 2009 I posted to this list that the PEP was ready for review.
>
> I have had numerous helpful comments from some of you, and I have incorporated most of them into updates to the PEP. Though I have the feeling from community discussions that the PEP has been generally favourably received - well I would think that, wouldn't I? ;-) - I've not asked for a vote and so I don't know the state of community consensus regarding this PEP.
>
> So, can you please indicate your vote for or against incorporating PEP 391 into Python? It would be nice if I could incorporate the changes before 2.7a3 is released! Ideally, I would like to check in the changes unless there are objections to doing so. All those who think that logging is currently hard to configure will benefit from these changes, so here's the opportunity to pipe up and improve things.
>

Probably the only thing that I found a little bit weird is the use of
`()` for custom instances (no big deal ;o).

In general I think it's great !!!

--
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
TracGViz plugin downloaded more than 1000 times (> 300 from PyPI) -
http://feedproxy.google.com/~r/simelo-en/~3/06Exn-JPLIA/tracgviz-plugin-downloaded-more-than.html
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.