CHANGES.txt 3.7KB

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