Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update _ctypes.c
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
  • Loading branch information
ZeroIntensity and picnixz authored Oct 12, 2026
commit aa2eda8c0167f5a3cc553aaa781eef8a439314f4
7 changes: 2 additions & 5 deletions Modules/_ctypes/_ctypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -4983,13 +4983,10 @@ Array_init(PyObject *self, PyObject *args, PyObject *kw)
if (mp != NULL && mp->mp_ass_subscript == Array_ass_subscript) {
int result = 0;
Py_BEGIN_CRITICAL_SECTION(self);
for (i = 0; i < n; ++i) {
for (i = 0; result >= 0 && i < n; ++i) {
PyObject *v = PyTuple_GET_ITEM(args, i);
assert(v != NULL);
if (Array_ass_item_lock_held(self, i, v) < 0) {
result = -1;
break;
}
result = Array_ass_item_lock_held(self, i, v);
}
Py_END_CRITICAL_SECTION();
return result;
Expand Down
Loading