opencv/modules/python/src2
Michael Pratt 8aafd569c8 Support PyString_AsString() in Python 3 < 3.3
In Python 3, version 3.3+, PyUnicode_AsUTF8() provides similar
functionality to Python 2's PyString_AsString().

In older versions of Python 3, there is no public function to provide
the same functionality.  However, the "internal" _PyUnicode_AsString()
does provide that functionality, so use it to replace
PyString_AsString().

With this patch, cv2 should compile for Python 3.[0-2].
2013-11-07 23:47:33 -05:00
..
cv2.cpp fixed crash in Python bindings 2013-10-24 17:37:33 +04:00
gen2.py Adapt Python bindings to the new Ptr. 2013-09-05 19:03:00 +04:00
hdr_parser.py Updated generator and parser to support Python 3. 2013-06-13 18:39:47 -04:00
pycompat.hpp Support PyString_AsString() in Python 3 < 3.3 2013-11-07 23:47:33 -05:00