Results 955 comments of Thomas Grainger

this would also allow me to define self-types: https://github.com/Shoobx/mypy-zope/issues/44

I can use this, but then I lose the type of the function in `@implements` ```python class ICopyable(zope.interface.Interface): @zope.interface.interface.fromMethod def copy(self: T) -> T: pass ```

It should be: ```python async def __aiter__(self): try: while True: yield await self.get() except asyncio.QueueShutDown: return ``` Or it might be even better to implement `__anext__` and do ```python def...

Rather than using an async generator, you could use a class with a `__anext__` then you don't need to worry about exceptions being thrown in, or the async generator not...

@rdkr yeah I'm asking because I don't know how to configure it myself ;)

can we re-open this as the PR was reverted here: https://github.com/python/typeshed/pull/5195

@nateprewitt greenlet is only needed as a dependency of gevent, it shouldn't be a direct dep https://github.com/psf/httpbin/pull/51 It's currently blocking pytest-httpbin 3.13 support: https://github.com/kevin1024/pytest-httpbin/pull/90

I'm currently investigating https://github.com/kevin1024/vcrpy/issues/848 and so running the pytest-httpbin tests on 3.13 with https://github.com/kevin1024/pytest-httpbin/pull/90 but I'm blocked on greenlet supporting 3.13