Changes between Initial Version and Version 1 of Ticket #36864, comment 3
- Timestamp:
- Jan 14, 2026, 1:41:10 PM (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36864, comment 3
initial v1 1 1 > Or, we could make import_string() handle either submodules or top-level modules as well. 2 2 3 I'd be +1 to this because it makes the interface simpler. Pointing out that this doesn't work when the string points to a module instead of a callableseems like information leakage to me for a function whose name doesn't seem to have any type preferences for what the import string is pointing to.3 I'd be +1 to this because it makes the interface simpler. Pointing out that this doesn't work when the string points to a submodule instead of a callable/class seems like information leakage to me for a function whose name doesn't seem to have any type preferences for what the import string is pointing to.