1. 19 Aug, 2020 1 commit
    • Francis Herne's avatar
      Ensure that CodeAst nodes always start at (0, 0). · f7950baf
      Francis Herne authored
      Previously the start was that of the first child node.
      
      From CPython 3.8.2, the range of an attribute access `(expr).blah`
       includes the leading parenthesis, and thus starts before `expr`.
      
      The range of kdev-python's Attribute node represents only the range of
       `blah`, and is calculated in an awkward way.
      
      When an attribute access of a parenthesized expression appeared at the
       start of a file, the start of the attribute range from CPython was
       before that of the CodeAst node (based on the start of `expr`)
       resulting in an incorrect range being calculated.
      
      This case is very unusual in real code, but fixes the tests. ;-)
      f7950baf
  2. 17 Aug, 2020 2 commits
  3. 16 Aug, 2020 7 commits
  4. 08 Aug, 2020 2 commits
  5. 17 Jul, 2020 2 commits
  6. 19 Jun, 2020 1 commit
  7. 18 Jun, 2020 4 commits
  8. 17 Jun, 2020 4 commits
  9. 02 Jun, 2020 2 commits
  10. 25 May, 2020 1 commit
  11. 05 May, 2020 2 commits
  12. 01 May, 2020 1 commit
  13. 30 Apr, 2020 1 commit
  14. 06 Apr, 2020 2 commits
  15. 04 Apr, 2020 2 commits
  16. 01 Apr, 2020 1 commit
  17. 24 Feb, 2020 1 commit
  18. 17 Feb, 2020 1 commit
  19. 16 Feb, 2020 2 commits
  20. 15 Feb, 2020 1 commit