CHANGES.txt 3.5KB

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