Commit Graph

68 Commits

Author SHA1 Message Date
Ezio Melotti e9c7d6c3d9 Fix markup and working in the doc. 2011-05-12 01:10:57 +03:00
Senthil Kumaran 4de00a2e87 Fix closes Issue #11799: urllib.request Authentication Handlers will raise a
ValueError when presented with an unsupported Authentication Scheme.
2011-05-11 21:17:57 +08:00
Eli Bendersky 3384e54c23 Issue #11855: merge from 3.1 2011-04-16 15:34:29 +03:00
Eli Bendersky 219cc776f6 Issue #11855: Apply missing formatting for urlretrieve 2011-04-16 15:32:13 +03:00
guido@google.com c768ff5d4f Merge Issue 11662 from 3.1 branch. 2011-03-29 11:51:26 -07:00
guido@google.com a119df91f3 Issue 11662: Fix vulnerability in urllib/urllib2.
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
Éric Araujo d40248777b Merge from 3.1 2011-03-20 18:31:42 +01:00
Éric Araujo 09eb980e3e Fix typo in class name 2011-03-20 18:30:37 +01:00
Georg Brandl f6c8fd62b9 Merged revisions 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r86537 | georg.brandl | 2010-11-19 23:09:04 +0100 (Fr, 19 Nov 2010) | 1 line

  Do not put a raw REPLACEMENT CHARACTER in the document.
........
  r86867 | georg.brandl | 2010-11-29 15:50:54 +0100 (Mo, 29 Nov 2010) | 1 line

  Fix indentation bug.
........
  r86868 | georg.brandl | 2010-11-29 15:53:15 +0100 (Mo, 29 Nov 2010) | 1 line

  Fix heading style inconsistencies.
........
  r86881 | georg.brandl | 2010-11-30 08:43:28 +0100 (Di, 30 Nov 2010) | 1 line

  #10584: fix bad links.
........
  r86887 | georg.brandl | 2010-11-30 15:57:54 +0100 (Di, 30 Nov 2010) | 1 line

  Fix typo.
........
  r86913 | georg.brandl | 2010-12-01 16:32:43 +0100 (Mi, 01 Dez 2010) | 1 line

  Add missing word, and add a better reference to the actual function.
........
  r86914 | georg.brandl | 2010-12-01 16:36:33 +0100 (Mi, 01 Dez 2010) | 1 line

  #10594: fix parameter names in PyList API docs.
........
  r86915 | georg.brandl | 2010-12-01 16:44:25 +0100 (Mi, 01 Dez 2010) | 1 line

  Fix some markup and style in the unittest docs.
........
  r86931 | georg.brandl | 2010-12-02 10:06:12 +0100 (Do, 02 Dez 2010) | 1 line

  Fix-up documentation of makedirs().
........
  r86932 | david.malcolm | 2010-12-02 17:41:00 +0100 (Do, 02 Dez 2010) | 2 lines

  Fix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606)
........
  r86933 | georg.brandl | 2010-12-02 19:02:01 +0100 (Do, 02 Dez 2010) | 1 line

  #10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
........
  r86960 | georg.brandl | 2010-12-03 08:55:44 +0100 (Fr, 03 Dez 2010) | 1 line

  #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.
........
  r86964 | georg.brandl | 2010-12-03 10:58:38 +0100 (Fr, 03 Dez 2010) | 1 line

  #10549: fix interface of docclass() for text documenter.
........
  r86974 | georg.brandl | 2010-12-03 16:30:09 +0100 (Fr, 03 Dez 2010) | 1 line

  Markup consistency fixes.
........
  r86980 | georg.brandl | 2010-12-03 18:19:27 +0100 (Fr, 03 Dez 2010) | 1 line

  Fix punctuation.
........
  r86996 | georg.brandl | 2010-12-03 20:56:42 +0100 (Fr, 03 Dez 2010) | 1 line

  Fix indentation.
........
  r87008 | georg.brandl | 2010-12-04 10:04:04 +0100 (Sa, 04 Dez 2010) | 1 line

  Fix typo.
........
  r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line

  Fix typo.
