The previous hack was that PyString_Check also returns True for unicode
objects, but then the functions PyString_AsString always returned NULL
for a unicode object. So now PyString_Check only returns true for strings,
and a new function PyUnicode_Check was added.
(PyBaseString_Check): new function, with the old behavior of PyString_Check
(PyUnicode_*): new functions
For K616-011
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@175218 936e1b1b-40f2-da11-902a-00137254ae57
Those properties basically provide a simpler syntax around two
setter() and getter() functions (or possibly just one to make the
property read-only or write-only).
JB17-022
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@167236 936e1b1b-40f2-da11-902a-00137254ae57
Python now provides a better function, which preserves the usual python
semantic. This is more portable than our previous approach.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@167112 936e1b1b-40f2-da11-902a-00137254ae57
(Nth_Arg): can now accept lists as parameters to script functions,
in addition to the usual simple types
JB15-028
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@167055 936e1b1b-40f2-da11-902a-00137254ae57
needed to better handle calling python functions from Ada when they
return a "bool"
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@152423 936e1b1b-40f2-da11-902a-00137254ae57
Add support for PyFloat
Add Py_Main function to start the python interpreter
git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@132647 936e1b1b-40f2-da11-902a-00137254ae57
python it doesn't seem to be included by default, which prevents
compilation of this file (fails with Python 2.3.4)
git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@126467 936e1b1b-40f2-da11-902a-00137254ae57
No source file has changed, but they were moved so that they are all under src/
now (and possibly subdirectories for those sources that depend on optional
external libraries).
We now support building both static and relocatable libraries at the same time,
using separate lib and obj directories to avoid conflicts. Also both can be
installed in the same prefix, the choice between the two can be done by the
user application
git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@113225 936e1b1b-40f2-da11-902a-00137254ae57