Login
You're viewing the code4lib.social public feed.
  • Nov 24, 2026, 9:31 PM
    retooted Alice Averlong🏳️‍⚧️

    hey did you know you can create attributes on python objects which have dots in their names?

    that is, object foo can have an attribute of "bar.baz" ?

    that can't be accessed with foo.bar.baz, because that tries to access bar on foo, which doesn't exist?

    DON'T FUCKING DO THIS

    💬 12🔄 17⭐ 89