New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove old-deprecated plistlib features #73382
Comments
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:
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. |
These classes was deprecated in 2.4. In 2.6 the plistlib module was moved from plat-mac to the general stdlib library. |
What are your thoughts about this Ronald? |
Ronald, I'm curious about why was the attribute access capability was ever deprecated. That capability seemed nice to have. |
Too bad the checkin message didn't say why the feature was deprecated. That said, if anyone cared, they would have spoken-up by now. |
I don't know why the feature was deprecated, is was deprecated a long time ago by Just. I agree that the feature is convenient at times, but it is also different from how dicts are generally used. BTW. I'm in favour of removing the feature, not having this deprecated feature makes the library easier to understand and maintain. P.S. plistlib was not introduced in 2.6, but in 2.3. In 2.3 it was part of the MacOS library (Lib/plat-mac) and in 2.6 it was migrated to the regular stdlib. |
If the capability of the former plistlib.Dict class is useful, it would be better to provide it for general use in modules collections or types. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: