[Python-Dev] cpython: Addressed some buildbot errors and comments on the checkin by Antoine on (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Sat May 26 21:43:11 CEST 2012
- Previous message: [Python-Dev] Proposal for better SSL errors
- Next message: [Python-Dev] Hacking on the compiler in ways that break the frozen instance of importlib...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 26 May 2012 21:39:36 +0200 vinay.sajip <python-checkins at python.org> wrote:
return False syshome = getattr(sys, 'home', None) -if syshome and os.name == 'nt' and syshome.lower().endswith('pcbuild'): _+if syshome and os.name == 'nt' and _ + syshome.lower().endswith(('pcbuild', 'pcbuild\amd64')): syshome = os.path.dirname(syshome)
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.
- Previous message: [Python-Dev] Proposal for better SSL errors
- Next message: [Python-Dev] Hacking on the compiler in ways that break the frozen instance of importlib...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]