Senthil Kumaran <orsent...@gmail.com> added the comment:

On Sat, Jun 19, 2010 at 08:00:55PM +0000, Shashwat Anand wrote:
> Why on Mac OS X, it should return s.lower() ?

That is is because some file systems on Mac OS X are case-sensitive.

> def normcase(s):
>     """Normalize case of pathname.  Has no effect under Posix"""
>     if s is None:  
>         raise AttributeError
>     return s

It should be a TypeError, not AttributeError. (Attached Test cases
checks it properly)

----------
nosy: +orsenthil

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9018>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to