On 13 Jun 2014 08:59, "Don Spaulding" <donspauldin...@gmail.com> wrote: > > Hi there, > > I just started testing a project of mine on Python 3.4.0b1. I ran into a change that broke compatibility with the logging module in 3.3. > > The basic test is: > > $ py34/bin/python -c 'import logging; print(logging.getLevelName("debug".upper()))' > Level DEBUG > > $ py33/bin/python -c 'import logging; print(logging.getLevelName("debug".upper()))' > 10 > > I quickly stumbled upon this webpage: > > http://aazza.github.io/2014/05/31/testing-on-multiple-versions-of-Python/ > > Which led me to this ticket regarding the change: > > http://bugs.python.org/issue18046 > > Is this a bug or an intentional break? If it's the latter, shouldn't this at least be mentioned in the "What's new in Python 3.4" document? If it's the former, should I file a bug?
Yes, it sounds like a bug to me - there's no indication of an intent to change behaviour with that cleanup patch. Cheers, Nick. > > Thanks, > Don > > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com >
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com