From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.86.99.8 with SMTP id w8cs119929fgb; Tue, 6 Oct 2009 07:23:53 -0700 (PDT) Received-SPF: pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.150.45.42 as permitted sender) client-ip=10.150.45.42; Authentication-Results: mr.google.com; spf=pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.150.45.42 as permitted sender) smtp.mail=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com; dkim=pass header.i=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com Received: from mr.google.com ([10.150.45.42]) by 10.150.45.42 with SMTP id s42mr8916506ybs.23.1254839032413 (num_hops = 1); Tue, 06 Oct 2009 07:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received:received-spf:received:dkim-signature :domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer:reply-to:sender:precedence:x-google-loop :mailing-list:list-id:list-post:list-help:list-unsubscribe :x-beenthere-env:x-beenthere; bh=1JTqlckVLskRfgoEB3XVzz0D5OcKHaJwYBaFE+Xo578=; b=nqtqOEqpeWvxwpu1Anws6xihip0oBmhSetnLw6ib58PJNyC2aub2rourOH73FNG9BS KWNkqeZqvutt1zeNbYNJODQ4LRpiR4P6UjQ25e40Ggrah3nezbMedyIsR2uf5WgqMcgY JuIeJ8qW5ljIpzoFygejiFWzjaN/YCkrGxWio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results :dkim-signature:domainkey-signature:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer:reply-to:sender:precedence:x-google-loop :mailing-list:list-id:list-post:list-help:list-unsubscribe :x-beenthere-env:x-beenthere; b=U8qPR7OtkW9kAJQNdklRmmOhEK/9n2ZRqSU3NIn/IL0/hV0N97RF8ebeIjnwaAypZr YPvn4yrvxu7DrXYPTJIAhjoLC9nQw63Bx0owxss3amBnF7TgkafKp4lRArzOuOxS8ZY1 QWucv/nEBYQ7p4+JE3ha5KyJRJh0BikmArzGo= Received: by 10.150.45.42 with SMTP id s42mr892345ybs.23.1254839032360; Tue, 06 Oct 2009 07:23:52 -0700 (PDT) Received: by 10.176.140.25 with SMTP id n25gr1686yqd.0; Tue, 06 Oct 2009 07:23:47 -0700 (PDT) X-Sender: jftucker@gmail.com X-Apparently-To: rack-devel@googlegroups.com Received: by 10.204.23.194 with SMTP id s2mr227799bkb.10.1254839026190; Tue, 06 Oct 2009 07:23:46 -0700 (PDT) Received: by 10.204.23.194 with SMTP id s2mr227798bkb.10.1254839026167; Tue, 06 Oct 2009 07:23:46 -0700 (PDT) Return-Path: Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by gmr-mx.google.com with ESMTP id 14si842007fxm.7.2009.10.06.07.23.45; Tue, 06 Oct 2009 07:23:45 -0700 (PDT) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 209.85.218.213 as permitted sender) client-ip=209.85.218.213; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jftucker@gmail.com designates 209.85.218.213 as permitted sender) smtp.mail=jftucker@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by mail-bw0-f213.google.com with SMTP id 9so3244059bwz.17 for ; Tue, 06 Oct 2009 07:23:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=+htCPCAEWSnITCPiGCzEpezjPHNUe9r6/q7yMfqNWk8=; b=EhhEzPtfaX9/Ki9ZeLvgaS2hvInDHfeHl4ff8Q5wK4pQEFrILljJbJ6tysPwFl2b17 QCcViZU6Z3UrPKrHqbJSoXsmRv8xYPr5Qsuv5/bnVNZucvreCeMFgPYKzX1KoM0LTMIE 3UjS0fDqY21xGW1P8wynM1moZDQ1gHhZwHeZc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=xmxLKRRY9Pcam8vfbu5EMYxyO4rwyzNS3L8eiAAEDs1uKsA6xmYVZHxXgQBYs2oHtV VJPlWYSTqTSzlaT7JZUY4XJtVQjJaduAVze7vVrj4LDd6bTMHLKAL9RlwHK5WbpKbHJ7 wlyRUZQM4qFi/hUovtX3SDjlFj5GnZA6I3TUo= Received: by 10.216.1.200 with SMTP id 50mr311530wed.150.1254839024981; Tue, 06 Oct 2009 07:23:44 -0700 (PDT) Return-Path: Received: from ?192.168.1.18? (bb-87-81-237-21.ukonline.co.uk [87.81.237.21]) by mx.google.com with ESMTPS id g11sm16710715gve.20.2009.10.06.07.23.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Oct 2009 07:23:43 -0700 (PDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: Questions about the Prohibition of String Subclasses in responses From: James Tucker In-Reply-To: Date: Tue, 6 Oct 2009 15:23:42 +0100 Content-Transfer-Encoding: 7bit Message-Id: <6DBE7E40-C9AC-46CA-8593-4B9AD9EC6074@gmail.com> References: <20091005230246.GA27564@dcvr.yhbt.net> <20091005232208.GB27564@dcvr.yhbt.net> <20091006025239.GB23138@dcvr.yhbt.net> To: rack-devel@googlegroups.com X-Mailer: Apple Mail (2.1076) Reply-To: rack-devel@googlegroups.com Sender: rack-devel@googlegroups.com Precedence: bulk X-Google-Loop: groups Mailing-List: list rack-devel@googlegroups.com; contact rack-devel+owner@googlegroups.com List-Id: List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rack-devel@googlegroups.com X-BeenThere: rack-devel@googlegroups.com On 6 Oct 2009, at 07:40, Michael Koziarski wrote: > >> Fortunately I don't know of any extensions that crazy as there's no >> point in subclassing at that point. And if there are, maybe people >> using them deserve to get their apps broken :> > > Seems very unlikely yeah. > >>> Having said that, I've been surprised before >> >> Part of me wants to apply this change and stick it into a release >> just >> to see what (if anything it) breaks. Fortunately for the rest of you >> I'm not part of the Rack core team :) > > ditto on all points :) I've just moved us over to kind_of in Lint from instance_of, in all cases of instance_of. Generally speaking the spec needs to ensure that the types supplied can be sent straight to IO. I think if anyone uses a type to breach this, they should find the bugs appear in their own apps for reasonably well expected reasons, although most errors will show up in the handlers themselves. I've also cherry picked for the 1.0.1 release. > > -- > Cheers > > Koz