[Biopython-dev] [SPAM] Re: [Numpy-discussion] Python extensions for Python 3.5 - useful info...

Ben Fulton ben at benfulton.net
Mon Aug 31 14:27:16 UTC 2015


All tests in test_Application.py pass with this change. But I would hope it
won't be necessary with the final version of Python 3.5.

On Mon, Aug 31, 2015 at 9:56 AM, Peter Cock <p.j.a.cock at googlemail.com>
wrote:

> On Mon, Aug 31, 2015 at 2:49 PM, Ben Fulton <ben at benfulton.net> wrote:
> > This is 32-bit Python running on Windows 8.1. Were you interested in the
> > 64-bit version?
>
> We are interested in 64-bit Windows, but there are additional complications
> with the compiler chain (thus the unofficial NumPy etc binaries Christoph
> Gohlke releases).
>
> Let's focus on 32-bit Python under Windows for now.
>
> > The issue is not that "echo" is missing, but that platform.win32_ver()[0]
> > rather than "7" or "8" returns "post2012Server", which in turn causes the
> > Popen call to run with shell=false. I think this indicates a bug in
> Python
> > itself.
>
> Or just in Bio/Application/__init__.py perhaps?
>
> Can you try applying this small change?
>
> --- a/Bio/Application/__init__.py
> +++ b/Bio/Application/__init__.py
> @@ -486,7 +486,7 @@ class AbstractCommandline(object):
>              use_shell = True
>          else:
>              win_ver = platform.win32_ver()[0]
> -            if win_ver in ["7", "8"]:
> +            if win_ver in ["7", "8", "post2012Server"]:
>                  use_shell = True
>              else:
>                  use_shell = False
>
>
> We need to find a volunteer with Windows 10 as well...
>
> > Are people available to look at the skipping errors?
> >
>
> I've not had a chance to try Python 3.5rc2 myself yet.
>
> Peter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython-dev/attachments/20150831/65c34f36/attachment-0001.html>


More information about the Biopython-dev mailing list