https://bugs.kde.org/show_bug.cgi?id=399534

Francis Herne <m...@flherne.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kde
                   |                            |v-python/d619a731dbcdc72463
                   |                            |0118d521583be41f0cf7d3
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Francis Herne <m...@flherne.uk> ---
Git commit d619a731dbcdc724630118d521583be41f0cf7d3 by Francis Herne.
Committed on 10/10/2018 at 00:01.
Pushed by flherne into branch '5.3'.

Improve support for 'with' statements.

The previous code didn't look at `__enter__()`, and assumed that
 all context-managers returned their own type.

We also didn't account for targets other than simple names,
 e.g. `with Mgr() as (foo, bar):`

Thanks to Nicolás Alvarez.
Related: bug 399533

Differential Revision: https://phabricator.kde.org/D16085

M  +1    -0    documentation_files/builtindocumentation.py
M  +15   -1    duchain/declarationbuilder.cpp
M  +18   -0    duchain/tests/pyduchaintest.cpp
M  +1    -1    parser/ast.h
M  +1    -1    parser/generated.h
M  +1    -1    parser/python36.sdef

https://commits.kde.org/kdev-python/d619a731dbcdc724630118d521583be41f0cf7d3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to