commit 5acc00c179f109eacb174856e58f75dba1ce73cc
Author: ZhiQiang Fan <email address hidden>
Date: Thu Nov 26 04:45:04 2015 +0800
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/249764 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=5acc00c179f 109eacb174856e5 8f75dba1ce73cc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5acc00c179f109e acb174856e58f75 dba1ce73cc
Author: ZhiQiang Fan <email address hidden>
Date: Thu Nov 26 04:45:04 2015 +0800
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.
Change-Id: I4b6c2ea7284120 1519144eb09ecf8 c82b16b6143 /hg.python. org/cpython/ rev/fe12c34c39e b
ref: https:/
Closes-Bug: #1519767