fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

Experimenting with localising the messages for the Python builtin exceptions (this is Indonesian). Should extrapolate from system locale

@tonybaloney maybe you could add localizations as notes so that code that relies on the message still works

@graingert good point, test suites would run under the default locale (English) but it would make sense to render the translation separately. The challenge is that the message is formatted eagerly. I’ve been replacing the format strings in C

maciek

@tonybaloney @graingert localizations as notes would solve a use case of someone using original error message to google up a solution, which would have a good coverage with the original error message