[libvirt] Release of libvirt-python-1.2.1

Daniel Veillard veillard at redhat.com
Thu Jan 16 10:16:36 UTC 2014

 I also pushed a new release of libvirt python, it is available at:

contains a few fixes and a number of improvement especially toward
portability and compatibility with python3:

- Add python3 to the automated build and RPM (Daniel P. Berrange)
- Added python binding for the new network events API (Cédric Bosdonnat)

- Rewrite libvirt_charPtrUnwrap to work with Python 3.0->3.2 (Daniel P. Berrange)
- sanitytest: Fix libvirtError class handling for Python 2.4 (Daniel P. Berrange)
- override: Fix native module registration to work with Python3 (Daniel P. Berrange)
- generator: Don't use 'list' as a variable name (Daniel P. Berrange)

Bug fixes:
- virStream.sendAll() fix raising an undeclared var (Doug Goldstein)
- Fix return type in override method for virStreamRecv (Daniel P. Berrange)
- Don't free passed in args in libvirt_charPtrWrap / libvirt_charPtrSizeWrap (Daniel P. Berrange)
- Fix use of virDomainEventRegister in python bindings (Daniel P. Berrange)

- Add space after comma for consistency with code style (Doug Goldstein)
- define __GNUC_PREREQ macro before using it (Doug Goldstein)
- Skip network event callbacks in sanity test (Daniel P. Berrange)
- sanitytest: remove use of string.lower() (Daniel P. Berrange)
- sanitytest: Fix broken comparison between int and string (Daniel P. Berrange)
- override: Switch virStreamSend wrapper to use libvirt_charPtrSizeUnwrap (Daniel P. Berrange)
- override: Conditionalize use of PyString_Check and PyInt_Check (Daniel P. Berrange)
- typewrappers: PyInt/PyLong merge for Python3 (Daniel P. Berrange)
- typewrappers: Replace use of PyString class (Daniel P. Berrange)
- override: Replace PyInt_AsLong with helper (Daniel P. Berrange)
- override: Replace Py{Int,Long}_FromLong with helpers (Daniel P. Berrange)
- override: Replace PyString_AsString with libvirt_charPtrUnwrap (Daniel P. Berrange)
- override: Replace PyString_FromString with libvirt_constcharPtrWrap (Daniel P. Berrange)
- examples: Ensure we write bytes to the self-pipe (Daniel P. Berrange)
- examples: Invoke print("...") instead of print "..." (Daniel P. Berrange)
- Added python binding for the new network events API (Cédric Bosdonnat)
- test: Invoke print("...") instead of print "..." (Doug Goldstein)
- override: Fix exception handling syntax (Doug Goldstein)
- generator: Sort enums and functions when generating code (Daniel P. Berrange)
- generator: Remove use of string.replace and string.find functions (Daniel P. Berrange)
- generator: Update to use sort() 'key' param (Daniel P. Berrange)
- generator: Remove use of 'has_key' function (Daniel P. Berrange)
- Update exception catching in generated code (Doug Goldstein)
- generator: Support exceptions in Python 2 and 3 (Doug Goldstein)
- setup: Drop unused exception variable (Doug Goldstein)
- generator: Cast iterators to a list() explicitly (Daniel P. Berrange)
- Revert "Optimize callback lookup in event handlers" (Daniel P. Berrange)
- generator: Invoke print("...") instead of print "..." (Daniel P. Berrange)
- generator: Remove string.lower(XXX) with XXX.lower() (Daniel P. Berrange)
- Optimize callback lookup in event handlers (Daniel P. Berrange)
- setup: Use user requested python binary (Doug Goldstein)

- Revert accidental change to exception handling syntax (Daniel P. Berrange)

  Thanks to everybody who contributed to this release !


Daniel Veillard      | Open Source and Standards, Red Hat
veillard at redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

More information about the libvir-list mailing list