Message100891
| Author |
pitrou |
| Recipients |
effbot, flox, georg.brandl, pitrou, r.david.murray, scoder |
| Date |
2010年03月11日.23:01:20 |
| SpamBayes Score |
1.2729973e-08 |
| Marked as misclassified |
No |
| Message-id |
<20100311180107.50c1e4df@msiwind> |
| In-reply-to |
<1268345017.23.0.668251636636.issue8047@psf.upfronthosting.co.za> |
| Content |
Le 2010年3月11日 22:03:37 +0000,
Fredrik Lundh <report@bugs.python.org> a écrit :
>
> >>> import array
> >>> array.array("i", [1, 2, 3]).tostring()
> b'\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00'
The fact that array is old, rusty and slightly broken doesn't meen we
should propagate that brokenness to other Python modules.
Also, as David said, the fact that you think there is a bug
here doesn't mean everyone would agree.
Finally, the behaviour you seem to be looking for could be added
as a separated API or an optional method argument. Patches welcome. |
|