Message387395
> Isn't `PyUnicode_GET_LENGTH(text) < self->chunk_size` enough?
Yes, that's simpler, except with `<=`" instead of `<`, since the maximum count is chunk_size when pending_bytes is a list or ASCII string. When I wrote the more complex check, I did't take into account that pending_bytes would be flushed anyway if it causes pending_bytes_count to exceed chunk_size. |
|
Date |
User |
Action |
Args |
2021-02-20 06:43:44 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, methane, zach.ware, steve.dower, Ramin Farajpour Cami |
2021-02-20 06:43:44 | eryksun | set | messageid: <1613803424.32.0.176758109612.issue43260@roundup.psfhosted.org> |
2021-02-20 06:43:44 | eryksun | link | issue43260 messages |
2021-02-20 06:43:44 | eryksun | create | |
|