Does everyone use ’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).

seems to have a nasty habit of breaking installations for each new release.

Useful resource if you're trying to use d-bus with Python GIO bindings. Docs are scarce about this specifically, so it helps to have an example. (probably less troublesome if you're used to the bindings generally)

weird fact: you can actually give a class pretty much any name you want using `type`: special chars (including periods!), spaces, numerals

Qoto Mastodon

QOTO: Question Others to Teach Ourselves. A STEM-oriented instance.

An inclusive free speech instance.
All cultures and opinions welcome.
Explicit hate speech and harassment strictly forbidden.
We federate with all servers: we don't block any servers.