Hi,
I had to make some minor changes to list_cameras and read_raw for both
vlf2 and 0S X. Python 3.x replaces str with unicode and bytes, so I
replaced PyString_* calls with macros that evaluate to the correct
Python API functions. So for Python 3, list_cameras returns a Unicode
string, and the read raw function bytes. Also, great catch on the
overlooked array examples. Now that the NumPy code is back in C, there
is little reason to keep the Numeric stuff around, especially for Python
3.x. Numeric support will remain for the next Pygame release, but be
removed afterward. Patch applied to revision 3008.
Lenard
On 26/02/11 12:17 PM, Christoph Gohlke wrote:
It builds OK, and the examples seem to work too. Is there anything
specific that you want to test? Some minor changes that I am using are
attached.
Christoph
On 2/26/2011 11:10 AM, Lenard Lindstrom wrote:
Hi Christoph,
I commit the patch and additional changes to SVN rev 3007. Would you
please test it as I don't have a web camera handy and, before now, the
camera module was not built by default for Python 3.
Lenard
On 26/02/11 10:03 AM, Lenard Lindstrom wrote:
Great. I will apply the patch.
Lenard
On 26/02/11 09:44 AM, Christoph Gohlke wrote:
Hello,
Pygame works well on Python 3.2 for Windows 32 and 64 bit. I have
installers at <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame>.
The _movie module seems to work. The changes to _camera.c are
attached.
Christoph