delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/11/10:41:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <sf60a5a9.034@t-c-c.at>
Date: Thu, 11 Sep 2003 16:41:04 +0200
From: "Olivier Lefevre" <Olivier DOT Lefevre AT biocrates DOT at>
To: "<Cygwin" <cygwin AT cygwin DOT com>
Subject: Re: Antw: Re: Cygwin python 2.3 oddity
Mime-Version: 1.0

bash-2.05b$ ls -ls `echo $PYTHONSTARTUP`
1.0k -rw-rw-rw-    1 Administ None           22 Sep 11 16:34
/c/cygwin/startup.py

I know it isn't read because it contains the line 'from sets import
Set' but

bash-2.05b$ python
Python 2.3 (#1, Aug  1 2003, 15:01:23)
[GCC 3.2 20020927 (prerelease)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> Set()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: name 'Set' is not defined

yet the sets module can be found:

>>> from sets import Set
>>> Set()
Set([])
>>>

So at this point I am really mystified. 

-- O.L.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019