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 meador.inge
Recipients mark.dickinson, meador.inge, ronaldoussoren, tarek
Date 2010-02-24.06:30:17
SpamBayes Score 1.65204e-09
Marked as misclassified No
Message-id <1266993020.26.0.898258026274.issue7958@psf.upfronthosting.co.za>
In-reply-to
Content
I am seeing the same problem with 32-bit on OS X 10.5:

euclid:trunk minge$ ./python.exe Lib/test/regrtest.py -uall test_platform
test_platform
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/minge/Work/Languages/python/trunk/Lib/platform.py", line 1017, in architecture
    import struct
  File "/Users/minge/Work/Languages/python/trunk/Lib/struct.py", line 1, in <module>
    from _struct import *
ImportError: No module named _struct
test test_platform failed -- Traceback (most recent call last):
  File "/Users/minge/Work/Languages/python/trunk/Lib/test/test_platform.py", line 24, in test_architecture_via_symlink
    self.assertEqual(get(real), get(link))
AssertionError: Tuples differ: ("('32bit', '')\n", None) != ('', None)

First differing element 0:
('32bit', '')



- ("('32bit', '')\n", None)
+ ('', None)

1 test failed:
    test_platform


The proposed patch seems reasonable.  I verified that it fixed the problem for 10.5.
History
Date User Action Args
2010-02-24 06:30:20meador.ingesetrecipients: + meador.inge, ronaldoussoren, mark.dickinson, tarek
2010-02-24 06:30:20meador.ingesetmessageid: <1266993020.26.0.898258026274.issue7958@psf.upfronthosting.co.za>
2010-02-24 06:30:18meador.ingelinkissue7958 messages
2010-02-24 06:30:17meador.ingecreate