Pickle module fail to load `IntConstant` with protocol 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyopengl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In Python 2:
Python 2.7.6 (default, Nov 26 2013, 12:47:31)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenGL.GL import *
>>> import cPickle
>>> cPickle.
GL_STATIC_DRAW
>>> cPickle.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __new__() takes exactly 3 arguments (2 given)
In Python 3:
Python 3.3.3 (default, Nov 26 2013, 13:47:45)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pickle
>>> from OpenGL.GL import *
>>> pickle.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __new__() missing 1 required positional argument: 'value'
>>> pickle.
GL_STATIC_DRAW
summary: |
- Pickle module fail to load `IntConstant` with protocal 2 + Pickle module fail to load `IntConstant` with protocol 2 |