Review Request 112084: Relative imports from "." are properly parsed
Sven Brauch
svenbrauch at gmx.de
Mon Aug 19 21:42:31 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112084/#review38176
-----------------------------------------------------------
Ship it!
Looks good! I'll submit it shortly.
duchain/declarationbuilder.cpp
<http://git.reviewboard.kde.org/r/112084/#comment28222>
You can omit the "= QString()" part, I'll remove it (no need for a new patch, just for information)
- Sven Brauch
On Aug. 19, 2013, 8:54 p.m., Zaar Hai wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/112084/
> -----------------------------------------------------------
>
> (Updated Aug. 19, 2013, 8:54 p.m.)
>
>
> Review request for KDevelop.
>
>
> Description
> -------
>
> This patch makes imports like
> from . import Foo
> from .. import Bar
>
> when Foo and Bar are defined in respective __init__.py files.
>
>
> Diffs
> -----
>
> duchain/declarationbuilder.h c45a9c3
> duchain/declarationbuilder.cpp 5d6fcee
>
> Diff: http://git.reviewboard.kde.org/r/112084/diff/
>
>
> Testing
> -------
>
> 1. make test passed
> 2. All of my python project tree shows not a single import error
>
>
> File Attachments
> ----------------
>
> The new patch
> http://git.reviewboard.kde.org/media/uploaded/files/2013/08/19/0001-Relative-imports-from-.-are-properly-parsed_1.patch
>
>
> Thanks,
>
> Zaar Hai
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130819/9d90450e/attachment.html>
More information about the KDevelop-devel
mailing list