From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 699181381F3 for ; Sat, 15 Jun 2013 16:06:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96680E0980; Sat, 15 Jun 2013 16:06:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B3466E0831 for ; Sat, 15 Jun 2013 16:06:32 +0000 (UTC) Received: from [192.168.1.204] (76-230-137-203.lightspeed.livnmi.sbcglobal.net [76.230.137.203]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 8932F33E4FF for ; Sat, 15 Jun 2013 16:06:31 +0000 (UTC) Message-ID: <51BC9105.5070604@gentoo.org> Date: Sat, 15 Jun 2013 12:06:29 -0400 From: Mike Gilbert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130610 Thunderbird/17.0.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: Gentoo Dev Subject: [gentoo-dev] Calling die in a subshell X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: b7deb27b-e545-4030-bcdf-ba99d54f8822 X-Archives-Hash: e4abad3841969c8ac548848654abe8b5 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 The devmanual warns that calling die in a subshell does not work. http://devmanual.gentoo.org/ebuild-writing/error-handling/index.html This warning has been obsolete for some time; modern versions of Portage handle die in a subshell just fine. In fact, at least a couple of eclasses rely on this behavior. For example, python-r1 uses subshells created by multiprocessing.eclass to implement parallel "sub-phase" functions, any of which may call die on failure. Are there any objections to removing this warning from the devmanual? Also, I believe there may be a question or two on the recruiting quizzes that would need to be updated. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iF4EAREIAAYFAlG8kQUACgkQC77qH+pIQ6RMcAD/Ub0qkpXi/6tjNC/vHTXr2lLu iprwtszsDnZGLOkmVKcA/R85pTIBT3Udo0Gc2/g2TJo6uzG8ppDbMc9bSHMgQtFf =1qx7 -----END PGP SIGNATURE-----