CHANGES.txt 3.2KB

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