Luflosi 2b095f720e
Use "with suppress()" to suppress python exceptions
Using
```Python
with suppress(OSError):
    os.remove('somefile.tmp')
```
instead of
```Python
try:
    os.remove('somefile.tmp')
except OSError:
    pass
```
makes the code more compact and more readable IMO.

This pattern was recommended by Raymond Hettinger, a Python Core
Developer in his talk "Transforming Code into Beautiful, Idiomatic Python" at https://www.youtube.com/watch?v=OSGv2VnC0go. The transcript is available at https://github.com/JeffPaine/beautiful_idiomatic_python
2019-06-03 12:27:43 +02:00
..
2017-01-09 11:10:41 +05:30
2017-12-01 12:16:15 +05:30
2017-12-20 08:50:09 +05:30
2019-02-02 22:08:32 +01:00
2018-09-06 12:07:09 +01:00
2018-09-30 08:58:33 +05:30
2019-05-13 21:13:45 +05:30
...
2019-03-04 19:54:10 +05:30