Comment on Python bug: Can assign [] = (), but not () = []parentComments−teddyh11yAfter “import ctypes”, all bets are off.−IsTom11yThere are ways to mark memory pages as read-only. It's not even difficult.−rjaco3111yWhy would you do that? That code is working perfectly as intended, the user is allowed to do that
Comments
After “import ctypes”, all bets are off.
There are ways to mark memory pages as read-only. It's not even difficult.
Why would you do that? That code is working perfectly as intended, the user is allowed to do that