On 25/05/2023 12:23, Robin Becker wrote:
On 22/05/2023 22:04, Thomas Wouters wrote:
 > I'm pleased to announce the release of Python 3.12 beta 1 (and feature
 > freeze for Python 3.12).
 >
.......
I see a major difference between 3.12.0a7 and 3.12.0b1

Basically in preppy an importer is defined to handle imports of '.prep' files.

This worked as expected in the a7 version and fails in the b1. I put in some prints in the code and I see these calls for the a7 run> $ ~/LOCAL/3.12.0a7/bin/python3 test_import.py > sys.meta_path.insert(<preppy.installImporter.<locals>.PreppyImporter object at 0x7fa870b84080>) -->
.........

I think this might be caused by the removal of the find_module method of importlib.abc.MetaPathFinder. So I guess I have to implement a modernised importer. Apologies for noise if that is the case.
--
Robin Becker

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to