aio-libs / aio-libs/multidict

Support genuine free-threaded mode

Đang mở
#1,432 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
492
Fork
129
Merge trung bình
14 giờ 28 phút
Pull request đã merge (30 ngày)
35

Mô tả

This complex task covers many C functions for MultiDict (and family) methods and slots.

Some of them are trivial and could be solved by wrapping the call in a critical section, for example, ' repr '.

But applying critical sections to all methods kills performance.

The pragmatic approach should combine critical sections with atomic operations, as CPython does for `dict`.

I expect a bunch of PRs for this issue. Let's eat the elephant piece by piece.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.