This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Antw: Re: Cygwin python 2.3 oddity


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]