[Python编程(第4版)].(Programming.Python.4th.Edition).Mark.Lutz.文字版

(yzsuai) #1

Figure 14-36. Safe deletion test detection of inbox difference


Similarly, both index list loads and individual message fetches run a synchronization
test in mailtools, as well. Figure 14-37 captures the error generated on a fetch if a
message has been deleted in another client since we last loaded the server index win-
dow. The same error is issued when this occurs during a load operation, but the first
line reads “Load failed.”


Figure 14-37. Synchronization error after delete in another client


1052 | Chapter 14: The PyMailGUI Client

Free download pdf