_pydatetime.datetime has extra unnecessary slots #109495
Labels
3.13
new features, bugs and security fixes
performance
Performance or resource usage
stdlib
Python modules in the Lib dir
Bug report
Bug description:
Pre patch
Post patch
I had a look round for any other cases of this but couldn't find any just using a simple GitHub search. It might in the future be useful to use https://github.com/ariebovenberg/slotscheck (which I wasn't personally able to figure out how to run on cpython) in CI to prevent things like this in the future.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: