Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os.path.exists inconsistent between 32 bit and 64 bit #58139

Closed
zxw mannequin opened this issue Feb 3, 2012 · 4 comments
Closed

os.path.exists inconsistent between 32 bit and 64 bit #58139

zxw mannequin opened this issue Feb 3, 2012 · 4 comments
Labels
OS-windows type-bug An unexpected behavior, bug, or error

Comments

@zxw
Copy link
Mannequin

zxw mannequin commented Feb 3, 2012

BPO 13931
Nosy @tjguk

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2012-02-03.17:03:09.688>
created_at = <Date 2012-02-03.15:44:56.164>
labels = ['type-bug', 'invalid', 'OS-windows']
title = 'os.path.exists inconsistent between 32 bit and 64 bit'
updated_at = <Date 2012-02-06.12:46:57.279>
user = 'https://bugs.python.org/zxw'

bugs.python.org fields:

activity = <Date 2012-02-06.12:46:57.279>
actor = 'zxw'
assignee = 'none'
closed = True
closed_date = <Date 2012-02-03.17:03:09.688>
closer = 'zxw'
components = ['Windows']
creation = <Date 2012-02-03.15:44:56.164>
creator = 'zxw'
dependencies = []
files = []
hgrepos = []
issue_num = 13931
keywords = []
message_count = 4.0
messages = ['152524', '152527', '152542', '152733']
nosy_count = 2.0
nosy_names = ['tim.golden', 'zxw']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue13931'
versions = ['Python 2.7']

@zxw
Copy link
Mannequin Author

zxw mannequin commented Feb 3, 2012

When I run the following line while the 32 bit version of python is installed it returns false, however with the 64 bit version it correctly returns true.
os.path.exists('C:\\Windows\\System32\\msg.exe')

I'm using Python 2.7.2 with Windows 7 Professional 64bit.

@zxw zxw mannequin added OS-windows type-bug An unexpected behavior, bug, or error labels Feb 3, 2012
@tjguk
Copy link
Member

tjguk commented Feb 3, 2012

This is the Windows x64 file system redirector at work. I can't get
through to msdn at the moment to get a link, but Google for those
terms.

@zxw
Copy link
Mannequin Author

zxw mannequin commented Feb 3, 2012

Ok, thanks, that fixed it. I'll probably post some example code for anyone else who stumbles across this with the same problem, don't have the time right now however.

@zxw zxw mannequin closed this as completed Feb 3, 2012
@zxw
Copy link
Mannequin Author

zxw mannequin commented Feb 6, 2012

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants