Add support for restricting access based on restricted execution mode.
Renamed the 'readonly' field to 'flags' and defined some new flag bits: READ_RESTRICTED and WRITE_RESTRICTED, as well as a shortcut RESTRICTED that means both.
G
Guido van Rossum committed
c299fc16f2a8572780d2130ab9e55a6f22a93279
Parent: bf80a03