Message336232
| Author | salty-horse |
|---|---|
| Recipients | matrixise, ronaldoussoren, salty-horse, serhiy.storchaka |
| Date | 2019-02-21.15:44:10 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1550763851.01.0.78175386072.issue36065@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
My use-case is modifying existing code that supports bytes to also support bytearray. https://github.com/mongodb/mongo-python-driver/blob/9902d239b4e557c2a657e8c8110f7751864cec95/bson/_cbsonmodule.c#L1112 The buffer protocol, which I didn't know of, feels slightly complicated for my use-case. For now I opted to adding these macros myself, only changing 3 lines. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-02-21 15:44:11 | salty-horse | set | recipients: + salty-horse, ronaldoussoren, serhiy.storchaka, matrixise |
| 2019-02-21 15:44:11 | salty-horse | set | messageid: <1550763851.01.0.78175386072.issue36065@roundup.psfhosted.org> |
| 2019-02-21 15:44:11 | salty-horse | link | issue36065 messages |
| 2019-02-21 15:44:10 | salty-horse | create | |