[issue9725] urllib.request.FancyURLopener won't connect to pages requiring username and password

2021-05-07 Thread Senthil Kumaran


Senthil Kumaran  added the comment:

urllib.request.FancyURLopener has been deprecated since 3.3

https://docs.python.org/3/library/urllib.request.html#urllib.request.FancyURLopener

This bug wont be fixed. The other higher level methods (urlopen) could used for 
basic authentication with username and password.

--
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9725] urllib.request.FancyURLopener won't connect to pages requiring username and password

2019-03-15 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9725] urllib.request.FancyURLopener won't connect to pages requiring username and password

2014-06-28 Thread Mark Lawrence

Mark Lawrence added the comment:

@Senthil can you follow up on this please.

--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9725
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9725] urllib.request.FancyURLopener won't connect to pages requiring username and password

2011-12-20 Thread Joonas Kuorilehto

Changes by Joonas Kuorilehto oh8...@gmail.com:


--
nosy: +joneskoo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9725
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9725] urllib.request.FancyURLopener won't connect to pages requiring username and password

2010-10-04 Thread Senthil Kumaran

Changes by Senthil Kumaran orsent...@gmail.com:


--
assignee:  - orsenthil
nosy: +orsenthil

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9725
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9725] urllib.request.FancyURLopener won't connect to pages requiring username and password

2010-08-31 Thread Petr Machek

New submission from Petr Machek petr...@seznam.cz:

Code:

import urllib.request

class MyOpener(urllib.request.FancyURLopener):
prompt_user_passwd = lambda x, y, z: (username, password)

opener = MyOpener()
page = opener.open(http://riddle.p4x.ch/music;)
print(page.readlines())


opener.open() call ends with error for every page requiring login via 
prompt_user_password(). urllib/request.py tries to encode password with base64 
without conversion to bytes which is required for base64.b64encode() in Python 
3.1. Even after applying conversion to bytes, another new error is generated

--
components: Library (Lib)
messages: 115269
nosy: petr6.6
priority: normal
severity: normal
status: open
title: urllib.request.FancyURLopener won't connect to pages requiring username 
and password
type: behavior
versions: Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9725
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com