........
2011-02-25 09:48:21 +00:00
Senthil Kumaran 2933312fe7 Fixed issue11082 - Reject str for POST data with a TypeError. Document the need to explicitly encode to bytes when using urlencode. 2011-02-11 11:25:47 +00:00
Georg Brandl 09a7df8301 #3243 follow-up: remove debugging print and fix docs; data is a bytes object. 2010-12-19 12:33:52 +00:00
Senthil Kumaran 7bc0d872dd Issue3243 - Support iterable bodies in httplib. Patch contributions by Xuanji Li and Chris AtLee. 2010-12-19 10:49:52 +00:00
Antoine Pitrou b8eb9cbd71 Move the urllib-inherited API to a distinguished section 2010-12-15 19:07:26 +00:00
Georg Brandl 8175daec10 Fix heading style inconsistencies. 2010-11-29 14:53:15 +00:00
Georg Brandl 51be98a920 Fix indentation bug. 2010-11-29 14:50:54 +00:00
Ezio Melotti 92165e6af7 Merged revisions 86528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86528 | ezio.melotti | 2010-11-18 21:48:27 +0200 (Thu, 18 Nov 2010) | 1 line

  #10455: fix typo
........
2010-11-18 19:49:19 +00:00
Ezio Melotti b970142707 #10455: fix typo 2010-11-18 19:48:27 +00:00
Antoine Pitrou d532321f7b Issue #5639: Add a *server_hostname* argument to `SSLContext.wrap_socket`
in order to support the TLS SNI extension.  `HTTPSConnection` and
`urlopen()` also use this argument, so that HTTPS virtual hosts are now
supported.
2010-10-22 18:19:07 +00:00
Senthil Kumaran 916bd38a06 Fixing some sphinx inline directives - detected using ``make check``. 2010-10-15 12:55:19 +00:00
Senthil Kumaran 383c32dd38 Issue10063 - file:// scheme will stop accessing remote hosts via ftp protocol 2010-10-14 11:57:35 +00:00
Antoine Pitrou 803e6d670c Issue #9003: http.client.HTTPSConnection, urllib.request.HTTPSHandler and
urllib.request.urlopen now take optional arguments to allow for
server certificate checking, as recommended in public uses of HTTPS.
2010-10-13 10:36:15 +00:00
Georg Brandl 16489247aa Merged revisions 79901,80170,80273,80342-80343,81061,81366,81368,81370,81840 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r79901 | georg.brandl | 2010-04-08 08:33:16 +0200 (Do, 08 Apr 2010) | 1 line

  Fix indentation.
................
  r80170 | georg.brandl | 2010-04-18 11:50:07 +0200 (So, 18 Apr 2010) | 1 line

  Remove colspanning cells.
................
  r80273 | georg.brandl | 2010-04-20 20:15:54 +0200 (Di, 20 Apr 2010) | 1 line

  Markup nit.
................
  r80342 | georg.brandl | 2010-04-22 09:00:42 +0200 (Do, 22 Apr 2010) | 1 line

  Fix indentation.
................
  r80343 | georg.brandl | 2010-04-22 09:02:51 +0200 (Do, 22 Apr 2010) | 1 line

  Typo fixes.
................
  r81061 | georg.brandl | 2010-05-10 23:17:00 +0200 (Mo, 10 Mai 2010) | 1 line

  Fix nits in the lexical analysis section: \u requires four digits, backtick is not allowed in source in 3.x.
................
  r81366 | georg.brandl | 2010-05-19 22:58:02 +0200 (Mi, 19 Mai 2010) | 61 lines

  Recorded merge of revisions 80030,80067,80069,80080-80081,80084,80432-80433,80465,80470,81059,81065-81067 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r80030 | georg.brandl | 2010-04-13 08:43:54 +0200 (Di, 13 Apr 2010) | 1 line

    Get rid of multi-row cells.
  ........
    r80067 | georg.brandl | 2010-04-14 10:53:38 +0200 (Mi, 14 Apr 2010) | 1 line

    #5341: typo.
  ........
    r80069 | georg.brandl | 2010-04-14 15:50:31 +0200 (Mi, 14 Apr 2010) | 1 line

    Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek().
  ........
    r80080 | georg.brandl | 2010-04-14 21:16:38 +0200 (Mi, 14 Apr 2010) | 1 line

    #8399: add note about Windows and O_BINARY.
  ........
    r80081 | georg.brandl | 2010-04-14 23:34:44 +0200 (Mi, 14 Apr 2010) | 1 line

    #5250: document __instancecheck__ and __subclasscheck__.  I hope the part about the class/metaclass distinction is understandable.
  ........
    r80084 | georg.brandl | 2010-04-14 23:46:45 +0200 (Mi, 14 Apr 2010) | 1 line

    Fix missing.
  ........
    r80432 | georg.brandl | 2010-04-24 10:56:58 +0200 (Sa, 24 Apr 2010) | 1 line

    Markup fixes.
  ........
    r80433 | georg.brandl | 2010-04-24 11:08:10 +0200 (Sa, 24 Apr 2010) | 1 line

    #7507: quote "!" in pipes.quote(); it is a special character for some shells.
  ........
    r80465 | georg.brandl | 2010-04-25 12:29:17 +0200 (So, 25 Apr 2010) | 1 line

    Remove LaTeXy index entry syntax.
  ........
    r80470 | georg.brandl | 2010-04-25 12:57:15 +0200 (So, 25 Apr 2010) | 1 line

    Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric.
  ........
    r81059 | georg.brandl | 2010-05-10 23:02:51 +0200 (Mo, 10 Mai 2010) | 1 line

    #8642: fix wrong function name.
  ........
    r81065 | georg.brandl | 2010-05-10 23:46:50 +0200 (Mo, 10 Mai 2010) | 1 line

    Fix reference direction.
  ........
    r81066 | georg.brandl | 2010-05-10 23:50:57 +0200 (Mo, 10 Mai 2010) | 1 line

    Consolidate deprecation messages.
  ........
    r81067 | georg.brandl | 2010-05-10 23:51:33 +0200 (Mo, 10 Mai 2010) | 1 line

    Fix typo.
  ........
