cookkkie / aiomeasures Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I've squatted the old PyPi package here https://pypi.org/project/aiomeasures/
We (Mozilla) received a security bug bounty report as one of our projects depended on aiomeasures
but the PyPi package had been removed, making it available for an attacker to upload.
If you wish to re-publish this package in the future feel free to let us know so we can transfer ownership of the PyPi package to you https://infosec.mozilla.org/#contact
In Python 3.7 StopIteration exception doesn't stop iteration:
File "/usr/local/lib/python3.7/dist-packages/aiomeasures-0.5.14-py3.7.egg/aiomeasures/collectors.py", line 28, in flush
raise StopIteration
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/aiomeasures-0.5.14-py3.7.egg/aiomeasures/clients/statsd/client.py", line 45, in send
yield from self.reporter.send(metrics)
File "/usr/lib/python3.7/asyncio/coroutines.py", line 120, in coro
res = func(*args, **kw)
File "/usr/local/lib/python3.7/dist-packages/aiomeasures-0.5.14-py3.7.egg/aiomeasures/reporters/statsd_reporter.py", line 27, in send
for i, metric in enumerate(metrics, start=1):
RuntimeError: generator raised StopIteration
Task exception was never retrieved
future: <Task finished coro=<StatsD.send() done, defined at /usr/local/lib/python3.7/dist-packages/aiomeasures-0.5.14-py3.7.egg/aiomeasures/clients/statsd/client.py:37> exception=RuntimeError('generator raised StopIteration')>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/aiomeasures-0.5.14-py3.7.egg/aiomeasures/collectors.py", line 12, in flush
metric = self.popleft()
IndexError: pop from an empty deque
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.