Issue 5208: urllib2.build_opener( - Python tracker (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/49458
classification
Title: | urllib2.build_opener( | ||
---|---|---|---|
Type: | Stage: | ||
Components: | Documentation | Versions: | Python 2.6 |
process
Status: | closed | Resolution: | not a bug |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | georg.brandl | Nosy List: | ajaksu2, georg.brandl, mjb, orsenthil |
Priority: | normal | Keywords: |
Created on 2009-02-10 17:15 by mjb, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (6) | ||
---|---|---|
msg81567 - (view) | Author: Max Böhm (mjb) | Date: 2009-02-10 17:15 |
The build_opener() function of urllib2 is speciofied as: urllib2.build_opener([handler, ...]) I think it should be: urllib2.build_opener(handler, ...) see http://docs.python.org/library/urllib2.html?highlight=build_opener | ||
msg81704 - (view) | Author: Daniel Diniz (ajaksu2) * ![]() |
Date: 2009-02-12 02:07 |
I believe those square brackets mean "supplying handlers is optional", but even so it'd be very ambiguous. | ||
msg81908 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2009-02-13 11:14 |
Why is that ambiguous? Can you come up with a better short form? | ||
msg81909 - (view) | Author: Senthil Kumaran (orsenthil) * ![]() |
Date: 2009-02-13 11:43 |
And that is how it is at all others places too. Optionals are placed inside []. | ||
msg84640 - (view) | Author: Senthil Kumaran (orsenthil) * ![]() |
Date: 2009-03-30 20:31 |
Georg, I think this can be closed as invalid. Thanks. | ||
msg84882 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2009-03-31 19:44 |
Closing as invalid. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:45 | admin | set | github: 49458 |
2009-03-31 19:44:08 | georg.brandl | set | status: open -> closedresolution: not a bugmessages: + |
2009-03-30 20:31:32 | orsenthil | set | messages: + |
2009-02-13 11:43:38 | orsenthil | set | nosy: + orsenthilmessages: + title: urllib2.build_opener([handler, ...]) incorrect signature in docs -> urllib2.build_opener( |
2009-02-13 11:14:10 | georg.brandl | set | messages: + |
2009-02-12 02:07:30 | ajaksu2 | set | nosy: + ajaksu2messages: + |
2009-02-10 17:15:25 | mjb | create |