summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS4
-rw-r--r--Misc/HISTORY2
-rw-r--r--Misc/SpecialBuilds.txt2
-rw-r--r--Misc/Vim/python.vim56
-rw-r--r--Misc/Vim/vim_syntax.py8
-rw-r--r--Misc/Vim/vimrc3
6 files changed, 40 insertions, 35 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 11e9551055..d5d7675bc2 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -242,6 +242,7 @@ Dag Gruneau
Michael Guravage
Lars Gustäbel
Barry Haddow
+Václav Haisman
Paul ten Hagen
Rasmus Hahn
Peter Haight
@@ -365,6 +366,7 @@ Detlef Lannert
Soren Larsen
Piers Lauder
Ben Laurie
+Simon Law
Chris Lawrence
Christopher Lee
Inyeol Lee
@@ -611,6 +613,7 @@ William Tanksley
Christian Tanzer
Steven Taschuk
Amy Taylor
+Monty Taylor
Tobias Thelen
Robin Thomas
Eric Tiedemann
@@ -631,6 +634,7 @@ Stephen Turner
Bill Tutt
Doobee R. Tzeck
Lionel Ulmer
+Roger Upole
Michael Urman
Hector Urtubia
Dmitry Vasiliev
diff --git a/Misc/HISTORY b/Misc/HISTORY
index be4ca88ff5..f2452f2b97 100644
--- a/Misc/HISTORY
+++ b/Misc/HISTORY
@@ -11679,7 +11679,7 @@ Changes to the build process
- The way GNU readline is configured is totally different. The
--with-readline configure option is gone. It is now an extension
module, which may be loaded dynamically. You must enable it (and
-specify the correct linraries to link with) in the Modules/Setup file.
+specify the correct libraries to link with) in the Modules/Setup file.
Importing the module installs some hooks which enable command line
editing. When the interpreter shell is invoked interactively, it
attempts to import the readline module; when this fails, the default
diff --git a/Misc/SpecialBuilds.txt b/Misc/SpecialBuilds.txt
index 952ca42d99..fa87d92ad3 100644
--- a/Misc/SpecialBuilds.txt
+++ b/Misc/SpecialBuilds.txt
@@ -91,7 +91,7 @@ dynamically allocated memory blocks. The special bit patterns are:
#define CLEANBYTE 0xCB /* clean (newly allocated) memory */
#define DEADBYTE 0xDB /* dead (newly freed) memory */
-#define FORBIDDENBYTE 0xFB /* fordidden -- untouchable bytes */
+#define FORBIDDENBYTE 0xFB /* forbidden -- untouchable bytes */
Strings of these bytes are unlikely to be valid addresses, floats, or 7-bit
ASCII strings.
diff --git a/Misc/Vim/python.vim b/Misc/Vim/python.vim
index 08c54d24e8..21c375d9db 100644
--- a/Misc/Vim/python.vim
+++ b/Misc/Vim/python.vim
@@ -62,39 +62,39 @@ endif
if exists("python_highlight_builtins")
- syn keyword pythonBuiltin unichr all set abs vars int __import__ unicode
- syn keyword pythonBuiltin enumerate exit issubclass
- syn keyword pythonBuiltin divmod file Ellipsis isinstance open any
- syn keyword pythonBuiltin locals help filter basestring slice copyright min
- syn keyword pythonBuiltin super sum tuple hex execfile long id chr
- syn keyword pythonBuiltin complex bool zip pow dict True oct NotImplemented
- syn keyword pythonBuiltin map None float hash getattr buffer max reversed
- syn keyword pythonBuiltin object quit len repr callable credits setattr
- syn keyword pythonBuiltin eval frozenset sorted ord __debug__ hasattr
- syn keyword pythonBuiltin delattr False license classmethod type
- syn keyword pythonBuiltin list iter reload range globals
- syn keyword pythonBuiltin staticmethod str property round dir cmp
+ syn keyword pythonBuiltin Ellipsis False None NotImplemented True __debug__
+ syn keyword pythonBuiltin __import__ abs all any basestring bool
+ syn keyword pythonBuiltin buffer callable chr classmethod cmp
+ syn keyword pythonBuiltin complex copyright credits delattr dict
+ syn keyword pythonBuiltin dir divmod enumerate eval execfile exit file
+ syn keyword pythonBuiltin filter float frozenset getattr globals hasattr
+ syn keyword pythonBuiltin hash help hex id int isinstance
+ syn keyword pythonBuiltin issubclass iter len license list locals long map
+ syn keyword pythonBuiltin max min object oct open ord pow property quit
+ syn keyword pythonBuiltin range reload repr reversed round
+ syn keyword pythonBuiltin set setattr slice sorted staticmethod str sum
+ syn keyword pythonBuiltin super tuple type unichr unicode vars zip
endif
if exists("python_highlight_exceptions")
- syn keyword pythonException GeneratorExit ImportError RuntimeError
- syn keyword pythonException UnicodeTranslateError MemoryError StopIteration
- syn keyword pythonException PendingDeprecationWarning EnvironmentError
- syn keyword pythonException LookupError OSError DeprecationWarning
- syn keyword pythonException UnicodeError UnicodeEncodeError
- syn keyword pythonException FloatingPointError ReferenceError NameError
- syn keyword pythonException IOError SyntaxError
- syn keyword pythonException FutureWarning ImportWarning SystemExit
- syn keyword pythonException Exception EOFError StandardError ValueError
- syn keyword pythonException TabError KeyError ZeroDivisionError SystemError
- syn keyword pythonException UnicodeDecodeError IndentationError
- syn keyword pythonException AssertionError TypeError IndexError
- syn keyword pythonException RuntimeWarning KeyboardInterrupt UserWarning
- syn keyword pythonException SyntaxWarning UnboundLocalError ArithmeticError
- syn keyword pythonException Warning NotImplementedError AttributeError
- syn keyword pythonException OverflowError BaseException
+ syn keyword pythonException ArithmeticError AssertionError AttributeError
+ syn keyword pythonException BaseException DeprecationWarning EOFError
+ syn keyword pythonException EnvironmentError Exception FloatingPointError
+ syn keyword pythonException FutureWarning GeneratorExit IOError ImportError
+ syn keyword pythonException ImportWarning IndentationError IndexError
+ syn keyword pythonException KeyError KeyboardInterrupt LookupError
+ syn keyword pythonException MemoryError NameError NotImplementedError
+ syn keyword pythonException OSError OverflowError PendingDeprecationWarning
+ syn keyword pythonException ReferenceError RuntimeError RuntimeWarning
+ syn keyword pythonException StandardError StopIteration SyntaxError
+ syn keyword pythonException SyntaxWarning SystemError SystemExit TabError
+ syn keyword pythonException TypeError UnboundLocalError UnicodeDecodeError
+ syn keyword pythonException UnicodeEncodeError UnicodeError
+ syn keyword pythonException UnicodeTranslateError UnicodeWarning
+ syn keyword pythonException UserWarning ValueError Warning
+ syn keyword pythonException ZeroDivisionError
endif
diff --git a/Misc/Vim/vim_syntax.py b/Misc/Vim/vim_syntax.py
index 3f2a3d8a23..55dd27702d 100644
--- a/Misc/Vim/vim_syntax.py
+++ b/Misc/Vim/vim_syntax.py
@@ -5,9 +5,9 @@ import exceptions
import __builtin__
from string import Template
-comment_header = """" Auto-generated Vim syntax file for Python
+comment_header = '''" Auto-generated Vim syntax file for Python.
"
-" To use: copy or symlink to ~/.vim/syntax/python.vim"""
+" To use: copy or symlink to ~/.vim/syntax/python.vim'''
statement_header = """
if exists("b:current_syntax")
@@ -30,14 +30,14 @@ boolean_ops = ('and', 'in', 'is', 'not', 'or')
import_stmts = ('import', 'from')
object_defs = ('def', 'class')
-exception_names = frozenset(exc for exc in dir(exceptions)
+exception_names = sorted(exc for exc in dir(exceptions)
if not exc.startswith('__'))
# Need to include functions that start with '__' (e.g., __import__), but
# nothing that comes with modules (e.g., __name__), so just exclude anything in
# the 'exceptions' module since we want to ignore exceptions *and* what any
# module would have
-builtin_names = frozenset(builtin for builtin in dir(__builtin__)
+builtin_names = sorted(builtin for builtin in dir(__builtin__)
if builtin not in dir(exceptions))
escapes = (r'+\\[abfnrtv\'"\\]+', r'"\\\o\{1,3}"', r'"\\x\x\{2}"',
diff --git a/Misc/Vim/vimrc b/Misc/Vim/vimrc
index ff7c4c6d96..11ec638042 100644
--- a/Misc/Vim/vimrc
+++ b/Misc/Vim/vimrc
@@ -21,7 +21,8 @@
" Python: 4 spaces
" C: 4 spaces
au BufRead,BufNewFile *.py,*pyw set shiftwidth=4
-au BufRead,BufNewFile *.c,*.h set shiftwidth=4
+au BufRead *.c,*.h set shiftwidth=8
+au BufNewFile *.c,*.h set shiftwidth=4
" Number of spaces that a pre-existing tab is equal to.
" For the amount of space used for a new tab use shiftwidth.