[issue17977] urllib.request.urlopen() cadefault argument is documented with wrong default value

2013-05-14 Thread Senthil Kumaran

Senthil Kumaran added the comment:

OMG. That's a glaring mistake. Thanks for fixing it.

--
nosy: +orsenthil

___
Python tracker 

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



[issue17977] urllib.request.urlopen() cadefault argument is documented with wrong default value

2013-05-14 Thread Barry A. Warsaw

Changes by Barry A. Warsaw :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



[issue17977] urllib.request.urlopen() cadefault argument is documented with wrong default value

2013-05-14 Thread Roundup Robot

Roundup Robot added the comment:

New changeset e2288953e9f1 by Barry Warsaw in branch '3.3':
- Issue #17977: The documentation for the cadefault argument's default value
http://hg.python.org/cpython/rev/e2288953e9f1

New changeset 85ecc4761a6c by Barry Warsaw in branch 'default':
- Issue #17977: The documentation for the cadefault argument's default value
http://hg.python.org/cpython/rev/85ecc4761a6c

--
nosy: +python-dev

___
Python tracker 

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



[issue17977] urllib.request.urlopen() cadefault argument is documented with wrong default value

2013-05-14 Thread Barry A. Warsaw

New submission from Barry A. Warsaw:

The docs[1] say:

.. function:: urlopen(url, data=None[, timeout], *, cafile=None, capath=None, 
cadefault=True)

The code[2] says:

def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
*, cafile=None, capath=None, cadefault=False):

Obviously, the code cannot be changed in a stable release, and whether the 
default should be changed for 3.4 is a separate discussion.  For now, the docs 
should be fixed to reflect the code.

[1] Doc/library/urllib.request.rst
[2] Lib/urllib/request.py

--
assignee: barry
components: Documentation
messages: 189228
nosy: barry
priority: normal
severity: normal
status: open
title: urllib.request.urlopen() cadefault argument is documented with wrong 
default value
type: behavior
versions: Python 3.3, Python 3.4

___
Python tracker 

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