commit | f21ad92351584b4c0163cdeb6d877317fdc53ea3 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Mar 26 17:56:28 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Mar 26 17:56:28 2011 -0500 |
tree | 879b1e6fde962d006b81f13442c6babf70a0ba8d | |
parent | 41347fe011c4cb8725b18f0b0bd4812089f4cae0 [diff] [blame] |
check possible recursive _as_parameter_ to prevent segfault (closes #1838)
diff --git a/Lib/lib2to3/refactor.py b/Lib/lib2to3/refactor.py index 7d00d12..30aea63 100644 --- a/Lib/lib2to3/refactor.py +++ b/Lib/lib2to3/refactor.py
@@ -500,7 +500,7 @@ node = new def processed_file(self, new_text, filename, old_text=None, write=False, - encoding=None): + encoding=None, newlines=None): """ Called when a file has been refactored, and there are changes. """