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 serhiy.storchaka
Recipients serhiy.storchaka, user30111
Date 2018-12-14.22:56:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544828208.24.0.788709270274.issue35504@psf.upfronthosting.co.za>
In-reply-to
Content
PR 11172 makes deleting characters_written to be as for other non-special attributes. Deleting it will be successful only if it was set before, and will raise an AttributeError otherwise.

>>> e = OSError()
>>> e.characters_written = 1
>>> del e.characters_written
>>> del e.characters_written
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: characters_written
History
Date User Action Args
2018-12-14 22:56:48serhiy.storchakasetrecipients: + serhiy.storchaka, user30111
2018-12-14 22:56:48serhiy.storchakasetmessageid: <1544828208.24.0.788709270274.issue35504@psf.upfronthosting.co.za>
2018-12-14 22:56:48serhiy.storchakalinkissue35504 messages
2018-12-14 22:56:48serhiy.storchakacreate