D25869: Python: improve numbers, add octals, binaries and "breakpoint" keyword

Nibaldo González noreply at phabricator.kde.org
Wed Dec 11 05:35:14 GMT 2019


nibags created this revision.
nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
nibags requested review of this revision.

REVISION SUMMARY
  - Improve number detection with underscores. Add binaries and octales. https://www.python.org/dev/peps/pep-0515/ (I took the regular expressions from the TypeScript highlighting file and adapted them to Python).
  - Add keyword "breakpoint" introduced in Python 3.7: https://www.python.org/dev/peps/pep-0553/

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  python-numbers

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

AFFECTED FILES
  autotests/folding/test.py.fold
  autotests/html/test.py.html
  autotests/input/test.py
  autotests/reference/test.py.ref
  data/syntax/python.xml

To: nibags, #framework_syntax_highlighting, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191211/18055c79/attachment.html>


More information about the Kde-frameworks-devel mailing list