Tom Morris

Results 686 comments of Tom Morris

What version of web.py are you using? The latest release (v0.70) is affected by https://github.com/webpy/webpy/issues/784 which sounds like it could be relevant.

[For those following along, the image above comes from [https://docs.python.org/3.12/library/tokenize.html](https://docs.python.org/3.12/library/tokenize.html)] > since the fix that handles that issue only addresses `"` characters, and not the single quotes. I think you're...

> I'll also give that suggestion a shot I already tried that and it didn't help. You can see my experiments in the history at the page in the original...

> The actual code that is failing is in the `infogami.utils.macro.py' file, specifically the 'safeeval_args' function That function used to be here: https://github.com/internetarchive/infogami/blame/6fd5ca13ba67fc9a58e3b75249fadabc1821c55c/infogami/utils/macro.py#L42-L51 but it's been replaced by an entirely...

> I probably should have posted about it, or edited that comment Github's permalinks are a great way to not only make references stable, but also specific and easy to...

322MB isn't massive. If you want massive, start from the 2GB JP2 images! :-) https://ia600401.us.archive.org/7/items/oed01arch/oed01arch_jp2.zip (I'd love to see how Tesseract does compared to IA's existing FineReader OCR version). I...

This behavior is the reason I added these TODOs a few weeks ago: https://github.com/OpenRefine/OpenRefine/blob/82b1cf0bfaf3c8ab57a12e0f2004bdeb71432383/main/tests/server/src/com/google/refine/expr/functions/arrays/JoinTests.java#L47-L54 This is just one instance of many "special" cases for nulls and empty strings which are...

I think @thadguidry 's proposal is a reasonable approach to fixing this while preserving backward compatibility, ie extend to the function signature to ``` join(array a, string sep, optional boolean...

I've looked into this and I think it's just a plain bug which doesn't deserve compatibility protection. Currently all leading empty strings are ignored due to a bug in the...

This happens on both macOS and Windows? I'm unable to reproduce it on macOS 14.4.1 (Sonoma) with either the 3.8.0 tag or the current development head. Did it guess UTF-16LE...