[SVN] r5634 (Python)

Alexander John Ross alex.j.ross at gmail.com
Thu Oct 26 06:24:15 UTC 2006


[NEW] Python language grammar now supports Python 2.5.

* Scoping for all possible strings.  Raw strings the regex grammar included.
* Scoping for all different numeric types.  Integer (regular and long), float, and complex.  Even scoped octal, hex, and decimal integers seperately.
* Operator scoping.
* Class scoping for old and new style classes.  When inheriting from builtin types, the builtin names will have the correct scope even though they are are being inherited.
* Scoping for functions revised.  When writing a 'magic' method, the method name will get the correct scope.
* Decorator scoping revised.
* Scoped the keywords (class|def|lambda|global) as storage.type instead of keyword.something.
* Scoped lists.
* Scoped dictionaries.
* Punctuation scoping throughout.

Changed:
D   trunk/Bundles/Python.tmbundle/Syntaxes/Python.plist
A   trunk/Bundles/Python.tmbundle/Syntaxes/Python.tmLanguage



More information about the textmate-dev mailing list