Skip to content

DOC: fix README, CancelledError is a BaseException since 3.8 #9

@cjrh

Description

@cjrh

The README currently says this:

Consider the previous example using aiohttp to fetch URLs: inside the fetch() function, we're handling Exception, which includes asyncio.CancelledError

This is incorrect since Python 3.8, when the superclass of asyncio.CancelledError changed from Exception to BaseException. See https://docs.python.org/3/library/asyncio-exceptions.html#asyncio.CancelledError

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions