[New-bugs-announce] [issue3922] 3.0rc1 missing tk lib in sys.path?

Jean-Michel Fauth report at bugs.python.org
Sun Sep 21 12:09:48 CEST 2008


New submission from Jean-Michel Fauth <wxjmfauth at gmail.com>:

3.0rc1: When toying and attempting to import the scrolledtext module, I
noticed the tkinter library path is no more by default included in the
sys.path.

Unfortunate omission or new Python 3.0 design?

C:\Python30>python
Python 3.0rc1 (r30rc1:66507, Sep 18 2008, 14:47:08) [MSC v.1500 32 bit
(Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> for e in sys.path: print(e)
...

C:\Python30\python30.zip
C:\Python30\DLLs
C:\Python30\lib
C:\Python30\lib\plat-win
C:\Python30
C:\Python30\lib\site-packages
>>>


C:\Python26>python
Python 2.6rc2 (r26rc2:66507, Sep 18 2008, 14:27:33) [MSC v.1500 32 bit
(Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> for e in sys.path: print e
...

C:\Python26\python26.zip
C:\Python26\DLLs
C:\Python26\lib
C:\Python26\lib\plat-win
C:\Python26\lib\lib-tk <<<<<<<<<<<<<<<<<<<<<<<<<
C:\Python26
C:\Python26\lib\site-packages
>>>

----------
components: Library (Lib)
messages: 73508
nosy: jmfauth
severity: normal
status: open
title: 3.0rc1 missing tk lib in sys.path?
type: behavior
versions: Python 3.0

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


More information about the New-bugs-announce mailing list