var length data support for python
Merge pull request #227 from mmcilroy/master

var length data support for python