Changes between Initial Version and Version 1 of Ticket #36864, comment 12
- Timestamp:
- May 29, 2026, 10:25:15 AM (5 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36864, comment 12
initial v1 15 15 import b.c # imports the module 16 16 }}} 17 And so it's not obvious what `import_string("b.c") should do.17 And so it's not obvious what `import_string("b.c")` should do. 18 18 19 19 If my reading of the linked werkzueg solution above, and of the currently open PR are correct; they both first attempt to import a module, and only when that fails do they then look for an attribute to import instead. This is different to Natalia's suggestion of maintaining existing behaviour and dropping back to module import only when that fails - which would be less breaking.