[issue1115886] os.path.splitext don't handle unix hidden file correctly

2009-09-04 Thread Alexandru Munteanu
Alexandru Munteanu added the comment: I've read parts of the python-dev discussions, but I don't agree with this change: mimetypes.guess_type() now recognises '.ogg' as None. -- nosy: +optimix ___ Python tracker <

[issue6840] genericpath: _splitext returns '.ext', '' instead of '', '.ext'

2009-09-04 Thread Alexandru Munteanu
New submission from Alexandru Munteanu : Having a '.ogg' filename, _splitext returns '.ogg' as base and empty extension. Probably it should return empty base and '.ogg' extension. Lib/genericpath.py:99 - Why "skip all leading dots"