Message144817
| Author |
vstinner |
| Recipients |
mark.dickinson, meador.inge, pitrou, skrah, vstinner |
| Date |
2011年10月03日.13:34:27 |
| SpamBayes Score |
0.0007822888 |
| Marked as misclassified |
No |
| Message-id |
<4E89B9E1.3020801@haypocalc.com> |
| In-reply-to |
<1317638074.27.0.573358700089.issue13072@psf.upfronthosting.co.za> |
| Content |
> The automatic conversion of 'u' to 'I' or 'L' causes test_buffer
> (PEP-3118 repo) to fail:
>
>
> # Not implemented formats. Ugly, but inevitable. This is the same as
> # issue #2531: equality is also used for membership testing and must
> # return a result.
> a = array.array('u', 'xyz')
> v = memoryview(a)
> self.assertNotEqual(v, a)
> self.assertNotEqual(a, v)
I don't understand: a buffer format is a format for the struct module,
or for the array module? |
|