Anders Kaseorg

Results 434 comments of Anders Kaseorg

Don’t you think the `Debug`/`Display` interface ought to produce a string with a decimal point, even though the internal `get_str` function omits it?

See also #15586 and https://chat.zulip.org/#narrow/stream/6-frontend/topic/full.20name.20field/near/916779. It seems like there’s generally a preference for “display name”.

I think we also want to use `on_commit` in some or all of the `post_save` hooks.

Each Django [`TestCase`](https://docs.djangoproject.com/en/3.2/topics/testing/tools/#testcase) (i.e. not a [`TransactionTestCase`](https://docs.djangoproject.com/en/3.2/topics/testing/tools/#transactiontestcase)) wraps the entire test in an `atomic` block, so the `on_commit` callbacks don’t run. It’s not too surprising that our tests are sensitive...

The template language is called [Handlebars](https://handlebarsjs.com/), not “handlebar”. I just saw this button show up at the bottom of the **All messages** view with no unread messages, so it may...

If you replace `open(file_or_string, encoding='iso-8859-1')` with `open(file_or_string, encoding='iso-8859-1', newline='')`, then Python will stop translating `\r` and `\r\n` to `\n`. Of course, you may then need to teach Pyth to keep...

There are similar issues with `\` followed by NUL or LF or CR. `\␀` ↦ `imp_print("␀")` ↦ `ValueError: source code string cannot contain null bytes` `\␊` or `\␍` ↦ `IndexError:...

What happens if the compressed string includes `"` or a carriage return (#186)? We probably want to exclude those bytes and use base-254. By the way, last month I came...

@DonaldTsang I don’t see how negative bases help here; they need a nonzero leading digit the same way positive bases do.

This still reproduces with the given test case using the current release on crates.io (algorithmica 0.1.9) or the current Git `master` (e066a5ef332d724e3734ab9c16da92be4d1221f9). Please reopen.