Review Request 112084: Relative imports from "." are properly parsed

Sven Brauch svenbrauch at gmx.de
Mon Aug 19 16:53:24 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112084/#review38156
-----------------------------------------------------------


Are you maybe formatting a patch which has an ancestor which is not in the online git repository? Try pulling before creating the patch file.

- Sven Brauch


On Aug. 19, 2013, 4:15 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, 4:15 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/3012dc58/attachment.html>


More information about the KDevelop-devel mailing list