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

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


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

(Updated Aug. 20, 2013, 11:51 a.m.)


Status
------

This change has been marked as submitted.


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/a506d0cf/attachment-0001.html>


More information about the KDevelop-devel mailing list