-
Jeremy Hylton authored
Replace three small integers with symbolic constants. TRANS_HDR_LEN = 23 DATA_HDR_LEN = 42 DATA_VERSION_HDR_LEN = 58 The constants make it easier to remember what kind of header is being read and/or what kind of offset is being computed. Refactor commitVersion(): - Keep locking & arg checking in commitVersion(), but move actual commit logic to _commitVersion(). This removes a level of indentation. - Remove local vars that alias attributes of other vars Add a few more POSKeyError exceptions.
a8b6c61d