patches/Restricted: properly support StringIO

- this caused guarded_getattr to always allow attributes of instances of
old-style classes
- cStringIO.StringIO("initial value")
1 job for feat/restricted_collections in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.UnitTest-TestRunner2

04:39:34