getpass module imports termios and expects it to fail to import on windows.

 

But you have included TERMIOS.py in the windows kit so the tricks in getpass.py

Do not work.

 

You will need to remove termios.py and TERMIOS.py from future kits.

 

I guess you are missing test coverage as well as importing getpass gets this

Warning:

 

> python

ActivePython 2.2.1 Build 222 (ActiveState Corp.) based on

Python 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit (Intel)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>> import getpass

C:\Python22\lib\termios.py:7: DeprecationWarning: the TERMIOS module is deprecated; please use termios

  DeprecationWarning)

>>>

 

 

Barry

 

Reply via email to