Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(443)

Unified Diff: Lib/logging/handlers.py

Issue 2439: py3k regular expressions and unicode (Closed) Base URL: http://svn.python.org/view/*checkout*/python/branches/py3k/
Patch Set: Final patch (hopefully) also adding the (?a) inline flag Created 15 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/json/decoder.py ('k') | Lib/platform.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Lib/logging/handlers.py
===================================================================
--- Lib/logging/handlers.py (revision 65250)
+++ Lib/logging/handlers.py (working copy)
@@ -199,7 +199,7 @@
else:
raise ValueError("Invalid rollover interval specified: %s" % self.when)
- self.extMatch = re.compile(self.extMatch)
+ self.extMatch = re.compile(self.extMatch, re.ASCII)
self.interval = self.interval * interval # multiply by units requested
self.rolloverAt = currentTime + self.interval
« no previous file with comments | « Lib/json/decoder.py ('k') | Lib/platform.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b