Homec4science

lammps.py: Python3 Compatibility

Authored by Martin Bauer <martin.bauer@fau.de> on May 11 2016, 14:15.

Description

lammps.py: Python3 Compatibility

Python3 uses unicode strings by default which have to be
encoded before they are passed to the C-API via ctypes.

This commit encodes all string arguments by default, which works
for Python2 and Python3

Details

Committed
Martin Bauer <martin.bauer@fau.de>May 11 2016, 14:20
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPS1f7823d87a56: Python install.py: Python3 Compatibility
Branches
Unknown
Tags
Unknown

Event Timeline

Martin Bauer <martin.bauer@fau.de> committed rLAMMPSfb13d99fa3cd: lammps.py: Python3 Compatibility (authored by Martin Bauer <martin.bauer@fau.de>).May 11 2016, 14:20