Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
1 new revision pushed by pilgrim on 2009-09-30 17:19 GMT
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
codesite-nore...@google.com  
View profile  
 More options Sep 30 2009, 1:20 pm
From: codesite-nore...@google.com
Date: Wed, 30 Sep 2009 17:20:39 +0000
Local: Wed, Sep 30 2009 1:20 pm
Subject: [html5lib] 1 new revision pushed by pilgrim on 2009-09-30 17:19 GMT
Revision: 0485e8d222
Author: Mark Pilgrim <m...@diveintomark.org>
Date: Wed Sep 30 10:19:42 2009
Log: EncodingBytes.__new__ needs to call bytes.__new__, not str.__new__
http://code.google.com/p/html5lib/source/detail?r=0485e8d222

Modified:
  /python3/src/html5lib/inputstream.py

=======================================
--- /python3/src/html5lib/inputstream.py        Sat May 30 14:07:14 2009
+++ /python3/src/html5lib/inputstream.py        Wed Sep 30 10:19:42 2009
@@ -455,7 +455,7 @@
      If the position is ever greater than the string length then an  
exception is
      raised"""
      def __new__(self, value):
-        return str.__new__(self, value)
+        return bytes.__new__(self, value)

      def __init__(self, value):
          self._position = -1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »