public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/html5lib/files: html5lib-0.11.1-python-2.6.patch
Date: Tue, 22 Dec 2009 23:58:12 +0000	[thread overview]
Message-ID: <E1NNEcG-00057h-QG@stork.gentoo.org> (raw)

arfrever    09/12/22 23:58:12

  Added:                html5lib-0.11.1-python-2.6.patch
  Log:
  Fix tests with Python 2.6 (bug #298032). Set SUPPORT_PYTHON_ABIS.
  (Portage version: 15132-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-python/html5lib/files/html5lib-0.11.1-python-2.6.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/html5lib/files/html5lib-0.11.1-python-2.6.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/html5lib/files/html5lib-0.11.1-python-2.6.patch?rev=1.1&content-type=text/plain

Index: html5lib-0.11.1-python-2.6.patch
===================================================================
changeset:   1249:77f13a977be6
user:        jgraham@jgraham-desktop
date:        Wed Apr 29 17:17:24 2009 +0200
summary:     Fix deprecation warning

--- src/html5lib/inputstream.py
+++ src/html5lib/inputstream.py
@@ -444,8 +444,10 @@
     """String-like object with an assosiated position and various extra methods
     If the position is ever greater than the string length then an exception is
     raised"""
+    def __new__(self, value):
+        return str.__new__(self, value)
+
     def __init__(self, value):
-        str.__init__(self, value)
         self._position=-1
     
     def __iter__(self):






             reply	other threads:[~2009-12-22 23:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22 23:58 Arfrever Frehtes Taifersar Arahesis (arfrever) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-01-18 18:37 [gentoo-commits] gentoo-x86 commit in dev-python/html5lib/files: html5lib-0.11.1-python-2.6.patch Arfrever Frehtes Taifersar Arahesis (arfrever)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1NNEcG-00057h-QG@stork.gentoo.org \
    --to=arfrever@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox