Paul Bryan

Results 11 comments of Paul Bryan

I'd prefer 2 as well, but it was mentioned that tags won't scale beyond 20 instances on AWS. Not sure why (or even if) this is the case.

I too am in a similar situation. I'm substituting a dependency (e.g. `x = "^1.3"`) with a path dependency (`x = { path = "../x"`) in `pyproject.toml`, which works. Ideally,...

The following is semantically correct: "in general you shouldn't add integers to strings". The (hopefully obvious) reality is: you can't add integers to strings. There are no specific instances where...

Would you suggest at the top of [Building generic types](https://docs.python.org/3/library/typing.html#building-generic-types)?

In general, you can't check if values are instances of generic aliases. It should raise `TypeError`, in part (by design) because of type erasure. If you want to perform an...

Some code to help illustrate: ``` pbryan@sesame ~]$ python Python 3.11.3 (main, Jun 5 2023, 09:32:32) [GCC 13.1.1 20230429] on linux Type "help", "copyright", "credits" or "license" for more information....

Generic aliases from base types is relatively new. I believe circa 3.10. Prior to that, we had to use generics defined in `typing` like `typing.Dict[str, int]`. Those are now deprecated...

I think adapting `wrapt.synchronized` to handle to asyncio coroutines is doable. As @mentalisttraceur mentions, the wrapper will need to perform runtime introspection on the wrapped function to determine if it...

OK, will work on it. Just paste here for now, or propose in a PR?