Shashwat Anand <anand.shash...@gmail.com> added the comment: Seems fine to me, does not raise any errors. My OS is OS X Snow Leopard. I checked it in python 2.5, 2.6, 2.7 too, no issues raised.
Shashwat-Anands-MacBook-Pro:test l0nwlf$ python2.6 Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os,logging >>> logging.basicConfig(level=logging.CRITICAL, ... format='%(asctime)s %(levelname)-8s %(message)s', ... datefmt='%a, %d %b %Y %H:%M:%S', ... filename=os.devnull, ... filemode='w') >>> ---------- nosy: +l0nwlf _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7909> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com