Does everyone use #Python’s object()
for unique tokens? Like:
no_match = object()val = some_dict.get('key', no_match)if val is not no_match: do_something()
I don’t know what else object()
would be used for (and why they’d keep it).
@2ck what happens if it does?
@freemo It's the markdown format. I'm using ``` with newlines embedded in the OP, but the lines run together. Is there a place I can check the syntax?
@freemo If you think it's upstream, then I'll file an issue on mastodon
@2ck no its likely something to do with our code, upstread doesnt even support markdown... just not sure how or why off hand
@2ck hmmm interesting.. i wonder why that would happen...