123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Revision 3.0.0 (2008-09-?):
  2. - Added new builtins introduced in Python 2.6: "ascii", "exec",
  3. "memoryview", "print";
  4. - Removed builtins: "apply", "basestring", "buffer", "callable", "coerce",
  5. "execfile", "file", "help", "intern", "long", "raw_input", "reduce",
  6. "reload", "unichr", "unicode", "xrange";
  7. Revision 2.6.2 (2008-09-?):
  8. - Added support for b"..." syntax;
  9. Revision 2.6.1 (2008-09-21):
  10. - Added new builtins and exceptions introduced in Python 2.6: "bin",
  11. "bytearray", "bytes", "format", "next", "BufferError", "BytesWarning";
  12. - Added builtin "__debug__";
  13. - Added global variables: "__doc__", "__file__", "__name__", "__package__";
  14. - Removed "OverflowWarning" (removed in Python 2.5);
  15. - Added option "python_print_as_function" for highlight "print" as a
  16. function;
  17. - Added support for new integer literal syntax "0o" and "0b";
  18. - Added support for string.Template syntax controlled by
  19. "python_highlight_string_templates" option;
  20. - Added support for str.format syntax controlled by
  21. "python_highlight_string_format" option;
  22. - Removed highlighting for "--" and "++" because it's a valid Python
  23. expressions which can be interpreted as "a + +b";
  24. Revision 2.5.6 (2007-02-04):
  25. - Applied patch by Pedro Algarvio to enable spell checking only for
  26. the right spots (strings and comments);
  27. Revision 2.5.5 (2006-09-26):
  28. - added new warnings (ImportWarning, UnicodeWarning)
  29. introduced in Python 2.5;
  30. Revision 2.5.4 (2006-05-11):
  31. - added highlighting for erroneous operators: &&, ||, ++, --, ===
  32. (inspired by http://www.vim.org/tips/tip.php?tip_id=969, thanks
  33. Jeroen Ruigrok van der Werven for the link);
  34. - added highlighting for new 'with' statement and 'BaseException',
  35. 'GeneratorExit' exceptions introduced in Python 2.5;
  36. - added highlighting for 'OverflowWarning' exception which had been
  37. forgotten;
  38. - returned more robust recognition for function names;
  39. Revision 2.5.3:
  40. - fixed %-formatting highlighting for raw unicode strings;
  41. Revision 2.5.2:
  42. - slightly simplified option handling;
  43. - fixed regexp for indentation errors;
  44. - fixed highlighting for backslashed symbols inside strings;
  45. - added highlighting for trailing-space errors (triggered by new
  46. option: python_highlight_space_errors);
  47. - added highlighting for variable name errors;
  48. - added highlighting for hex number errors;
  49. Revision 2.5.1 (2005-03-13):
  50. - added new builtins 'all' and 'any' (Python 2.5a0)
  51. Revision 2.4.2 (2004-08-05):
  52. - added highlighting for new @decorator syntax introduced in python 2.4a2
  53. Revision 2.4.1 (2004-03-17):
  54. - new versioning scheme (based on python version numbers);
  55. - added highlighting for new types/builtins introduced in python 2.4
  56. (set, frozenset, reversed, sorted);
  57. - new option added: python_slow_sync (set this for slow but more
  58. robust syntax synchronization);
  59. - added highlighting for doctests;
  60. Revision 1.19:
  61. - new option added: python_highlight_indent_errors;
  62. - python_highlight_all now not override previously set options,
  63. for example code:
  64. let python_highlight_indent_errors = 0
  65. let python_highlight_all = 1
  66. set all highlight options except indentation errors highlighting option;
  67. Revision 1.17:
  68. - changed header, "Based on..." string added;
  69. Revision 1.16:
  70. - added basestring builtin;
  71. Revision 1.15 (first public revision).
  72. The changes since the original (vim6.1) python.vim are:
  73. - changed string highlighting;
  74. - enhanced special symbols highlighting inside strings;
  75. - enhanced constant numbers highlighting;
  76. - added optional highlighting for %-formatting inside strings;
  77. - added highlighting for error conditions (wrong symbols in source file,
  78. mixing spaces and tabs, wrong number values,
  79. wrong %-formatting inside strings);
  80. - added highlighting for magic comments: source code encoding
  81. and #! (executable) strings;
  82. - added highlighting for new exceptions and builtins introduced
  83. in python 2.3;