deadmenace / shedskin

Automatically exported from code.google.com/p/shedskin
0 stars 0 forks source link

os.path.isdir not working on windows #200

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Dear Mark,
My issue of the day :)

What steps will reproduce the problem?
1. in a shell
mkdir Debug
touch Debug/file1 
touch Debug/file2

2. compile that with shedskin and execute it
import os
if os.path.isdir("Debug"):
  print "isdir: true"
else:
  print "isdir: false"

What is the expected output? What do you see instead?
expected true, observed false

What version of the product are you using? On what operating system?
shedskin 0.9.4
windows xp

Original issue reported on code.google.com by akato...@gmail.com on 7 Mar 2014 at 11:01

GoogleCodeExporter commented 9 years ago
thanks a lot for reporting! will investigate.

Original comment by mark.duf...@gmail.com on 7 Mar 2014 at 11:24

GoogleCodeExporter commented 9 years ago
just tried exactly this, 0.9.4 under windows xp, but it works here.. ? 

Original comment by mark.duf...@gmail.com on 16 Mar 2014 at 4:16