python: os.path.isdir return false for directory with dot on end
<p>Windows 7, python 2.6.6, 2.7</p>

<p>Create directory 'c:\1\test.'</p>

<p>Try check if it is dir or file, but it is neither:</p>

<pre><code>&gt;&gt;&gt; os.listdir('c:/1')
['test.']
&gt;&gt;&gt; os.path.isdir('c:/1')
True
&gt;&gt;&gt; os.path.exists('c:/1/test.')
False
&gt;&gt;&gt; os.path.isdir('c:/1/test.')
False
&gt;&gt;&gt; os.path.isfile('c:/1/test.')
False
</code></pre>

<p>Why directory with . at end not recognized as file system entry at all? But I can obtain it from os.listdir.</p>
