This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients ocean-city
Date 2008-09-03.07:04:21
SpamBayes Score 0.0001074113
Marked as misclassified No
Message-id <1220425463.91.0.558268824215.issue3762@psf.upfronthosting.co.za>
In-reply-to
Content
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')
History
Date User Action Args
2008-09-03 07:04:24ocean-citysetrecipients: + ocean-city
2008-09-03 07:04:23ocean-citysetmessageid: <1220425463.91.0.558268824215.issue3762@psf.upfronthosting.co.za>
2008-09-03 07:04:22ocean-citylinkissue3762 messages
2008-09-03 07:04:22ocean-citycreate