D8371: Support for underscores in numeric literals (Python 3.6)

Diego Gangl noreply at phabricator.kde.org
Fri Oct 20 00:20:26 UTC 2017


januz created this revision.
januz added a project: Framework: Syntax Highlighting.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  This patch adds support for underscores in numeric literals for Python 3.6 (from PEP 515 <https://www.python.org/dev/peps/pep-0515/>)
  Bug from tracker: https://bugs.kde.org/show_bug.cgi?id=385422

TEST PLAN
  Test different numbers with underscore in the code editor sample.
  
  an_int = 100_000_000
  a_float = 100_0000_000.0
  some_hex = 0xEAD2_DF24_3D

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D8371

AFFECTED FILES
  data/syntax/python.xml

To: januz
Cc: #frameworks, cullmann, vkrause, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171020/5f93a88b/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list