[New-bugs-announce] [issue16744] sys.path.append causes wrong behaviour

rappy report at bugs.python.org
Fri Dec 21 18:04:11 CET 2012


New submission from rappy:

In bug.py print gives

['C:\\Users\\Glenn\\Desktop', 'C:\\Windows\\system32\\python27.zip', C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages', 'C:\\Users\\Glenn\\Documents\\ua\\mosis\x07ssignment6']

What it should give is

['C:\\Users\\Glenn\\Desktop', 'C:\\Windows\\system32\\python27.zip', C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages', 'C:\\Users\\Glenn\\Documents\\ua\\mosis\assignment6']

----------
components: Library (Lib)
files: bug.py
messages: 177881
nosy: rappy
priority: normal
severity: normal
status: open
title: sys.path.append causes wrong behaviour
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file28384/bug.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16744>
_______________________________________


More information about the New-bugs-announce mailing list