Send me a patch. Im not home and have only a minimal dev setup on an old laptop and the odd late hour free every 3,4 days
On Thu, Aug 3, 2023, 02:45 Stefano Zacchiroli <[email protected]> wrote: > On Wed, Aug 02, 2023 at 09:39:40PM +0800, Martin Blais wrote: > > Happy to raise or remove the limit in v2 if you want. > > That would be nice (+ publishing a new minor version on PyPI ;-)), > thanks! And thanks also to Daniele for explaining the rationale behind > this limitation. > > My 2 cents on the rationale is that it's an odd trade-off. It doesn't go > all the way of trying to detect that the long string is *actually* > beancount markup that ended up in a string by mistake; hence when it is > the case it provides a potentially misleading error message ("string too > long"); and at the same time rejects (arguably) valid inputs like mine. > These for me are good arguments for dropping removing the limit > entirely. YMMV. > > Cheers > -- > Stefano Zacchiroli . [email protected] . https://upsilon.cc/zack _. ^ ._ > Full professor of Computer Science o o o \/|V|\/ > Télécom Paris, Polytechnic Institute of Paris o o o </> <\> > Co-founder & CTO Software Heritage o o o o /\|^|/\ > https://twitter.com/zacchiro . https://mastodon.xyz/@zacchiro '" V "' > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/20230802184546.fvytscxwgcaiguci%40upsilon.cc > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPN7Rute11ZBUcjqTcU9Du%2BfnpicpUFqQUUiZ-NRF70aA%40mail.gmail.com.
