Message140845
| Author |
py.user |
| Recipients |
py.user, terry.reedy |
| Date |
2011年07月22日.00:22:43 |
| SpamBayes Score |
0.0026274708 |
| Marked as misclassified |
No |
| Message-id |
<1311294165.48.0.234623784374.issue12606@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I happen to prefer del myself
> but I agree that the two mutable sequence classes should behave the same.
del is not so flexible as assignement
>>> cmpr = [bytearray(i.encode('ascii')) for i in ('abcd', 'efgh', 'ijkl')]
>>> cmpr
[bytearray(b'abcd'), bytearray(b'efgh'), bytearray(b'ijkl')]
>>> cmpr[0][::-2] = cmpr[1][::2] = cmpr[2][1::2] = ()
>>> cmpr
[bytearray(b'ac'), bytearray(b'fh'), bytearray(b'ik')]
>>> |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月22日 00:22:45 | py.user | set | recipients:
+ py.user, terry.reedy |
| 2011年07月22日 00:22:45 | py.user | set | messageid: <1311294165.48.0.234623784374.issue12606@psf.upfronthosting.co.za> |
| 2011年07月22日 00:22:44 | py.user | link | issue12606 messages |
| 2011年07月22日 00:22:43 | py.user | create |
|