Returning so() as a fallback
Closed this issue · 1 comments
AlexanderPavlenko commented
Hello! Thanks for this code, I like the idea.
There is one thing which caught my attention:
get_object()
is not equal to so()
, but get_object('NameWithTypo')
returns so()
.
I think in order to optimize UX every name string should be considered mistyped and the unexpected results will cause confusion until the typo is noticed.
get_object(None)
returns so()
too, but if ref
argument contains None
isn't it a mistake as well?
curtisjamesholt commented
I agree, changed for 0.0.6.