Bug report for glBufferSubData on py3k

Almar Klein <[email protected]> Wed, 24 Jul 2013 07:28:03 +0200
Newsgroups gmane.comp.python.opengl.devel
Message-ID <CAB_T6=nVfgjWjubPUJj1feY_+O6a55-pjdMbVU2wk23DK7DJAA@mail.gmail.com>
--===============5437517741064898061==
Content-Type: multipart/alternative; boundary=001a11c3cb766cdb5304e23b2cb4

--001a11c3cb766cdb5304e23b2cb4
Content-Type: text/plain; charset=UTF-8

It uses "long", which is not available in py3k.

GL/VERSION/GL_1_5.py, line 77

I propose to use "integer_types" as in six.py:

if sys.version_info[0] >= 3:
    integer_types = int,
else:
    integer_types = int, long

Regards,
  Almar

--001a11c3cb766cdb5304e23b2cb4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>It uses &quot;long&quot;, which is not avai=
lable in py3k.<br><br></div>GL/VERSION/GL_1_5.py, line 77<br><br></div><div=
>I propose to use &quot;integer_types&quot; as in six.py:<br><br></div><div=
>
if sys.version_info[0] &gt;=3D 3:<br></div><div>=C2=A0=C2=A0=C2=A0 integer_=
types =3D int,<br></div><div>else:<br></div><div>=C2=A0=C2=A0=C2=A0 integer=
_types =3D int, long<br></div><div><br></div>Regards,<br></div>=C2=A0 Almar=
<br></div>

--001a11c3cb766cdb5304e23b2cb4--


--===============5437517741064898061==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
--===============5437517741064898061==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-devel

--===============5437517741064898061==--