Message284925
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. |
|
Date |
User |
Action |
Args |
2017-01-07 16:52:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ronaldoussoren |
2017-01-07 16:52:20 | serhiy.storchaka | set | messageid: <1483807940.54.0.471253591392.issue29196@psf.upfronthosting.co.za> |
2017-01-07 16:52:20 | serhiy.storchaka | link | issue29196 messages |
2017-01-07 16:52:20 | serhiy.storchaka | create | |
|