CHANGES.txt 3.3KB

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