[GRASS-git] [OSGeo/grass] 073698: ctypes: Fix ctypesgencore for Python 3 (#379)
Vaclav Petras
noreply at github.com
Wed Feb 26 09:47:23 PST 2020
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass
Commit: 073698064672ed2cec0847080509c7885ebc66a1
https://github.com/OSGeo/grass/commit/073698064672ed2cec0847080509c7885ebc66a1
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2020-02-26 (Wed, 26 Feb 2020)
Changed paths:
M lib/python/ctypes/ctypesgencore/parser/yacc.py
Log Message:
-----------
ctypes: Fix ctypesgencore for Python 3 (#379)
Python 3 sort says 'must use keyword argument for key function'
(Python 2 accepts this new syntax).
The parameter of Signature.update() is used as a hash, so any encoding will do,
but using UTF-8 always for consistency.
More information about the grass-commit
mailing list