Author ResulCetin
Recipients ResulCetin, ajaksu2, amaury.forgeotdarc, dato, exarkun, jhylton
Date 2008-12-14.10:20:45
SpamBayes Score 0.00057034
Marked as misclassified No
Message-id <1229250046.45.0.0104740698274.issue4631@psf.upfronthosting.co.za>
In-reply-to
Content
I have the same problem with that code:

(exchange USERNAME with your delicious username and PASSWORD with your 
delicious password):
 import urllib.request
 auth_handler = urllib.request.HTTPBasicAuthHandler()
 auth_handler.add_password('del.icio.us API', 'api.del.icio.us',
USERNAME, PASSWORD)
 opener = urllib.request.build_opener(auth_handler)
 print(str(opener.open('https://api.del.icio.us/v1/posts/all').read(20),
"utf-8"))

And I don't use a proxy or anything like that. This makes python 3
completely unusable for me. And python 2.6 gives me what I want (the
content of that virtual file) without any extra data in front or in the
middle of the content.
History
Date User Action Args
2008-12-14 10:20:46ResulCetinsetrecipients: + ResulCetin, jhylton, exarkun, amaury.forgeotdarc, ajaksu2, dato
2008-12-14 10:20:46ResulCetinsetmessageid: <1229250046.45.0.0104740698274.issue4631@psf.upfronthosting.co.za>
2008-12-14 10:20:45ResulCetinlinkissue4631 messages
2008-12-14 10:20:45ResulCetincreate