[issue8869] execfile does not work with UNC paths

2010-06-22 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8869 ___

[issue8869] execfile does not work with UNC paths

2010-06-01 Thread stier08
New submission from stier08 stie...@gmail.com: execfile() builtin function does not work with UNC paths on Windows platform (Windows 7 x64 has been tested, python 2.6.5) Since standard IO operations successfully process UNC paths, therefore this behavior of execfile() seems to be a bug. Code

[issue8869] execfile does not work with UNC paths

2010-06-01 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Since execfile is basically shorthand for exec (open (filename).read ()), and since open (filename) *does* support the full range of filepath syntax on Windows, and since execfile has been removed in py3k in favour of exec (open ...)), and since

[issue8869] execfile does not work with UNC paths

2010-06-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Reproduced on WinXP. execfile() does not work because it calls the system function stat(); this function does accept UNC paths (like \\machine\share\file), but not paths which contain a wildcard character ('?' or '*') I suggest to

[issue8869] execfile does not work with UNC paths

2010-06-01 Thread stier08
stier08 stie...@gmail.com added the comment: yep exec (open (...)) is OK here thanks -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8869 ___ ___