commit 82b76dcf67d8eaea9752042e92dcabb9397f61c0
Author: gordon chung <email address hidden>
Date: Thu Nov 26 16:03:30 2015 -0500
re-implement thread safe fnmatch
fnmatch is not thread safe for versions <= 2.7.9. We have used
it in some places without any lock for concurrency scenario. This patch
re-implements a thread safe match() which is very similar to fnmatch by
using its translate function.
Reviewed: https:/ /review. openstack. org/250531 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=82b76dcf67d 8eaea9752042e92 dcabb9397f61c0
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 82b76dcf67d8eae a9752042e92dcab b9397f61c0
Author: gordon chung <email address hidden>
Date: Thu Nov 26 16:03:30 2015 -0500
re-implement thread safe fnmatch
fnmatch is not thread safe for versions <= 2.7.9. We have used
it in some places without any lock for concurrency scenario. This patch
re-implements a thread safe match() which is very similar to fnmatch by
using its translate function.
Co-Authored-By: ZhiQiang Fan <email address hidden> 1519144eb09ecf8 c82b16b6143 /hg.python. org/cpython/ rev/fe12c34c39e b
Change-Id: I4b6c2ea7284120
ref: https:/
Closes-Bug: #1519767