[kdev-python] [Bug 399533] No support for deconstructing tuple in 'with' statement

2018-10-09 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=399533 Francis Herne changed: What|Removed |Added Status|ASSIGNED|RESOLVED Latest Commit|

[kdev-python] [Bug 399533] No support for deconstructing tuple in 'with' statement

2018-10-09 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=399533 --- Comment #2 from Francis Herne --- The current handling is just wrong, and doesn't use __enter__() at all. class Enterable: def __enter__(self): return "value" def __exit__(self, *args): pass with Enterable() as foo: pri

[kdev-python] [Bug 399533] No support for deconstructing tuple in 'with' statement

2018-10-09 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=399533 Francis Herne changed: What|Removed |Added Assignee|m...@svenbrauch.de |m...@flherne.uk --- Comment #1 from Francis Her

[kdev-python] [Bug 399533] No support for deconstructing tuple in 'with' statement

2018-10-09 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=399533 Francis Herne changed: What|Removed |Added Ever confirmed|0 |1 CC|