Author serhiy.storchaka
Recipients ronaldoussoren, serhiy.storchaka
Date 2017-01-07.16:52:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483807940.54.0.471253591392.issue29196@psf.upfronthosting.co.za>
In-reply-to
Content
Seems many features of plistlib was deprecated from the start. The plistlib module was added in 2.6 and its code already contained deprecated features:

* The _InternalDict class is a dict subclass with implemented __getattr__/__setattr__/__delattr__ methods, but all these methods have been deprecated. Since deprecated methods shouldn't be used and they are not implemented in builting dict, _InternalDict can be replaced by builting dict.

* The Dict class has been deprecated. It doesn't used in the module. A user should use builting dict instead.

* The Plist class has been deprecated. It doesn't used in the module. A user should use module level functions instead of Plist methods.

It seems to me that all these classes can be removed. This doesn't break compatibility, since they were deprecated in 2.6. They are even not documented in 2.7.
History
Date User Action Args
2017-01-07 16:52:20serhiy.storchakasetrecipients: + serhiy.storchaka, ronaldoussoren
2017-01-07 16:52:20serhiy.storchakasetmessageid: <1483807940.54.0.471253591392.issue29196@psf.upfronthosting.co.za>
2017-01-07 16:52:20serhiy.storchakalinkissue29196 messages
2017-01-07 16:52:20serhiy.storchakacreate