Closed aisk closed 7 months ago
The update introduces a conditional import of importlib.abc
in the thriftpy2
package, specifically within the hook.py
file. This change is designed to ensure compatibility across different Python versions, targeting Python 3.4 and newer. By adapting the import behavior based on the Python version, the modification enhances the module's flexibility and usability across various environments.
File | Summary of Changes |
---|---|
thriftpy2/hook.py |
Conditionally imports importlib.abc for Python versions 3.4 and above, affecting ThriftImporter . |
🐇✨
In the realm of code, where the rabbits hop,
A change was made, not a lot, just a drop.
importlib.abc
, now comes when it's time,
For Python 3.4 and above, it's prime.
So hop along, code, with ease and grace,
With every version, you'll find your place.
🌟🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Since this is an emergency fix, I'd merge this immediately and publish a new version without any review.
Summary by CodeRabbit
importlib.abc
in the Thrift module handling.