2023-08-01 21:46 UTC+02:00, Ronald Oussoren via Python-ideas
:
>
>
>> On 1 Aug 2023, at 19:59, Mitch wrote:
>>
>> Is this a relevant argument (either way) here?
>
> Adding features to the language always has a cost in that it slightly
> complicates the language and makes it harder to teach. Becaus
On Tue, 8 Aug 2023 at 00:09, Celelibi wrote:
> Actually, now that I think about it, I guess a 'try' block without an
> 'except' and just a 'finally' would probably be a good candidate for a
> context manager. (Which I'm a big fan of. ^^)
Yeah, context managers are often a good way of writing a tr
2023-08-01 18:14 UTC+02:00, Chris Angelico :
> On Wed, 2 Aug 2023 at 02:02, Celelibi wrote:
>> If later on an "except" is added, the developper doing the
>> modification should be reminded to move the call to
>> no_error_occurred() into an "else". With real-world non-trivial code,
>> it might not