This is the mail archive of the cygwin 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]

bug with python3 (3.4.3) and array


python3 doesn't seem to have the module array, which is part of python3
standard library
It used to work fine with previous versions of cygwin.

Example program:
#!/usr/bin/env python3
from array import array

Here is what happens when it is executed:
Traceback (most recent call last):
  File "./broke.py", line 2, in <module>
    from array import array
ImportError: No module named 'array'

https://docs.python.org/3/library/array.html
says array is part of the standard library.

The code works fine with python 2.[67] (if you remove the '3' from the
first line, to get python 2.x

Included is cygcheck.out

thanks,
jeff


Attachment: cygcheck.out
Description: Text document

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

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