Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thomasahle
on July 12, 2018
|
parent
|
context
|
favorite
| on:
“I'm basically giving myself a permanent vacation ...
You mean `with EXPR as VAR` lets `VAR = EXPR.__enter__()`. Because `with EXPR` also calls `EXPR.__enter__()`, so `with VAR := EXPR` would too.
Seems very unnecessary to have both options.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Seems very unnecessary to have both options.