New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I created symbolic link to python.exe as dummy.exe on cygwin. But I noticed platform.architecture() printed ('32bit', '')
$ ./dummy Python 2.6b3+ (trunk:66166M, Sep 3 2008, 06:43:59) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> import platform >>> platform._follow_symlinks("dummy.exe") '/home/WhiteRabbit/python-dev/trunk/dummy.exe/python.exe' >>> Is this _follow_symlinks's intended behavior? If no, I hope attached patch will fix problem. Now platform.architecture() prints ('32bit', 'WindowsPE') ---------- messages: 72376 nosy: ocean-city severity: normal status: open title: platform.architecture() fails if python is lanched via its symbolic link (cygwin) versions: Python 2.5, Python 2.6, Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3762> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com