Received: by 10.236.91.229 with SMTP id h65mr9069957yhf.24.1349546739765; Sat, 06 Oct 2012 11:05:39 -0700 (PDT) X-BeenThere: html5lib-discuss@googlegroups.com Received: by 10.236.198.39 with SMTP id u27ls7441670yhn.6.gmail; Sat, 06 Oct 2012 11:05:39 -0700 (PDT) Received: by 10.236.153.6 with SMTP id e6mr8781471yhk.20.1349546739233; Sat, 06 Oct 2012 11:05:39 -0700 (PDT) Received: by 10.236.153.6 with SMTP id e6mr8781470yhk.20.1349546739222; Sat, 06 Oct 2012 11:05:39 -0700 (PDT) Return-Path: <38nJwUAgOACMGSLKeKHAFNNFKDBNCD....@codesite.bounces.google.com> Received: from mail-gh0-f203.google.com (mail-gh0-f203.google.com [209.85.160.203]) by gmr-mx.google.com with ESMTPS id y43si3146654yhi.2.2012.10.06.11.05.38 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Oct 2012 11:05:39 -0700 (PDT) Received-SPF: pass (google.com: domain of 38nJwUAgOACMGSLKeKHAFNNFKDBNCD....@codesite.bounces.google.com designates 209.85.160.203 as permitted sender) client-ip=209.85.160.203; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of 38nJwUAgOACMGSLKeKHAFNNFKDBNCD....@codesite.bounces.google.com designates 209.85.160.203 as permitted sender) smtp.mail=38nJwUAgOACMGSLKeKHAFNNFKDBNCD....@codesite.bounces.google.com Received: by mail-gh0-f203.google.com with SMTP id g24so598702ghb.2 for ; Sat, 06 Oct 2012 11:05:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.189.75 with SMTP id dd11mr9717012qab.6.1349546738928; Sat, 06 Oct 2012 11:05:38 -0700 (PDT) Reply-To: codesite-nore...@google.com X-Generated-By: Google Code X-GoogleCode-Project: html5lib X-GoogleCode-Issue-Id: 215 Message-ID: <0-15508416087187093689-16353935243862573345-html5lib=googlecode.com@googlecode.com> Date: Sat, 06 Oct 2012 18:05:38 +0000 Subject: Issue 215 in html5lib: Properly detect seekable streams From: html5...@googlecode.com To: html5lib-discuss@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Status: New Owner: ---- New issue 215 by jcarlosg...@gmail.com: Properly detect seekable streams http://code.google.com/p/html5lib/issues/detail?id=215 This patch removes the hack that tests for sys.stdin to determine if the stream is seekable (it has tell() and seek() but it is not seekable), by actually calling tell() and seek(). Attachments: html5lib_inputstream_fix_tell_seek_guessing.diff 445 bytes