CHANGES.txt 4.2KB

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