Re:Python 3.5.0
by useerup on Monday September 14, 2015 @12:48AM
(#10213677)
> Moreover async/await with async resource management (which C# doesn't have yet)
In C#, the using statement combines with async/await. It is cool that Python finally gains proper async/await, there is no need to diss other languages.
Re:Python 3.5.0
by inglor on Monday September 14, 2015 @10:14AM
(#10215135)
IDisposable's dispose is not an async function, there is no IAsyncDisposable interface with language support. There is however, a proposal https://github.com/dotnet/roslyn/issues/114 , I'm not dissing the language but things are the way they are.
In C#, the using statement combines with async/await. It is cool that Python finally gains proper async/await, there is no need to diss other languages.