Message108226
About the patch:
- Why not reading itemsize from buffer.itemsize?
- A test would be nice in Lib/test/test_array.py (in test_tofromstring?). Please add also a.extend(bytearray(b'xjxjx')) to the test suite.
I agree that it is a bugfix and so i can be applied to 3.1 (and 3.2).
--
> fromstring should become frombytes.
I remember an issue proposing that. I also prefer .frombytes() name: we can add .frombytes() and keep .fromstring() as an alias to .frombytes() (and maybe mark it as deprecated).
A message:
http://bugs.python.org/issue3565#msg71205
An issue starting at:
http://bugs.python.org/issue1023290#msg92069
Can someone open a issue about .frombytes()?
> fromunicode is still needed.
Can someone open a new issue about .fromunicodes()? |
|
Date |
User |
Action |
Args |
2010-06-20 08:53:30 | vstinner | set | recipients:
+ vstinner, terry.reedy, belopolsky, pitrou, tjollans |
2010-06-20 08:53:29 | vstinner | set | messageid: <1277024009.92.0.97505179033.issue8990@psf.upfronthosting.co.za> |
2010-06-20 08:53:27 | vstinner | link | issue8990 messages |
2010-06-20 08:53:27 | vstinner | create | |
|