Comments (6)
I haven't tested it with Python 3.7, so it may have compatibility issues.
It should certainly work on Windows though.
I'll do some testing when I have some time. Thanks for the report!
from pyz3r.
Thanks! it works on Bash on Windows with python 3.6. I want to believe that enumerate changed from 3.6 to 3.7 but I do not keep up with the change logs. I will be playing around with it later today so if I come up with a fix I will create a new branch and push it for ya. :) Also thank you for making this! I was going to try and do something like this but had no idea how to start! haha
from pyz3r.
Thanks! This was the first python module that I published to pypi, so there is certainly room for improvement.
from pyz3r.
Line 350 in 1bca3bb
This should be changed to
try:
yield tuple([next(itr) for i in range(count)])
except StopIteration:
return
I should be able to make this change and maintain compatibility with Python 3.6.
https://docs.python.org/3/whatsnew/3.7.html#porting-to-python-3-7
PEP 479 is enabled for all code in Python 3.7, meaning that StopIteration exceptions raised directly or indirectly in coroutines and generators are transformed into RuntimeError exceptions.
from pyz3r.
Okay Cool! I just tested that and that works! :)
from pyz3r.
I uploaded version 1.0.1 to PyPi, it has this fix for Python 3.7, plus it'll also retry if we don't get a response from the server (workaround for sporchia/alttp_vt_randomizer#640 ). It'll also use the /hash/ endpoint to retrieve seed data if it fails to pull from S3, allowing me to remove an ugly sleep(3) call.
Thanks for the bug report, it is much appreciated!
from pyz3r.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyz3r.