Staging
v0.5.1
https://github.com/python/cpython
Revision 5e6db313686c200da425a54d2e0c95fa40107b1d authored by Terry Jan Reedy on 17 February 2014, 21:45:48 UTC, committed by Terry Jan Reedy on 17 February 2014, 21:45:48 UTC
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.
1 parent cf62603
Raw File
Tip revision: 5e6db313686c200da425a54d2e0c95fa40107b1d authored by Terry Jan Reedy on 17 February 2014, 21:45:48 UTC
Untokenize: An logically incorrect assert tested user input validity.
Tip revision: 5e6db31
.hgeol
[patterns]

# Non human-editable files are binary

**.dsp  = BIN
**.dsw  = BIN
**.mk   = BIN
**.sln  = BIN
**.vcproj  = BIN
**.vsprops = BIN

**.aif  = BIN
**.aifc = BIN
**.aiff = BIN
**.au   = BIN
**.bmp  = BIN
**.db   = BIN
**.exe  = BIN
**.icns = BIN
**.gif  = BIN
**.ico  = BIN
**.info = BIN
**.jpg  = BIN
**.pck  = BIN
**.png  = BIN
**.psd  = BIN
**.tar  = BIN
**.wav  = BIN
**.xar  = BIN
**.zip  = BIN

Lib/test/cjkencodings/* = BIN
Lib/test/decimaltestdata/*.decTest = BIN
Lib/test/sndhdrdata/sndhdr.* = BIN
Lib/test/test_email/data/msg_26.txt = BIN
Lib/test/xmltestdata/* = BIN

Lib/venv/scripts/nt/* = BIN

# All other files (which presumably are human-editable) are "native".
# This must be the last rule!

** = native

[repository]
native = LF
back to top