Message408942
These can be done in .__new__() method:
- create thread lock
- create (de)?compression context
- initialize (de)?compressor states
In .__init__() method, only set (de)?compression parameters. And prevent .__init__() method from being called multiple times.
This mode works fine in my pyzstd module (A Python bindings to zstd library).
But I think very few people will encounter this problem, we can leave it. |
|
Date |
User |
Action |
Args |
2021-12-20 03:23:36 | malin | set | recipients:
+ malin, vstinner, nadeem.vawda, martin.panter, serhiy.storchaka, Aaron1011, Oren Milman, izbyshev, corona10, ZackerySpytz |
2021-12-20 03:23:36 | malin | set | messageid: <1639970616.9.0.290451040703.issue23224@roundup.psfhosted.org> |
2021-12-20 03:23:36 | malin | link | issue23224 messages |
2021-12-20 03:23:36 | malin | create | |
|