Browse Source

Added new and removed old builtins

Dmitry Vasiliev 15 years ago
parent
commit
19dc22d6c5
2 changed files with 19 additions and 12 deletions
  1. 8
    0
      CHANGES.txt
  2. 11
    12
      python3.0.vim

+ 8
- 0
CHANGES.txt View File

1
+Revision 3.0.0 (2008-09-?):
2
+
3
+    - Added new builtins introduced in Python 2.6: "ascii", "exec",
4
+      "memoryview", "print";
5
+    - Removed builtins: "apply", "basestring", "buffer", "callable", "coerce",
6
+      "execfile", "file", "help", "intern", "long", "raw_input", "reduce",
7
+      "reload", "unichr", "unicode", "xrange";
8
+
1
 Revision 2.6.2 (2008-09-?):
9
 Revision 2.6.2 (2008-09-?):
2
 
10
 
3
     - Added support for b"..." syntax;
11
     - Added support for b"..." syntax;

+ 11
- 12
python3.0.vim View File

228
   syn keyword pythonBuiltinObj	True False Ellipsis None NotImplemented
228
   syn keyword pythonBuiltinObj	True False Ellipsis None NotImplemented
229
   syn keyword pythonBuiltinObj	__debug__ __doc__ __file__ __name__ __package__
229
   syn keyword pythonBuiltinObj	__debug__ __doc__ __file__ __name__ __package__
230
 
230
 
231
-  syn keyword pythonBuiltinFunc	__import__ abs all any apply
232
-  syn keyword pythonBuiltinFunc	basestring bin bool buffer bytearray bytes callable
233
-  syn keyword pythonBuiltinFunc	chr classmethod cmp coerce compile complex
231
+  syn keyword pythonBuiltinFunc	__import__ abs all any ascii
232
+  syn keyword pythonBuiltinFunc	bin bool bytearray bytes
233
+  syn keyword pythonBuiltinFunc	chr classmethod cmp compile complex
234
   syn keyword pythonBuiltinFunc	delattr dict dir divmod enumerate eval
234
   syn keyword pythonBuiltinFunc	delattr dict dir divmod enumerate eval
235
-  syn keyword pythonBuiltinFunc	execfile file filter float format frozenset getattr
236
-  syn keyword pythonBuiltinFunc	globals hasattr hash help hex id 
237
-  syn keyword pythonBuiltinFunc	input int intern isinstance
238
-  syn keyword pythonBuiltinFunc	issubclass iter len list locals long map max
239
-  syn keyword pythonBuiltinFunc	min next object oct open ord
240
-  syn keyword pythonBuiltinFunc	pow property range
241
-  syn keyword pythonBuiltinFunc	raw_input reduce reload repr
242
-  syn keyword pythonBuiltinFunc	reversed round set setattr
235
+  syn keyword pythonBuiltinFunc	exec filter float format frozenset getattr
236
+  syn keyword pythonBuiltinFunc	globals hasattr hash hex id 
237
+  syn keyword pythonBuiltinFunc	input int isinstance
238
+  syn keyword pythonBuiltinFunc	issubclass iter len list locals map max
239
+  syn keyword pythonBuiltinFunc	memoryview min next object oct open ord
240
+  syn keyword pythonBuiltinFunc	pow print property range
241
+  syn keyword pythonBuiltinFunc	repr reversed round set setattr
243
   syn keyword pythonBuiltinFunc	slice sorted staticmethod str sum super tuple
242
   syn keyword pythonBuiltinFunc	slice sorted staticmethod str sum super tuple
244
-  syn keyword pythonBuiltinFunc	type unichr unicode vars xrange zip
243
+  syn keyword pythonBuiltinFunc	type vars zip
245
 
244
 
246
   if exists("python_print_as_function") && python_print_as_function != 0
245
   if exists("python_print_as_function") && python_print_as_function != 0
247
       syn keyword pythonBuiltinFunc	print
246
       syn keyword pythonBuiltinFunc	print