From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.140.140.3 with SMTP id n3cs328971rvd; Fri, 5 Mar 2010 23:55:52 -0800 (PST) Received-SPF: pass (google.com: domain of 3hgqSSwwICm4ZadYMXbQdeaZkTNf.ZQfdMOW-PQhQXSaaSXQSdagbe.OaY@groups.bounces.google.com designates 10.140.83.35 as permitted sender) client-ip=10.140.83.35; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 3hgqSSwwICm4ZadYMXbQdeaZkTNf.ZQfdMOW-PQhQXSaaSXQSdagbe.OaY@groups.bounces.google.com designates 10.140.83.35 as permitted sender) smtp.mail=3hgqSSwwICm4ZadYMXbQdeaZkTNf.ZQfdMOW-PQhQXSaaSXQSdagbe.OaY@groups.bounces.google.com; dkim=pass header.i=3hgqSSwwICm4ZadYMXbQdeaZkTNf.ZQfdMOW-PQhQXSaaSXQSdagbe.OaY@groups.bounces.google.com Received: from mr.google.com ([10.140.83.35]) by 10.140.83.35 with SMTP id g35mr897525rvb.8.1267862152220 (num_hops = 1); Fri, 05 Mar 2010 23:55:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:date:from:to:subject:message-id :references:mime-version:in-reply-to:user-agent :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :x-thread-url:x-message-url:sender:list-subscribe:list-unsubscribe :content-type:content-disposition; bh=aTFZL8QxZlUMICrQBl2n/O7EZRy+kg1s7H6W2IdcV+k=; b=ALuvD+Zfk0wttqAndAZ+b47+U7TByR8+DTMeJHBI2ttlXerWf1jzIEd+QdsoVt7Xns ufsoaY0Tw8unmH+FRJzIGW+eUY3pBH12Mvmi71xYEaYChKTc7hpIlPt2fD1yL9F67oMv 0IyrmEO1AC843oSfn5U+1JWVQ9f3elO0NfkYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id:references :mime-version:in-reply-to:user-agent :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :x-thread-url:x-message-url:sender:list-subscribe:list-unsubscribe :content-type:content-disposition; b=aSNWK0EH1DeQMGjoR+iuTvJk6inz0zlEDFwHRYB40nwfG91ldVNqmmcFQqwAVyRkfQ x3Ks1sa6vdgYAfEkIiAaY/MC2pmhVKEMVWnReXp3V5kPsJ+BCs4wA7+25rqVmS5znApZ IkZy2ghJiYMhpEDAXYTg0uyGh8I7/WVRikzvc= Received: by 10.140.83.35 with SMTP id g35mr105618rvb.8.1267862150983; Fri, 05 Mar 2010 23:55:50 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.141.108.5 with SMTP id k5ls1337066rvm.1.p; Fri, 05 Mar 2010 23:55:49 -0800 (PST) Received: by 10.141.124.7 with SMTP id b7mr357341rvn.5.1267862149405; Fri, 05 Mar 2010 23:55:49 -0800 (PST) Received: by 10.141.124.7 with SMTP id b7mr357340rvn.5.1267862149382; Fri, 05 Mar 2010 23:55:49 -0800 (PST) Return-Path: Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by gmr-mx.google.com with ESMTP id 19si731486pxi.11.2010.03.05.23.55.49; Fri, 05 Mar 2010 23:55:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of normalperson@yhbt.net designates 64.71.152.64 as permitted sender) client-ip=64.71.152.64; Received: from localhost (dcvr.yhbt.net [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPSA id EE86B1F44B; Sat, 6 Mar 2010 07:55:48 +0000 (UTC) Date: Sat, 6 Mar 2010 07:55:48 +0000 From: Eric Wong To: rack-devel@googlegroups.com Subject: Re: Not cleaning up tempfiles for multipart? Message-ID: <20100306075548.GB6474@dcvr.yhbt.net> References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of normalperson@yhbt.net designates 64.71.152.64 as permitted sender) smtp.mail=normalperson@yhbt.net X-Original-Sender: normalperson@yhbt.net Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: X-Thread-Url: http://groups.google.com/group/rack-devel/t/6eb2bc7a1f8c072c X-Message-Url: http://groups.google.com/group/rack-devel/msg/afc80e1460acb0fd Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Charles Oliver Nutter wrote: > If I'm correct, this is a bug. Tempfiles should not be relied upon to > clean themselves up in response to GC, since you don't know when GC > will fire... Why not? Tempfiles are objects, too. It's perfectly reasonable to let GC clean them up like any other object. I don't know why RewindableInput is monkeying with Tempfile internals, though. -- Eric Wong