Segfault using varargs and empty string as key in python dictionary

Issue #409 resolved
Atreju Tauschinsky
created an issue

Here's a minimal example that reproduces the issue for me:

import rpy2.robjects.packages as rp
sp = rp.importr('stats')
args = {'': 'value'}
sp.aggregate(**args)

This is independent of the actual package and function called, I first noticed this when calling one of my own packages, and used stats::aggregate here only for demonstration purposes...

Comments (5)

  1. Log in to comment