[issue7909] os.path.abspath(os.devnull) returns \\\\nul should be nul?
Shashwat Anand
report at bugs.python.org
Fri Feb 12 18:44:06 CET 2010
Shashwat Anand <anand.shashwat at 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 <report at bugs.python.org>
<http://bugs.python.org/issue7909>
_______________________________________
More information about the Python-bugs-list
mailing list