Message220550
| Author |
Claudiu.Popa |
| Recipients |
Claudiu.Popa, daniel.urban, docs@python, ezio.melotti, georg.brandl, py.user, rhettinger |
| Date |
2014年06月14日.12:32:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1402749128.42.0.325328136004.issue12617@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This was fixed in the latest versions.
>>> b = bytearray(b'457')
>>> b[:1] = 4
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can assign only bytes, buffers, or iterables of ints in range(0, 256)
>>> |
|