Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 18 Nov 2002 15:23:37 -0500 From: Jason Tishler Subject: Re: [ANNOUNCEMENT] Updated Cygwin Package: python-2.2.2-1 In-reply-to: <83040F98B407E6428FEC18AC720F5D73E500CF AT exchange DOT tropicnetworks DOT com> To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20021118202337.GG472@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <83040F98B407E6428FEC18AC720F5D73E500CF AT exchange DOT tropicnetworks DOT com> Rolf, On Mon, Nov 18, 2002 at 01:23:13PM -0500, Rolf Campbell wrote: > I tried going back to python-2.2.1-1, and everything started working > again. Really? I just tried the following: $ ./python Python 2.2.1 (#1, Jun 25 2002, 10:55:46) ^^^^^ ***** [GCC 2.95.3-5 (cygwin special)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> import TERMIOS /home/jt/src/python-2.2.1-1/Lib/TERMIOS.py:7: DeprecationWarning: the TERMIOS module is deprecated; please use termios DeprecationWarning) >>> >>> TERMIOS.TIOCMBIS Traceback (most recent call last): File "", line 1, in ? AttributeError: 'module' object has no attribute 'TIOCMBIS' So, python-2.2.1-1 does not seem to work either. I also tried 2.2-1 and 2.1.1-1 -- they don't seem to define TERMIOS.TIOCMBIS either. Upon reading Modules/termios.c, we see the following: #ifdef TIOCMBIC {"TIOCMBIC", TIOCMBIC}, #endif #ifdef TIOCMBIS {"TIOCMBIS", TIOCMBIS}, #endif Hence, TIOCMBI[CS] will only be defined if a header files (e.g., sys/termios.h) defines the corresponding constants. > I don't know if this is really a problem with the cygwin version of > python or not. The "TIOCMBI[SC]" attributes of the termios module > seem to have disappeared. I really don't know what these are, or what > they are used for, but if anyone knows what I can change them to, to > make it work, I'd be appreciative. I'm sorry but if this is important to you, then you will have to debug this corner case further yourself. AFAICT, there have not been any changes to Cygwin Python is this area for sometime (i.e., for over 1 year). Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/