pendulum
pendulum copied to clipboard
When using gevent, the function under window (pendulum.Parse) bug
- [ ] I am on the latest Pendulum version.
- [ ] I have searched the issues of this repo and believe that this is not a duplicate.
- OS version and name:
- Pendulum version:
Issue
import time
import gevent
from gevent.threadpool import ThreadPool
from gevent import monkey, sleep
monkey.patch_all()
pool = ThreadPool(6)
start = time.time()
for i in range(12):
pool.spawn(pendulum.parse, "now")
gevent.wait()
delay = time.time() - start
File "C:\Users\csuil\Anaconda3\lib\site-packages\pendulum\tz\local_timezone.py", line 67, in _get_windows_timezone
from .data.windows import windows_timezones

I tested it. I just need to change the location of the code
Please fix the bug