delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/24/05:54:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=BAYES_40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: Python does not import ctypes.wintypes
From: hrmp AT volny DOT cz
X-Originating-Account: hrmp/volny.cz
To: cygwin AT cygwin DOT com
Date: Wed, 24 Dec 2008 11:53:40 +0100 (CET)
Message-ID: <4701634bc4e0901264ec8208ec3ce466@www1.mail.volny.cz>
X-Originating-Agent: Opera/9.62 (Windows NT 5.0; U; en) Presto/2.1.1
X-Webmail2-Origin: hrmp/volny.cz [87.174.138.203]
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hello,

I've got the following problem (both on Windows 2000 and Windows XP):

rol> python
Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>> import ctypes.wintypes
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/python.6884/usr/lib/python2.5/ctypes/wintypes.py", line 21,
in <module>
ValueError: _type_ 'v' not supported
>>>
Python from python.org works OK, wintypes.py for cygwin is exactly the
same as the one from python.org

Thanks a lot for any hint and have a nice Xmas
Roland



--
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