Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urllib.urlopen fails with python3 #4 #4

Open
DimopoulosElias opened this issue Sep 19, 2015 · 1 comment
Open

urllib.urlopen fails with python3 #4 #4

DimopoulosElias opened this issue Sep 19, 2015 · 1 comment
Labels

Comments

@DimopoulosElias
Copy link
Contributor

With python 3 i have problems with urllib.urlopen.
File jf-web.py line 107
Code:
try:
BASE_RESPONSE = urllib.urlopen('http://%s/%s' % (TARGET, ADDR), timeout=10)
Doesn't work.
Did you write it for python2? There are changes in python 3:
https://docs.python.org/3.5/library/urllib.html

@gingeleski
Copy link
Member

Originally yes. We'll have to migrate.

This might also explain issues with the Brython library, as that might be
targeted for Python 3.
On Sep 19, 2015 12:45 PM, "DimopoulosElias" notifications@github.com
wrote:

With python 3 i have problems with urllib.urlopen.
File jf-web.py line 107
Code:
try:
BASE_RESPONSE = urllib.urlopen('http://%s/%s' % (TARGET, ADDR),
timeout=10)
Doesn't work.
Did you write it for python2? There are changes in python 3:
https://docs.python.org/3.5/library/urllib.html


Reply to this email directly or view it on GitHub
#4.

@gingeleski gingeleski added the bug label Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants