Message214871
bytes objects have two things going for them:
- they have the full bytes API (all the startswith(), etc. methods) - not only buffer access
- they are immutable: you can keep an internal reference to a bytes object and be sure it won't change under your feet
This is especially handy when writing C code. |
|
Date |
User |
Action |
Args |
2014-03-25 23:35:21 | pitrou | set | recipients:
+ pitrou, vstinner, nikratio, serhiy.storchaka |
2014-03-25 23:35:21 | pitrou | set | messageid: <1395790521.66.0.810535160556.issue21057@psf.upfronthosting.co.za> |
2014-03-25 23:35:21 | pitrou | link | issue21057 messages |
2014-03-25 23:35:21 | pitrou | create | |
|