[issue9018] os.path.normcase(None) does not raise an error on linux and should

R. David Murray report at bugs.python.org
Thu Jun 17 15:40:16 CEST 2010


New submission from R. David Murray <rdmurray at bitdance.com>:

os.path.normcase(None) raises an error on Windows but returns None on linux.  os.path.abspath(None) raises an error in both cases.  os.path.normcase(None) should raise an error on linux.

I've only marked this for 3.2 because I suspect there may be linux code out there that this will break, so the fix should probably only be applied to 3.2.  (I discovered this because a unit test someone else wrote passed on linux but failed on windows.)

----------
keywords: easy
messages: 108016
nosy: r.david.murray
priority: normal
severity: normal
stage: unit test needed
status: open
title: os.path.normcase(None) does not raise an error on linux and should
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9018>
_______________________________________


More information about the Python-bugs-list mailing list