Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Christian Ullrich Newsgroups: comp.lang.python Subject: Re: Running latest 32-bit Python on 64-bit system Date: Mon, 16 Nov 2015 19:38:09 +0100 Lines: 30 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net HqUjMaRvhf72Ul+EokrduwRpYurGLZ6ECt/CIZ5Qrz9/lfhJc= Cancel-Lock: sha1:/oJOJZPgs1nSKgb13o+vO+95lDc= User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: Xref: csiph.com comp.lang.python:98901 * Zachary Ware wrote: > On Fri, Nov 13, 2015 at 4:52 AM, Christian Ullrich wrote: >> However, with the shebang syntax supported by the launcher, I can only >> demand a 32-bit version if I also specify the Python minor version I want, >> and I don't necessarily know that in advance. >> >> I can code around that, of course, but I don't want to. If Python can select >> the 64-bit version to run by itself, it should also be able to for the >> 32-bit version, right? > > I don't think there's currently a way to do what you want, but it > seems like a reasonable thing to do. Would you mind raising an > enhancement request on bugs.python.org? . Crossing my fingers ... > About the closest you could come currently would be to specify the > full path to the interpreter, but of course that may vary by machine. And it would include the version number in either the path (Windows) or the file name (elsewhere) again, rather defeating the purpose. Thanks for your help, -- Christian