It doesn't specifically say, unlike some other constants, but the implication is that it's older than Python 2.3, which is fine by me. I don't want to go out of my way to break MySQLdb on Python 2.3 but I'll do it if there's a good reason.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you know what is the minimum version of Python this is supported in?
http://www.python.org/doc/2.5.2/api/common-structs.html
It doesn't specifically say, unlike some other constants, but the implication is that it's older than Python 2.3, which is fine by me. I don't want to go out of my way to break MySQLdb on Python 2.3 but I'll do it if there's a good reason.
METH_NOARGS showed up way back in Python 2.2. Applied to trunk.