##// END OF EJS Templates
py3: tweak stdout writing in test-hgweb-no-path-info.t...
py3: tweak stdout writing in test-hgweb-no-path-info.t We want to write bytes for convenience. This requires sys.stdout.buffer. But using sys.stdout.buffer introducing buffered output. So we sprinkle code with sys.stdout.flush() to force immediate writes. After all that, Python 3 was emitting b'' prefixed output for errors. So we only print errors if there were some. There aren't, so b'' don't come into play and output is identical in Python 2 and 3. Differential Revision: https://phab.mercurial-scm.org/D4972
Gregory Szorc -
r40197:3eea8e83 default
Show More
Name Size Modified Last Commit Author
/ contrib / python-zstandard / zstd / compress
fse_compress.c Loading ...
hist.c Loading ...
hist.h Loading ...
huf_compress.c Loading ...
zstd_compress.c Loading ...
zstd_compress_internal.h Loading ...
zstd_double_fast.c Loading ...
zstd_double_fast.h Loading ...
zstd_fast.c Loading ...
zstd_fast.h Loading ...
zstd_lazy.c Loading ...
zstd_lazy.h Loading ...
zstd_ldm.c Loading ...
zstd_ldm.h Loading ...
zstd_opt.c Loading ...
zstd_opt.h Loading ...
zstdmt_compress.c Loading ...
zstdmt_compress.h Loading ...