Discussion:
[vbox-dev] VBox Python API
Karoline Haus
2014-05-20 13:00:34 UTC
Permalink
Hi, does the Python binding work for Python 2 or Python 3?

Many thanks,
Karoline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140520/9bf47968/attachment.html
Klaus Espenlaub
2014-05-20 13:27:02 UTC
Permalink
Karoline,
Post by Karoline Haus
Hi, does the Python binding work for Python 2 or Python 3?
Currently only for Python 2, and only for the system installed versions
(the ABI stability of python leaves a lot to be desired, we've seen
crashes with non-system installed versions).

There's a patch for supporting python 3 which was submitted to this
mailing list about a month ago (should be not hard to find in the
archive). Did a superficial code review and it should work, but the
patch wasn't included yet because it'd need validation with lots of
python versions (down to 2.3). If anyone wants to give us a hand with
the testing it'd speed up adoption of the patch.

Klaus
Post by Karoline Haus
Many thanks,
Karoline
Karoline Haus
2014-05-21 06:30:10 UTC
Permalink
Thanks for your response. I will give that patch a try.

Karoline

Klaus Espenlaub <klaus.espenlaub at oracle.com> schrieb am 15:35 Dienstag, 20.Mai 2014:



Karoline,
Post by Karoline Haus
Hi, does the Python binding work for Python 2 or Python 3?
Currently only for Python 2, and only for the system installed versions
(the ABI stability of python leaves a lot to be desired, we've seen
crashes with non-system installed versions).

There's a patch for supporting python 3 which was submitted to this
mailing list about a month ago (should be not hard to find in the
archive). Did a superficial code review and it should work, but the
patch wasn't included yet because it'd need validation with lots of
python versions (down to 2.3). If anyone wants to give us a hand with
the testing it'd speed up adoption of the patch.

Klaus
Post by Karoline Haus
Many thanks,
Karoline
_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140521/28ed03c7/attachment.html
Karoline Haus
2014-05-21 06:54:56 UTC
Permalink
Hi Klaus,


I have just seen that this patch only addresses implementing Python3 for the vboxapi but it does not port all the xpcom Pyhton bindings, so it's of not much use to me, because I run a Linux system which uses xpcom Python code as well :-/

Mabye the original author from https://www.mail-archive.com/vbox-dev at virtualbox.org/msg06593.html has already made some progress on porting the full SDK?

Cheers,
Karoline

Karoline Haus <karolinehaus at yahoo.de> schrieb am 8:38 Mittwoch, 21.Mai 2014:



Thanks for your response. I will give that patch a try.

Karoline

Klaus Espenlaub <klaus.espenlaub at oracle.com> schrieb am 15:35 Dienstag, 20.Mai 2014:



Karoline,
Post by Karoline Haus
Hi, does the Python binding work for Python 2 or Python 3?
Currently only for Python 2, and only for the system installed versions
(the ABI stability of python leaves a lot to be desired, we've seen
crashes with non-system installed versions).

There's a patch for supporting python 3 which was submitted to this
mailing list about a month ago (should be not hard to find in the
archive). Did a superficial code review and it should work, but the
patch wasn't included yet because it'd need validation with lots of
python versions (down to 2.3). If anyone wants to give us a hand with
the testing it'd speed up adoption of the patch.

Klaus
Post by Karoline Haus
Many thanks,
Karoline
_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev




_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140521/7e1efef8/attachment-0001.html
Loading...