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

Commit Hook null at kde.org
Tue Aug 20 11:51:24 UTC 2013


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


This review has been submitted with commit a6609b21202a656c5e7c698d64bf0af0e46e1d0e by Sven Brauch on behalf of Zaar Hai to branch master.

- Commit Hook


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/20130820/12953d88/attachment.html>


More information about the KDevelop-devel mailing list