CHANGES.txt 3.3KB

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