This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients amaury.forgeotdarc, benjamin.peterson, ericp, pitrou
Date 2011-09-01.19:54:03
SpamBayes Score 9.005259e-06
Marked as misclassified No
Message-id <1314906844.47.0.854814157394.issue12878@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure why that is. Note that you can still set and get arbitrary attributes, so there must be a dict somewhere, but it isn't exposed. Also, there wasn't any significant change in StringIO in the 3.1 line.
Benjamin, do you have any idea?

>>> s = io.StringIO()
>>> s.x = 5
>>> s.x
5
>>> s.__dict__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: '_io.StringIO' object has no attribute '__dict__'
History
Date User Action Args
2011-09-01 19:54:04pitrousetrecipients: + pitrou, amaury.forgeotdarc, benjamin.peterson, ericp
2011-09-01 19:54:04pitrousetmessageid: <1314906844.47.0.854814157394.issue12878@psf.upfronthosting.co.za>
2011-09-01 19:54:03pitroulinkissue12878 messages
2011-09-01 19:54:03pitroucreate