1. 01 Haz, 2017 1 kayıt (commit)
  2. 31 May, 2017 1 kayıt (commit)
    • Albert-Jan Nijburg's avatar
      bpo-25324: copy tok_name before changing it (#1608) · fc354f07
      Albert-Jan Nijburg yazdı
      * add test to check if were modifying token
      
      * copy list so import tokenize doesnt have side effects on token
      
      * shorten line
      
      * add tokenize tokens to token.h to get them to show up in token
      
      * move ERRORTOKEN back to its previous location, and fix nitpick
      
      * copy comments from token.h automatically
      
      * fix whitespace and make more pythonic
      
      * change to fix comments from @haypo
      
      * update token.rst and Misc/NEWS
      
      * change wording
      
      * some more wording changes
      fc354f07
  3. 05 Şub, 2017 1 kayıt (commit)
  4. 06 Ara, 2016 1 kayıt (commit)
  5. 20 Kas, 2016 1 kayıt (commit)
  6. 19 Eyl, 2016 1 kayıt (commit)
  7. 13 Eyl, 2016 2 kayıt (commit)
  8. 09 Eyl, 2016 1 kayıt (commit)
  9. 08 Eyl, 2016 1 kayıt (commit)
  10. 06 Nis, 2016 1 kayıt (commit)
  11. 25 Mar, 2016 1 kayıt (commit)
  12. 20 Mar, 2016 1 kayıt (commit)
  13. 25 Ara, 2015 1 kayıt (commit)
  14. 24 Ara, 2015 1 kayıt (commit)
  15. 14 Kas, 2015 1 kayıt (commit)
  16. 19 Eyl, 2015 1 kayıt (commit)
  17. 12 Eyl, 2015 1 kayıt (commit)
  18. 23 Tem, 2015 1 kayıt (commit)
    • Yury Selivanov's avatar
      Issue #24619: Simplify async/await tokenization. · 96ec934e
      Yury Selivanov yazdı
      This commit simplifies async/await tokenization in tokenizer.c,
      tokenize.py & lib2to3/tokenize.py.  Previous solution was to keep
      a stack of async-def & def blocks, whereas the new approach is just
      to remember position of the outermost async-def block.
      
      This change won't bring any parsing performance improvements, but
      it makes the code much easier to read and validate.
      96ec934e
  19. 22 Tem, 2015 1 kayıt (commit)
    • Yury Selivanov's avatar
      Issue #24619: New approach for tokenizing async/await. · 8fb307cd
      Yury Selivanov yazdı
      This commit fixes how one-line async-defs and defs are tracked
      by tokenizer.  It allows to correctly parse invalid code such
      as:
      
      >>> async def f():
      ...     def g(): pass
      ...     async = 10
      
      and valid code such as:
      
      >>> async def f():
      ...     async def g(): pass
      ...     await z
      
      As a consequence, is is now possible to have one-line
      'async def foo(): await ..' functions:
      
      >>> async def foo(): return await bar()
      8fb307cd
  20. 18 May, 2015 1 kayıt (commit)
  21. 12 May, 2015 1 kayıt (commit)
  22. 21 Nis, 2015 1 kayıt (commit)
  23. 07 Haz, 2014 1 kayıt (commit)
  24. 10 Nis, 2014 1 kayıt (commit)
  25. 28 Şub, 2014 1 kayıt (commit)
  26. 09 Ock, 2014 2 kayıt (commit)
    • Serhiy Storchaka's avatar
      Do not reset the line number because we already set file position to correct · 1064a13b
      Serhiy Storchaka yazdı
      value.
      
      (fixes error in patch for issue #18960)
      1064a13b
    • Serhiy Storchaka's avatar
      Issue #18960: Fix bugs with Python source code encoding in the second line. · 768c16ce
      Serhiy Storchaka yazdı
      * The first line of Python script could be executed twice when the source
      encoding (not equal to 'utf-8') was specified on the second line.
      
      * Now the source encoding declaration on the second line isn't effective if
      the first line contains anything except a comment.
      
      * As a consequence, 'python -x' works now again with files with the source
      encoding declarations specified on the second file, and can be used again
      to make Python batch files on Windows.
      
      * The tokenize module now ignore the source encoding declaration on the second
      line if the first line contains anything except a comment.
      
      * IDLE now ignores the source encoding declaration on the second line if the
      first line contains anything except a comment.
      
      * 2to3 and the findnocoding.py script now ignore the source encoding
      declaration on the second line if the first line contains anything except
      a comment.
      768c16ce
  27. 19 Eki, 2013 1 kayıt (commit)
  28. 27 Agu, 2013 1 kayıt (commit)
  29. 13 Agu, 2013 1 kayıt (commit)
  30. 16 Tem, 2013 2 kayıt (commit)
  31. 09 Haz, 2013 1 kayıt (commit)
  32. 04 Haz, 2013 1 kayıt (commit)
  33. 24 Eki, 2012 1 kayıt (commit)
  34. 20 Haz, 2012 1 kayıt (commit)
  35. 04 Mar, 2012 1 kayıt (commit)
  36. 12 Ock, 2012 1 kayıt (commit)
  37. 14 Eki, 2011 1 kayıt (commit)