Message333244
I see 2 issues here:
1. I would expect that the CM approach (b) behaves equivalent to try/finally (c), but it does not and even causes an exception.
2. The traceback given in the BufferError (in (b)) is misleading, it points to the "print", but should rather point to mmap.__exit__). |
|
Date |
User |
Action |
Args |
2019-01-08 18:28:42 | Thomas.Waldmann | set | recipients:
+ Thomas.Waldmann, skrah, xtreak |
2019-01-08 18:28:40 | Thomas.Waldmann | set | messageid: <1546972120.61.0.786558816909.issue35686@roundup.psfhosted.org> |
2019-01-08 18:28:40 | Thomas.Waldmann | link | issue35686 messages |
2019-01-08 18:28:40 | Thomas.Waldmann | create | |
|