Esben Sonne

Results 7 comments of Esben Sonne

Thanks for the input, it works, kind of inconvenient for me that the baseclass is "private", but that is just how it is :shrug: With regards to how to potentially...

>Can you provide some examples of problems you've run into/types that you think should be easier to handle here? Nothing specific to msgspec, but just generally using unions at runtime...

Python 3.11 comes with [`asyncio.timeout`](https://docs.python.org/3/library/asyncio-task.html#asyncio.timeout), which is [favoured over](https://docs.python.org/3/whatsnew/3.11.html#asyncio) `asyncio.wait_for` and seems very similar to the trio cancellation context block, while it is probably too new to be used in...

Just to chip in a bit here: I have been using httpx to interact with a legacy system and as test client to mimic that legacy system calling back into...

Sure @tomchristie! Get ready for some flashback to the dark ages, before UTF8 won the encoding wars. ```python from urllib.parse import urlencode import httpx client = httpx.Client() values = {...

`grammar.parse` uses by default the top rule, which means that you are trying to parse `'i am bad'` with the `sent_good` rule. Which is why it will not work. So...

To be honest, I am not sure how I would go about this. As the two snippets of text ("i am good/bad" and "how are you doing") do not share...