Message416048
The import system is already complex, so I think the hesitation about allowing arbitrary Path-like objects is warranted. (For example: are importlib's caching semantics really valid for *arbitrary* path-like objects? An object can be path-like without being immutable)
Coercion on input (as Noam suggests) would have a much lower risk of unwanted side effects, as any dynamic behaviour would be resolved at insertion time. |
|
Date |
User |
Action |
Args |
2022-03-26 07:59:39 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, jaraco, eric.araujo, chris.jerdonek, python-dev, eric.snow, serhiy.storchaka, jayyin11043, ncohen |
2022-03-26 07:59:39 | ncoghlan | set | messageid: <1648281579.87.0.803346112327.issue32642@roundup.psfhosted.org> |
2022-03-26 07:59:39 | ncoghlan | link | issue32642 messages |
2022-03-26 07:59:39 | ncoghlan | create | |
|