TSVZ 3.27__py3-none-any.whl → 3.28__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- TSVZ.py +17 -12
- {tsvz-3.27.dist-info → tsvz-3.28.dist-info}/METADATA +1 -1
- tsvz-3.28.dist-info/RECORD +6 -0
- tsvz-3.27.dist-info/RECORD +0 -6
- {tsvz-3.27.dist-info → tsvz-3.28.dist-info}/WHEEL +0 -0
- {tsvz-3.27.dist-info → tsvz-3.28.dist-info}/entry_points.txt +0 -0
- {tsvz-3.27.dist-info → tsvz-3.28.dist-info}/top_level.txt +0 -0
TSVZ.py
CHANGED
|
@@ -22,10 +22,10 @@ if os.name == 'nt':
|
|
|
22
22
|
elif os.name == 'posix':
|
|
23
23
|
import fcntl
|
|
24
24
|
|
|
25
|
-
version = '3.
|
|
25
|
+
version = '3.28'
|
|
26
26
|
__version__ = version
|
|
27
27
|
author = 'pan@zopyr.us'
|
|
28
|
-
COMMIT_DATE = '2025-
|
|
28
|
+
COMMIT_DATE = '2025-07-07'
|
|
29
29
|
|
|
30
30
|
DEFAULT_DELIMITER = '\t'
|
|
31
31
|
DEFAULTS_INDICATOR_KEY = '#_defaults_#'
|
|
@@ -1410,16 +1410,21 @@ memoryOnly:{self.memoryOnly}
|
|
|
1410
1410
|
return self
|
|
1411
1411
|
|
|
1412
1412
|
def stopAppendThread(self):
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1413
|
+
try:
|
|
1414
|
+
if self.shutdownEvent.is_set():
|
|
1415
|
+
# if self.verbose:
|
|
1416
|
+
# self.__teePrintOrNot(f"Append thread for {self._fileName} already stopped")
|
|
1417
|
+
return
|
|
1418
|
+
self.rewrite(force=self.rewrite_on_exit) # Ensure any final sync operations are performed
|
|
1419
|
+
# self.appendEvent.set()
|
|
1420
|
+
self.shutdownEvent.set() # Signal the append thread to shut down
|
|
1421
|
+
self.appendThread.join() # Wait for the append thread to complete
|
|
1422
|
+
if self.verbose:
|
|
1423
|
+
self.__teePrintOrNot(f"Append thread for {self._fileName} stopped")
|
|
1424
|
+
except Exception as e:
|
|
1425
|
+
self.__teePrintOrNot(f"Failed to stop append thread for {self._fileName}: {e}",'error')
|
|
1426
|
+
import traceback
|
|
1427
|
+
self.__teePrintOrNot(traceback.format_exc(),'error')
|
|
1423
1428
|
|
|
1424
1429
|
def get_file_obj(self,modes = 'ab'):
|
|
1425
1430
|
self.writeLock.acquire()
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
TSVZ.py,sha256=HWooYlke-QDgcX5KbE0j8QJB1hH0ttb7t13ZILuoIbA,77718
|
|
2
|
+
tsvz-3.28.dist-info/METADATA,sha256=eceR8HsdOc71TCXrUKk89IK4-kOEZIHxGqTvt40_Q88,1826
|
|
3
|
+
tsvz-3.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
4
|
+
tsvz-3.28.dist-info/entry_points.txt,sha256=WeXidyV5yKCRLaVsnAY35xGa08QgytOfvr1CK9aescI,60
|
|
5
|
+
tsvz-3.28.dist-info/top_level.txt,sha256=OPx4LvOpaYykaos7oL_jGaObSWXxLzhHiWLuz-K147g,5
|
|
6
|
+
tsvz-3.28.dist-info/RECORD,,
|
tsvz-3.27.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
TSVZ.py,sha256=G4SZbuw8WNALDqGegzrI7eEkgyKv7tyYDCa06Ux7lS0,77440
|
|
2
|
-
tsvz-3.27.dist-info/METADATA,sha256=9pwd-LcsbXgET3ZRZgRaqatgL6kCsKgGh5zodE1JACo,1826
|
|
3
|
-
tsvz-3.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
4
|
-
tsvz-3.27.dist-info/entry_points.txt,sha256=WeXidyV5yKCRLaVsnAY35xGa08QgytOfvr1CK9aescI,60
|
|
5
|
-
tsvz-3.27.dist-info/top_level.txt,sha256=OPx4LvOpaYykaos7oL_jGaObSWXxLzhHiWLuz-K147g,5
|
|
6
|
-
tsvz-3.27.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|