apenwarr-redo/redo
Avery Pennarun aa920f12ed jobserver.py: fix very rare python3 failure reported by a user.
Traceback (most recent call last):
  File "/nix/store/i0835myyhrfr13lh4y26r58406kk90xj-redo-apenwarr-0.42a/bin/../lib/redo/cmd_ifchange.py", line 54, in main
    jobserver.force_return_tokens()
  File "/nix/store/i0835myyhrfr13lh4y26r58406kk90xj-redo-apenwarr-0.42a/bin/../lib/redo/jobserver.py", line 482, in force_return_tokens
    os.write(_cheatfds[1], 't' * _cheats)
TypeError: a bytes-like object is required, not 'str'

Unfortunately I wasn't able to replicate it, but this is obviously the right fix.
2020-06-15 00:39:10 -04:00
..
version Add a bunch of missing python docstrings. 2018-12-14 09:03:53 +00:00
.gitignore Rename redo/python -> redo/py. 2018-12-05 02:27:04 -05:00
__init__.py Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
atoi.py Add a bunch of missing python docstrings. 2018-12-14 09:03:53 +00:00
builder.py Distinguish byte (python2 str type) and unicode strings (python 3 str type) 2019-10-30 21:28:49 +01:00
clean.do Remove python interpreter selection 2019-10-30 19:58:12 +01:00
cmd_always.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_ifchange.py Run 2to3 utility 2019-10-30 19:58:12 +01:00
cmd_ifcreate.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_log.py Prevent "Exception ... ignored" in redo-log ... | head 2019-10-30 21:28:49 +01:00
cmd_ood.py Unify print function usage for Python 2 and 3 via __future__ import 2019-10-30 21:28:49 +01:00
cmd_redo.py Unify print function usage for Python 2 and 3 via __future__ import 2019-10-30 21:28:49 +01:00
cmd_sources.py Unify print function usage for Python 2 and 3 via __future__ import 2019-10-30 21:28:49 +01:00
cmd_stamp.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_targets.py Unify print function usage for Python 2 and 3 via __future__ import 2019-10-30 21:28:49 +01:00
cmd_unlocked.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_whichdo.py Run 2to3 utility 2019-10-30 19:58:12 +01:00
cycles.py Move env.{add,get}_lock() into cycles.py, and rename. 2018-12-05 02:26:58 -05:00
deps.py Python 2/3 compatible treatment of max(n, None) 2019-10-30 21:59:01 +01:00
env.py Change -x/-v to only affect top-level targets by default, not recursively. 2019-03-02 18:46:00 -05:00
helpers.py Run 2to3 utility 2019-10-30 19:58:12 +01:00
jobserver.py jobserver.py: fix very rare python3 failure reported by a user. 2020-06-15 00:39:10 -04:00
logs.py redo-log: sometimes print a (resumed) line after ending a level of recursion. 2019-03-02 19:08:47 -05:00
options.py Run 2to3 utility 2019-10-30 19:58:12 +01:00
paths.py If redo searched all the way up to /default.do, it would run ./default.do instead. 2019-03-02 04:05:36 -05:00
py.do Rename redo/python -> redo/py. 2018-12-05 02:27:04 -05:00
sh.do shelltest.od: add more "set -e" tests and add a 'skip' return code. 2018-12-17 16:17:37 +00:00
state.py Prevent iterator being changed while iterating 2019-10-30 21:59:01 +01:00
title.py Add a bunch of missing python docstrings. 2018-12-14 09:03:53 +00:00
whichpython.do Remove python interpreter selection 2019-10-30 19:58:12 +01:00