Excerpts from Anton Hvornum's message of abril 23, 2024 2:06 pm:
> 
> Just to be sure, `importlib.util.spec_from_file_location()` is unchanged 
> correct?
> I've read the change log up and down a couple of times, and it appears 
> to only affect the `imp` lib specifically and I think I've covered my bases.
> 
> But just for my own sanity, have I correctly understood the change in 
> 3.13 in my above reasoning? Otherwise I will be guilty of issues in 
> `archinstall` since I use `importlib.util` quite heavily.

Relevant docks on the imp removal and alternatives [0]. Also, for reference,
the PR I made against the upstream project to fix imp's removal issue [1].

Looks like the most affect imp function is load_source(), as there's no direct
replacement for it on importlib.

[0] https://docs.python.org/3/whatsnew/3.12.html#imp
[1] https://github.com/enkore/i3pystatus/pull/865/

Regards,
Giancarlo Razzolini

Attachment: pgpmAZSfb5ZBs.pgp
Description: PGP signature

Reply via email to