11 Commits

Author SHA1 Message Date
Mark Charney
46e7005556 use is_stringish() to avoid bytes vs str tests everywhere
* almost no where in the program should I have bytes being used.
    Maybe from binary read of hashed files would be about it, but that
    is self contained.

  * added some more utility functions in util open_readlines() and
    make_list_of_str(). common idioms I found myself replacing in
    python2->python3 porting.

Change-Id: Ia2e58411df8a86648c4d590136f795cefb01fb0f
(cherry picked from commit e08cc1ce291f6b9f33bf686efe82df15d1a8ad32)
2017-06-12 14:45:49 -04:00
Mark Charney
ad615f1fde work_queue dump output ensure_string() for bytes
Change-Id: I8fcd0c3377344bdd84274d050b562014204d041b
(cherry picked from commit 64cb1cccacd1746b4aff8ac5d2a4f123e42b9637)
2017-06-12 14:45:48 -04:00
Mark Charney
ca1d2c8819 winreg vs _winreg
Change-Id: I15cf7c8da6aaaae5e53cc40d47daa00dcfbf59fb
(cherry picked from commit 3ec97dd5837492d42a3a305feb433209f315ace9)
2017-06-12 14:45:48 -04:00
Mark Charney
d79825e036 fix termination API for task queues. (from original py3 mbuild port)
Change-Id: I3279287318743580f6802601b69327338d19d3ba
(cherry picked from commit a57bc95a9ca6d6fa322faa7baa609f0552055113)
2017-06-12 14:45:48 -04:00
Mark Charney
35af85c723 workqueue: string or bytes test and encoding string before hashing
Change-Id: I7c7c5df9ff08be372e2e14f5dafc4f4c3e7900c0
(cherry picked from commit c9282ada7abab1cce60d5786dcd43cd72ecf0fbf)
2017-06-12 14:45:48 -04:00
Mark Charney
c4994e2593 work_queue: latent bug missing underscore on one call to _extend_output()
Change-Id: I085211eff2c63ed51fe577b844352b2167c6ef5d
(cherry picked from commit b692f3835ccc7e5cdf8fc168be14fad119d77334)
2017-06-12 14:45:48 -04:00
Mark Charney
3d5252e069 fix isinstance() types.ListType (etc.) strings -> bytes. kept types.FunctionType
Change-Id: I1a73fb5252bae6a7f81391a404fb1db43cea81be
(cherry picked from commit 793616ee68f472457585a6f76b75262218951213)
2017-06-12 14:45:48 -04:00
Mark Charney
ad99c936c7 py3 port. print function and imports fixes. Queue name. Exception syntax
Change-Id: I7f085ac438264a19c9b9c44b552b824e5d8bfd10
(cherry picked from commit b2197627ecbfcdc9338c69aa9e75317ae3c03bc5)
2017-06-12 14:45:48 -04:00
Mark Charney
1d99e0e5b4 work_queue: indenting
Change-Id: I076c86e3db1878bf6231308e33b136ea4e9d88d8
(cherry picked from commit 49de783542f4021da83d4f203c47df1c5a427d68)
2017-05-01 12:16:53 -04:00
Mark Charney
91ac8807d2 fixed termination race condition by not clearing thread list 2016-12-19 13:59:34 -05:00
Mark Charney
52ceb3152e initial commit
Change-Id: I6fc3fd7babab231f4389689f9166e04ffba70136
2016-12-15 14:25:06 -05:00