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 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 Thu, 11 Mar 2010 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.
History
Date User Action Args
2010-03-11 23:01:23pitrousetrecipients: + pitrou, effbot, georg.brandl, scoder, r.david.murray, flox
2010-03-11 23:01:20pitroulinkissue8047 messages
2010-03-11 23:01:20pitroucreate