................
  r81368 | georg.brandl | 2010-05-19 23:06:36 +0200 (Mi, 19 Mai 2010) | 9 lines

  Merged revisions 80068 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r80068 | georg.brandl | 2010-04-14 10:56:01 +0200 (Mi, 14 Apr 2010) | 1 line

    #5341: fix typo and adapt docstring syntax.
  ........
................
  r81370 | georg.brandl | 2010-05-19 23:39:51 +0200 (Mi, 19 Mai 2010) | 1 line

  Add descriptor HOWTO to py3k docs.
................
  r81840 | alexander.belopolsky | 2010-06-08 20:59:20 +0200 (Di, 08 Jun 2010) | 9 lines

  Merged revisions 81489 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81489 | georg.brandl | 2010-05-23 17:29:29 -0400 (Sun, 23 May 2010) | 1 line

    #1436346: make it more obvious that timetuple[7] is yday.
  ........
................
2010-10-06 08:03:21 +00:00
Senthil Kumaran c08d9070db fix a typo. 2010-10-05 18:46:56 +00:00
Senthil Kumaran f066e27051 Merged revisions 85232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85232 | senthil.kumaran | 2010-10-06 00:05:41 +0530 (Wed, 06 Oct 2010) | 3 lines

  Remove the references of FTPS from the urllib Documentation. There is no support for it yet.
........
2010-10-05 18:41:01 +00:00
Senthil Kumaran 242690f870 Remove the references of FTPS from the urllib Documentation. There is no support for it yet. 2010-10-05 18:35:41 +00:00
Amaury Forgeot d'Arc ea8676bf8b Lower the tone of the warning about SSL certificate validation. 2010-10-01 23:42:24 +00:00
Antoine Pitrou 509dd54093 Merged revisions 85101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85101 | antoine.pitrou | 2010-09-29 13:24:21 +0200 (mer., 29 sept. 2010) | 3 lines

  Issue #9983: warn that urllib and httplib don't perform SSL certificate validation.
........
2010-09-29 11:25:47 +00:00
Antoine Pitrou 79ecd7621e Issue #9983: warn that urllib and httplib don't perform SSL certificate validation. 2010-09-29 11:24:21 +00:00
Senthil Kumaran 6cbe4275cb Add info about HTTP/1.1 and Connection:Close header. 2010-08-21 16:08:32 +00:00
Senthil Kumaran ea54b03b1e Merged revisions 83900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83900 | senthil.kumaran | 2010-08-10 01:23:52 +0530 (Tue, 10 Aug 2010) | 3 lines

  Fix Issue7007 -  Use percent-encoded consistently instead of URL Encoded variations. Docs changed.
........
2010-08-09 20:05:35 +00:00
Senthil Kumaran f0769e8bd0 Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Docs changed. 2010-08-09 19:53:52 +00:00
Georg Brandl 8b256caf2d Merged revisions 83106 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r83106 | georg.brandl | 2010-07-23 18:55:26 +0200 (Fr, 23 Jul 2010) | 1 line

  Fix some markup glitches.
