Message86181
It looks as though this was sort-of fixed sometime between 2.6.1 and
2.6.2. In 2.6.2, I get the following (and results from trunk and 3.0.1
are similar):
Python 2.6.2+ (release26-maint:71755, Apr 19 2009, 22:06:02)
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import struct
>>> struct.pack('L', 'not an integer')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for &: 'str' and 'long'
That error message suggests that there's something nasty happening
somewhere, though. It looks as though we're getting the right type of
exception, but for the wrong reasons. |
|
Date |
User |
Action |
Args |
2009-04-19 21:10:47 | mark.dickinson | set | recipients:
+ mark.dickinson, theller, ajaksu2, vdupras |
2009-04-19 21:10:47 | mark.dickinson | set | messageid: <1240175447.43.0.871452977964.issue1741130@psf.upfronthosting.co.za> |
2009-04-19 21:10:46 | mark.dickinson | link | issue1741130 messages |
2009-04-19 21:10:45 | mark.dickinson | create | |
|