Re: [Python-Dev] Missing PY_ prefixes in structmember.h

2016年10月03日 08:42:06 -0700

2016年10月03日 15:37 GMT+02:00 Skip Montanaro <[email protected]>:
> While starting to port the Python Sybase module to Python 3, among other
> hurdles, I noticed that RO is no longer defined. Looking in structmember.h,
RO was an alias to READONLY. READONLY still exists in Python 3, just
use this name.
You might create an alias in your code if it is missing:
#ifndef RO
# define RO READONLY
#endif
Victor
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to