Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Investigate context handlers to catch exceptions #518

Open
trickeydan opened this issue Jan 28, 2020 · 0 comments
Open

Investigate context handlers to catch exceptions #518

trickeydan opened this issue Jan 28, 2020 · 0 comments
Labels
enhancement New feature or request research This issue is being investigated. semver-patch This change requires an increment in the patch version number typing A incorrect or loose type that needs correcting.

Comments

@trickeydan
Copy link
Contributor

I wonder if a context manager would do a better job of reducing the duplicated try..except blocks without breaking typing like decorators do...

Context Managers would definitely circumvent the issues with typing that decorators suffer from. I think we should investigate this is the future.

Originally posted by @trickeydan in #513 (comment)

@trickeydan trickeydan added enhancement New feature or request research This issue is being investigated. typing A incorrect or loose type that needs correcting. labels Jan 28, 2020
@trickeydan trickeydan added the semver-patch This change requires an increment in the patch version number label May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request research This issue is being investigated. semver-patch This change requires an increment in the patch version number typing A incorrect or loose type that needs correcting.
Projects
None yet
Development

No branches or pull requests

1 participant