Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python equivalence: de-sugar with #51

Closed
ievans opened this issue Feb 1, 2020 · 8 comments
Closed

python equivalence: de-sugar with #51

ievans opened this issue Feb 1, 2020 · 8 comments
Labels
enhancement New feature or request good first task Would take a bit longer to fix than "good first issue" priority:low stale needs prioritization; label applied by stalebot

Comments

@ievans
Copy link
Member

ievans commented Feb 1, 2020

Per https://www.python.org/dev/peps/pep-0343/

with(...) as F:
    ...

should be equivalent to:

F. __enter__()
...
F.__exit()

Specifically, if F is assigned to a file handle, it would be equivalent to enter open and exit close functionality. This may require typing to do robustly.

@ievans ievans added the enhancement New feature or request label Feb 1, 2020
@aryx aryx added the good first issue Good for newcomers label Mar 4, 2020
@aryx aryx added good first task Would take a bit longer to fix than "good first issue" and removed good first issue Good for newcomers labels May 15, 2020
@stale
Copy link

stale bot commented Feb 18, 2021

This issue is being marked stale because there hasn't been any activity in 30 days. Please leave a comment if you think this issue is still relevant and should be prioritized, otherwise it will be automatically closed in 7 days (you can always reopen it later).

@stale stale bot added the stale needs prioritization; label applied by stalebot label Feb 18, 2021
@ievans
Copy link
Member Author

ievans commented Feb 18, 2021

Keep

@stale stale bot removed the stale needs prioritization; label applied by stalebot label Feb 18, 2021
@stale
Copy link

stale bot commented May 20, 2021

This issue is being marked stale because there hasn't been any activity in 30 days. Please leave a comment if you think this issue is still relevant and should be prioritized, otherwise it will be automatically closed in 7 days (you can always reopen it later).

@stale stale bot added the stale needs prioritization; label applied by stalebot label May 20, 2021
@stale
Copy link

stale bot commented May 27, 2021

Stale-bot has closed this stale item. Please reopen it if this is in error.

@stale stale bot closed this as completed May 27, 2021
@brendongo brendongo reopened this May 28, 2021
@stale stale bot removed the stale needs prioritization; label applied by stalebot label May 28, 2021
@stale
Copy link

stale bot commented Aug 26, 2021

This issue is being marked stale because there hasn't been any activity in 30 days. Please leave a comment if you think this issue is still relevant and should be prioritized, otherwise it will be automatically closed in 7 days (you can always reopen it later).

@stale stale bot added the stale needs prioritization; label applied by stalebot label Aug 26, 2021
@ievans
Copy link
Member Author

ievans commented Aug 26, 2021

shhh

@stale stale bot removed the stale needs prioritization; label applied by stalebot label Aug 26, 2021
@stale
Copy link

stale bot commented Nov 24, 2021

This issue is being marked stale because there hasn't been any activity in 30 days. Please leave a comment if you think this issue is still relevant and should be prioritized, otherwise it will be automatically closed in 7 days (you can always reopen it later).

@stale stale bot added the stale needs prioritization; label applied by stalebot label Nov 24, 2021
@stale
Copy link

stale bot commented Dec 1, 2021

Stale-bot has closed this stale item. Please reopen it if this is in error.

@stale stale bot closed this as completed Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first task Would take a bit longer to fix than "good first issue" priority:low stale needs prioritization; label applied by stalebot
Development

No branches or pull requests

3 participants