Changes between Initial Version and Version 1 of Ticket #36864, comment 12


Ignore:
Timestamp:
May 29, 2026, 10:25:15 AM (5 days ago)
Author:
Tim McCurrach

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36864, comment 12

    initial v1  
    1515import b.c # imports the module
    1616}}}
    17 And so it's not obvious what `import_string("b.c") should do.
     17And so it's not obvious what `import_string("b.c")` should do.
    1818
    1919If 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.
Back to Top