Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19164

Re: python logging filter limitation, looks intentional?

From Terry Reedy <tjreedy@udel.edu>
Subject Re: python logging filter limitation, looks intentional?
Date 2012-01-20 15:09 -0500
References (4 earlier) <4F151017.6020201@simplistix.co.uk> <1326797302.16852.YahooMailNeo@web25806.mail.ukl.yahoo.com> <4F173369.9010501@simplistix.co.uk> <mailman.4849.1326934249.27778.python-list@python.org> <3e4f47f7-ab4c-4a7e-a8ab-a280202c235a@v14g2000vbc.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.4893.1327090195.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 1/20/2012 2:17 PM, Vinay Sajip wrote:
> On Jan 19, 12:50 am, Terry Reedy<tjre...@udel.edu>  wrote:
>>
>>>> I don't want people to have to code differently for Python 3.3 and for
>>>> older versions.
>>
>> This is not a general policy, else we would never add new features ;-)
>> Do you plan to keep logging feature-frozen forever, or just for another
>> release? (I actually think is a good idea to fix bugs, tests, and docs
>> first.)
>
> Logging isn't by any means feature-frozen - new features are being
> added all the time, including non-trivial additions made in 2.7 and
> 3.2, and some more changes planned for 3.3 and already checked in. My
> comment was about the specific change proposed, which if implemented
> could lead to existing working third party code failing after a Python
> version upgrade. The proposed change isn't a new feature, it's a
> request for an existing feature to work differently.

Thank you for the clarification. I had not gotten that the request was 
for a change, which has a much higher bar to pass than feature 
additions. I was thinking of 'code differently' as in

if sys.version.split()[0] >= '3.3': <use snazzy new feature>
else: <use klutzy old workaround>

but that is not a 'have to' as long as the workaround still works.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: python logging filter limitation, looks intentional? Terry Reedy <tjreedy@udel.edu> - 2012-01-18 19:50 -0500
  Re: python logging filter limitation, looks intentional? Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-01-20 11:17 -0800
    Re: python logging filter limitation, looks intentional? Terry Reedy <tjreedy@udel.edu> - 2012-01-20 15:09 -0500
    Re: python logging filter limitation, looks intentional? Chris Withers <chris@simplistix.co.uk> - 2012-01-28 10:51 +0000
      Re: python logging filter limitation, looks intentional? Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-01-29 02:07 -0800

csiph-web