........
2010-08-01 21:25:46 +00:00
Georg Brandl a5eacee237 Fix some markup glitches. 2010-07-23 16:55:26 +00:00
Senthil Kumaran 783df8d491 Merged revisions 82336 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r82336 | senthil.kumaran | 2010-06-28 23:01:40 +0530 (Mon, 28 Jun 2010) | 9 lines

  Merged revisions 82334 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r82334 | senthil.kumaran | 2010-06-28 22:37:40 +0530 (Mon, 28 Jun 2010) | 3 lines

    Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object.
  ........
................
2010-06-28 17:35:17 +00:00
Senthil Kumaran 13a7eb4529 Merged revisions 82334 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82334 | senthil.kumaran | 2010-06-28 22:37:40 +0530 (Mon, 28 Jun 2010) | 3 lines

  Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object.
........
2010-06-28 17:31:40 +00:00
Georg Brandl 4e0bd6d40b Merged revisions 81421 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r81421 | georg.brandl | 2010-05-21 23:01:32 +0200 (Fr, 21 Mai 2010) | 1 line

  Fix variable name in example.
........
2010-05-21 21:02:56 +00:00
Georg Brandl 1bb061d0a5 Merged revisions 81418 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r81418 | georg.brandl | 2010-05-21 22:57:33 +0200 (Fr, 21 Mai 2010) | 9 lines

  Recorded merge of revisions 81415 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81415 | georg.brandl | 2010-05-21 22:52:46 +0200 (Fr, 21 Mai 2010) | 1 line

    typo
  ........
................
2010-05-21 21:01:43 +00:00
Georg Brandl fe4fd83737 Fix variable name in example. 2010-05-21 21:01:32 +00:00
Georg Brandl 325524e967 Recorded merge of revisions 81415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81415 | georg.brandl | 2010-05-21 22:52:46 +0200 (Fr, 21 Mai 2010) | 1 line

  typo
........
2010-05-21 20:57:33 +00:00
Senthil Kumaran 4cee9bff1f Merged revisions 81283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81283 | senthil.kumaran | 2010-05-18 09:28:36 +0530 (Tue, 18 May 2010) | 3 lines

  Removing the reference in the docs for overriding _urlopener global value. See Issue8619 for details.
........
2010-05-18 04:01:11 +00:00
Senthil Kumaran e857d32d91 Removing the reference in the docs for overriding _urlopener global value. See Issue8619 for details. 2010-05-18 03:58:36 +00:00
Senthil Kumaran de4bcd92f9 Merged revisions 80775 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80775 | senthil.kumaran | 2010-05-05 12:52:18 +0530 (Wed, 05 May 2010) | 3 lines

  Fix issue8619 - Doc fix - code example.
........
2010-05-05 07:24:44 +00:00
Senthil Kumaran 56d521cffb Fix issue8619 - Doc fix - code example. 2010-05-05 07:22:18 +00:00
Senthil Kumaran ef7a65c3b3 Merged revisions 80773 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80773 | senthil.kumaran | 2010-05-05 11:02:16 +0530 (Wed, 05 May 2010) | 3 lines

  Fix Issue8619 docfix related to urllib.
........
2010-05-05 05:34:35 +00:00
Senthil Kumaran 4db26af280 Fix Issue8619 docfix related to urllib. 2010-05-05 05:32:16 +00:00
Senthil Kumaran d0ab48f1c4 Merged revisions 80346 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80346 | senthil.kumaran | 2010-04-22 16:23:30 +0530 (Thu, 22 Apr 2010) | 4 lines

  Fixing a note on encoding declaration, its usage in urlopen based on review
  comments from RDM and Ezio.
........
2010-04-22 10:58:56 +00:00
Senthil Kumaran 0c2d8b8e51 Fixing a note on encoding declaration, its usage in urlopen based on review
comments from RDM and Ezio.
2010-04-22 10:53:30 +00:00
Georg Brandl bdc55aba34 Markup nit. 2010-04-20 18:15:54 +00:00
Senthil Kumaran 0e3e485452 Merged revisions 80092 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80092 | senthil.kumaran | 2010-04-15 22:48:22 +0530 (Thu, 15 Apr 2010) | 2 lines

  Fix Issue5419 - explaining bytes return value of urlopen, use of .decode() to convert to str.
........
2010-04-15 17:21:29 +00:00
Senthil Kumaran b213ee33c0 Fix Issue5419 - explaining bytes return value of urlopen, use of .decode() to convert to str. 2010-04-15 17:18:22 +00:00