A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-May/119698.html below:

[Python-Dev] cpython: Addressed some buildbot errors and comments on the checkin by Antoine on

[Python-Dev] cpython: Addressed some buildbot errors and comments on the checkin by Antoine on [Python-Dev] cpython: Addressed some buildbot errors and comments on the checkin by Antoine onAntoine Pitrou solipsis at pitrou.net
Sat May 26 21:43:11 CEST 2012
On Sat, 26 May 2012 21:39:36 +0200
vinay.sajip <python-checkins at python.org> wrote:
>      return False
>  _sys_home = getattr(sys, '_home', None)
> -if _sys_home and os.name == 'nt' and _sys_home.lower().endswith('pcbuild'):
> +if _sys_home and os.name == 'nt' and \
> +    _sys_home.lower().endswith(('pcbuild', 'pcbuild\\amd64')):
>      _sys_home = os.path.dirname(_sys_home)

Ok, but is one os.path.dirname() call enough in the AMD64 case? It
looks like you'd want to walk up two directories rather than one (but I
might misunderstand).

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4