- Notifications
You must be signed in to change notification settings - Fork5
Commitcfd9c87
committed
Only treat Python Lists as array dimensions.
Instead of treating all python sequence types as array dimensions, exceptfor tuples and various kinds of strings, only treat Python lists asdimensions. The PyBytes_Check() function used previously is only availableon Python 2.6 and newer, and it was a bit fiddly anyway. The list ofexceptions would require adjustment if Python got a new kind of a sequencesimilar to bytes/unicodes/strings, so only checking for Lists seems morefuture-proof. The documentation only mentioned using Lists, so this iscloser to what was documented, anyway.This should fix the buildfarm failures on systems building with Python 2.5,although I don't have Python 2.5 installed myself to test with.1 parent73c8e85 commitcfd9c87
1 file changed
+1
-9
lines changedLines changed: 1 addition & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
999 | 999 |
| |
1000 | 1000 |
| |
1001 | 1001 |
| |
1002 |
| - | |
1003 |
| - | |
1004 |
| - | |
1005 |
| - | |
1006 |
| - | |
1007 |
| - | |
1008 |
| - | |
1009 |
| - | |
1010 |
| - | |
| 1002 | + | |
1011 | 1003 |
| |
1012 | 1004 |
| |
1013 | 1005 |
| |
|
0 commit comments
Comments
(0)