Your message dated Wed, 03 Aug 2011 13:33:23 +0000
with message-id <[email protected]>
and subject line Bug#628984: fixed in python2.6 2.6.7-4
has caused the Debian Bug report #628984,
regarding python2.6: Incorrect basic HTTP authentication in urllib2.py
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
628984: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628984
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python2.6
Version: 2.6.6-10
Severity: normal

Class AbstractBasicAuthHandler in urllib2.py contain incorrect code. It can
authenticate only 6 urls. I suggest to use this patch from python2.7 urllib.py:

--- /home/mike/urllib2.py       2011-05-31 22:56:28.186386906 +0400
+++ /usr/lib/python2.6/urllib2.py       2011-05-31 22:58:01.746386196 +0400
@@ -839,7 +839,10 @@
             if mo:
                 scheme, quote, realm = mo.groups()
                 if scheme.lower() == 'basic':
-                    return self.retry_http_basic_auth(host, req, realm)
+                    response = self.retry_http_basic_auth(host, req, realm)
+                    if response and response.code != 401:
+                        self.retried = 0
+                    return response

     def retry_http_basic_auth(self, host, req, realm):
         user, pw = self.passwd.find_user_password(realm, host)



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python2.6 depends on:
ii  libbz2-1.0                    1.0.5-6    high-quality block-sorting file co
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib
ii  libdb4.8                      4.8.30-8   Berkeley v4.8 Database Libraries [
ii  libexpat1                     2.0.1-7    XML parsing C library - runtime li
ii  libncursesw5                  5.9-1      shared libraries for terminal hand
ii  libreadline6                  6.2-2      GNU readline and history libraries
ii  libsqlite3-0                  3.7.6.3-1  SQLite 3 shared library
ii  mime-support                  3.51-1     MIME files 'mime.types' & 'mailcap
ii  python2.6-minimal             2.6.6-10   A minimal subset of the Python lan

python2.6 recommends no packages.

Versions of packages python2.6 suggests:
ii  binutils              2.21.51.20110523-1 The GNU assembler, linker and bina
ii  python2.6-doc         2.6.6-10           Documentation for the high-level o
pn  python2.6-profiler    <none>             (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: python2.6
Source-Version: 2.6.7-4

We believe that the bug you reported is fixed in the latest version of
python2.6, which is due to be installed in the Debian FTP archive:

idle-python2.6_2.6.7-4_all.deb
  to main/p/python2.6/idle-python2.6_2.6.7-4_all.deb
libpython2.6_2.6.7-4_amd64.deb
  to main/p/python2.6/libpython2.6_2.6.7-4_amd64.deb
python2.6-dbg_2.6.7-4_amd64.deb
  to main/p/python2.6/python2.6-dbg_2.6.7-4_amd64.deb
python2.6-dev_2.6.7-4_amd64.deb
  to main/p/python2.6/python2.6-dev_2.6.7-4_amd64.deb
python2.6-doc_2.6.7-4_all.deb
  to main/p/python2.6/python2.6-doc_2.6.7-4_all.deb
python2.6-examples_2.6.7-4_all.deb
  to main/p/python2.6/python2.6-examples_2.6.7-4_all.deb
python2.6-minimal_2.6.7-4_amd64.deb
  to main/p/python2.6/python2.6-minimal_2.6.7-4_amd64.deb
python2.6_2.6.7-4.diff.gz
  to main/p/python2.6/python2.6_2.6.7-4.diff.gz
python2.6_2.6.7-4.dsc
  to main/p/python2.6/python2.6_2.6.7-4.dsc
python2.6_2.6.7-4_amd64.deb
  to main/p/python2.6/python2.6_2.6.7-4_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated python2.6 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 03 Aug 2011 13:18:42 +0200
Source: python2.6
Binary: python2.6 python2.6-minimal libpython2.6 python2.6-examples 
python2.6-dev idle-python2.6 python2.6-doc python2.6-dbg
Architecture: source all amd64
Version: 2.6.7-4
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description: 
 idle-python2.6 - An IDE for Python (v2.6) using Tkinter
 libpython2.6 - Shared Python runtime library (version 2.6)
 python2.6  - An interactive high-level object-oriented language (version 2.6)
 python2.6-dbg - Debug Build of the Python Interpreter (version 2.6)
 python2.6-dev - Header files and a static library for Python (v2.6)
 python2.6-doc - Documentation for the high-level object-oriented language 
Python
 python2.6-examples - Examples for the Python language (v2.6)
 python2.6-minimal - A minimal subset of the Python language (version 2.6)
Closes: 628984 636032
Changes: 
 python2.6 (2.6.7-4) unstable; urgency=low
 .
   * Fix build on s390x. Closes: #636032.
   * Fix incorrect basic HTTP authentication in urllib2.py, taken
     from 2.7 (Mikhail V. Zhukov). Closes: #628984.
Checksums-Sha1: 
 0a25243156a0afdcf3751b4de0a9fb064e1fa3ec 1728 python2.6_2.6.7-4.dsc
 b605e5407e7a1dc3d070a40b67a0f95331a764fc 277129 python2.6_2.6.7-4.diff.gz
 399ce1d71b1a9a2ab1e7ccb2eef6d1279cdf3a8d 695560 
python2.6-examples_2.6.7-4_all.deb
 d6ecb7ef8fcd63a4ddb67b25419a15c591723c1a 297156 idle-python2.6_2.6.7-4_all.deb
 d72399e81b1123c070dbf49a5f5256f3312cb45e 5778454 python2.6-doc_2.6.7-4_all.deb
 b88032efae8da462d35dcd5a1c04ef4a0f26a874 2482526 python2.6_2.6.7-4_amd64.deb
 a2ac46ab3b0b0775bcba4ad6ea2d6c8d2a4943c6 1524148 
python2.6-minimal_2.6.7-4_amd64.deb
 39c4ec89449b8ce353ec54da5587df3f361f3290 1086592 libpython2.6_2.6.7-4_amd64.deb
 6042b8195c52815086c824792461207de6d38214 4831558 
python2.6-dev_2.6.7-4_amd64.deb
 ec9a8327c5fb91f26be51be190e41496f3b7b2ce 12442504 
python2.6-dbg_2.6.7-4_amd64.deb
Checksums-Sha256: 
 74b6d743f1ac789aa90f2b16936ec637c8f4f8852031c937ac2957f5082e20ac 1728 
python2.6_2.6.7-4.dsc
 a0c23b2b22d4a7f884853115aa7426c0c8f8cf9333250af0589224f0ebbbc015 277129 
python2.6_2.6.7-4.diff.gz
 dec9b9f37818e1587a0fec18d13caf17c330d6b304580885f282bcd7e08f595e 695560 
python2.6-examples_2.6.7-4_all.deb
 672bda4ff4e3759d218ffa1250b1654ffc70f7bdcb22128530909df6ca8d34aa 297156 
idle-python2.6_2.6.7-4_all.deb
 091e3ee3e748885d491787f26c93a3d2117d5ad71408a53c2a5b6b8b25de05b8 5778454 
python2.6-doc_2.6.7-4_all.deb
 b75f38e64d0f594053f38110f8c1a8d54fb5fb701f116bb347efc3c05c7b682f 2482526 
python2.6_2.6.7-4_amd64.deb
 950cc80dc3e6e6e04effbde5ffea38734d188ac1fd39ff679867c33ee90ba4c1 1524148 
python2.6-minimal_2.6.7-4_amd64.deb
 29315900548d59a6bc84be7958ce50fbaf8f29b723a0be0fd5693d83cbb4f15f 1086592 
libpython2.6_2.6.7-4_amd64.deb
 40f451d0d49f43eb55920686e70cb85add6b90efbc1836d25bc5b63e3cae725a 4831558 
python2.6-dev_2.6.7-4_amd64.deb
 a0d7d2de18409c1e81c5638883e04a5040f74ea63ea4117610a060fbf90d3ccc 12442504 
python2.6-dbg_2.6.7-4_amd64.deb
Files: 
 f6997e18703ffad59a4f7770f2b9e6a8 1728 python optional python2.6_2.6.7-4.dsc
 17b9ec93dd202a9551441dceb0c0619a 277129 python optional 
python2.6_2.6.7-4.diff.gz
 d5df633c3415ef666aa99ca58086ee05 695560 python optional 
python2.6-examples_2.6.7-4_all.deb
 b141b8d2f2e015674a875cf6be35035f 297156 python optional 
idle-python2.6_2.6.7-4_all.deb
 e77fd7f3ff18c99985185e0eb5524599 5778454 doc optional 
python2.6-doc_2.6.7-4_all.deb
 13626a078dd9914d80e822f8f9f3d38a 2482526 python standard 
python2.6_2.6.7-4_amd64.deb
 0bf14f1d3812fb3c5fe88c3628d93513 1524148 python standard 
python2.6-minimal_2.6.7-4_amd64.deb
 30bda8f5e769d5a43f9af074c2acbdc3 1086592 libs optional 
libpython2.6_2.6.7-4_amd64.deb
 c4d760bf7d5e9704d5a254a3436b2624 4831558 python optional 
python2.6-dev_2.6.7-4_amd64.deb
 6f285d68e0887b5d4395090fe8950fe7 12442504 debug extra 
python2.6-dbg_2.6.7-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk45SCsACgkQStlRaw+TLJy9yQCfQpMspAQ9YdFhrUWzeBJRtGOT
DvAAoIX5vuyOVv6k6MQqZI/yrl4zz15m
=W7Yk
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to