Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Backwards Incompatibility in logging module in 3.4?

Don Spauldingdonspauldingii at gmail.com
Fri Jun 13 00:38:26 CEST 2014


Hi there,I just started testing a project of mine on Python 3.4.0b1.  I ran into achange 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()))'    10I 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/issue18046Is this a bug or an intentional break?  If it's the latter, shouldn't thisat least be mentioned in the "What's new in Python 3.4" document?  If it'sthe former, should I file a bug?Thanks,Don-------------- next part --------------An HTML attachment was scrubbed...URL: <http://mail.python.org/pipermail/python-dev/attachments/20140612/8887808d/attachment.html>


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp