comparison upreckon/compat.py @ 174:e0b2fbd7ebe0

Improved built-in output validator; added conf. var. binary The built-in output validator now reads blocks rather than lines, which should make it faster. There is also a new configuration variable called binary, which defaults to False and specifies whether the built-in output validator should not try to translate line breaks. Finally, when binary is false, the built-in output validator now translates line breaks even if it the reference output is in a tape archive.
author Oleg Oshmyan <chortos@inbox.lv>
date Sat, 18 Jun 2011 02:55:17 +0100
parents d5b6708c1955
children
comparison
equal deleted inserted replaced
170:b993d9257400 174:e0b2fbd7ebe0
1 # Copyright (c) 2010-2011 Chortos-2 <chortos@inbox.lv> 1 # Copyright (c) 2010-2011 Chortos-2 <chortos@inbox.lv>
2 2
3 # A compatibility layer for Python 2.5+. This is what lets test.py 3 # A compatibility layer for Python 2.5+. This is what lets Upreckon
4 # run on all versions of Python starting with 2.5, including Python 3. 4 # run on all versions of Python starting with 2.5, including Python 3.
5 5
6 # A few notes regarding some compatibility-driven peculiarities 6 # A few notes regarding some compatibility-driven peculiarities
7 # in the use of the language that can be seen in all modules: 7 # in the use of the language that can be seen in all modules:
8 # 8 #