From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTV8f-0004PS-IJ for guix-patches@gnu.org; Mon, 25 Dec 2017 10:58:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTV8c-0006F9-G0 for guix-patches@gnu.org; Mon, 25 Dec 2017 10:58:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eTV8c-0006Et-Be for guix-patches@gnu.org; Mon, 25 Dec 2017 10:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eTV8b-0005D3-UZ for guix-patches@gnu.org; Mon, 25 Dec 2017 10:58:01 -0500 Subject: [bug#29847] [PATCH] import: pypi: Stay in the REPL if fail to get a source Resent-Message-ID: From: Oleg Pykhalov References: <877etaq5si.fsf@gmail.com> <20171225135946.qmwzqyovo7kjrkbg@abyayala> Date: Mon, 25 Dec 2017 18:55:05 +0300 In-Reply-To: <20171225135946.qmwzqyovo7kjrkbg@abyayala> (ng0@n0.is's message of "Mon, 25 Dec 2017 13:59:46 +0000") Message-ID: <87shbyol9i.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: ng0 Cc: 29847@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello ng0, ng0 writes: > Why? Could you give some reasons why the current behavior is bad > and what your code tries to improve in this regard? Because of the documentation string says =E2=80=9Creturn #f on failure=E2= =80=9D (not kill REPL on failure or terminate a Guile process): Fetch the metadata for PACKAGE-NAME from pypi.python.org, and return the `package' s-expression corresponding to that package, or #f on failure. and because Why an import package function kill my Emacs's Geiser? :'( I'm trying to implement recursive-import for pypi based on cran's recursive-import. Killing Guile process will be an issue, I guess. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlpBH1kACgkQckbhHGm3 lWkDbRAAohJrCcuCnNO55RsOkh4h8tJ16xJJTryATbOD6tCblWj8lyd7f9NWFGYu za2FPES29XT0LBZvOkQjcTNCGiH7NtEpztvqZQZqJh7HcY9jJ/RiILmZYynEMKvu JasKZolVJ9ERqhia51AfKUrJZn9pfqi+JigNEtcpxXQm9XxUBsX214RBE9H6J1EB 0TSZB5P566vAf96lkoc4r0ejqTkIaqXPnpm5hyB0/OOgIW+Ihenfx4MYw7c6iLPP XJ597iipiB4kmvmK4KUa/Vy+CLtJ5JhuZpyg3eWVD9Un6M+Xdq8vzH9iJCVxq+0B F1lGeE1vkagEePKZ7Rxk1L5o8gNtTS+J5/eH1VdiYdPLjgi3unFELyMHkoK/i/gY 1wZ2z/DByUpimtsSaTHhWsmADDWmS/mga7O5iZKcjVO4JAZbNmPIJM03nWQDzVBX L2cBCKuVc2E62qgoNn/RI/5LeGHuxVxP4WREKa62YZwatm6rjvvalQUigKrDLU9t N+m0SCRWcqHT1Ka3S0l+9BAiMEQN0v1ep6F+07+5TS9uAUlszblnpdSvyyoAg4cD vXLx1BWHQqrl3f1HxqC1wwoZeF/Nn8jMjE5vYabUCdPwmdiGKdbHUkJDPn2pglqv elGt7IlgpCDQomDYN9ciAi1fcDStArP5ijlUnYlgBR9rQK8Z+Ms= =bA7X -----END PGP SIGNATURE----- --=-=-=--