File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ def doRollover(self):
114114 """
115115 if self .stream :
116116 self .stream .close ()
117+ self .stream = None
117118 if self .backupCount > 0 :
118119 for i in range (self .backupCount - 1 , 0 , - 1 ):
119120 sfn = "%s.%d" % (self .baseFilename , i )
@@ -313,6 +314,7 @@ def doRollover(self):
313314 """
314315 if self .stream :
315316 self .stream .close ()
317+ self .stream = None
316318 # get the time that this sequence started at and make it a TimeTuple
317319 t = self .rolloverAt - self .interval
318320 if self .utc :
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ Core and Builtins
3737Library
3838-------
3939
40+ - Issue #10949: Improved robustness of rotating file handlers.
41+
4042- Issue #10955: Fix a potential crash when trying to mmap() a file past its
4143 length. Initial patch by Ross Lagerwall.
4244
You can’t perform that action at this time.
0 commit comments