Senthil added the comment: Irrespective of the patch, this issue is reproducable with the code in the trunk for Python 2.6. Should we close this then?
n 2.6a0 (trunk:59600M, Dec 25 2007, 13:54:34) [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 >>> import urllib >>> url = "http://www.recherche.fr/encyclopedie/Thomas-Robert_Bugeaud" >>> a = urllib.urlopen(url) >>> b = urllib2.urlopen(url) >>> c = a.read(1024 * 1024 * 2) >>> c[63000:64000] 'UA-321207-2";\nurchinTracker();\n</script>\n <div id="introFin">\n <p>\nLe contenu de cette page (Thomas-Robert Bugeaud) est un minuscule extrait de l\'encyclopi\xc3\xa9die gratuite en ligne <a href="http://fr.wikipedia.org">WIKIPEDIA</a>\nle webmaster de ce site n\'est pas l\'auteur de cet article (Thomas-Robert Bugeaud). Vous pouvez retrouver l\'original de cet article (Thomas-Robert Bugeaud) à <a href="http://fr.wikipedia.org/wiki/Thomas-Robert_Bugeaud">cette adresse</a> et la liste des auteurs <a href="http://fr.wikipedia.org/w/index.php?title=Thomas-Robert_Bugeaud&action=history">ici</a>\nVous pouvez <a href="http://fr.wikipedia.org/w/index.php?title=Thomas-Robert_Bugeaud&action=edit">modifier ou compl\xc3\xa9ter</a> cet article mais \xc3\xa9galement <a href="http://fr.wikipedia.org/w/index.php?title=Discuter:Thomas-Robert_Bugeaud&action=edit">discuter</a> de son contenu (Thomas-Robert Bugeaud) sur le site de <a href="http://fr.wikipedia.org">WIKIPEDIA France</a> - Contenu (Thomas-Robert B' >>> c = b.read(1024 * 1024 * 2) >>> c[63000:64000] 'acct = "UA-321207-2";\nurchinTracker();\n</script>\n <div id="introFin">\n <p>\nLe contenu de cette page (Thomas-Robert Bugeaud) est un minuscule extrait de l\'encyclopi\xc3\xa9die gratuite en ligne <a href="http://fr.wikipedia.org">WIKIPEDIA</a>\nle webmaster de ce site n\'est pas l\'auteur de cet article (Thomas-Robert Bugeaud). Vous pouvez retrouver l\'original de cet article (Thomas-Robert Bugeaud) à <a href="http://fr.wikipedia.org/wiki/Thomas-Robert_Bugeaud">cette adresse</a> et la liste des auteurs <a href="http://fr.wikipedia.org/w/index.php?title=Thomas-Robert_Bugeaud&action=history">ici</a>\nVous pouvez <a href="http://fr.wikipedia.org/w/index.php?title=Thomas-Robert_Bugeaud&action=edit">modifier ou compl\xc3\xa9ter</a> cet article mais \xc3\xa9galement <a href="http://fr.wikipedia.org/w/index.php?title=Discuter:Thomas-Robert_Bugeaud&action=edit">discuter</a> de son contenu (Thomas-Robert Bugeaud) sur le site de <a href="http://fr.wikipedia.org">WIKIPEDIA France</a> - Contenu (Thomas-' >>> ---------- nosy: +orsenthil __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1205> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com