What would be the best way to add os.major and os.minor to the os module?

They appear to be C macros on some systems, so I'm guessing most FFI's
aren't going to see them without a wrapper.

On Linux, there's a C function that a macro is #ifdef'd to, but that
seems less than amazingly portable.
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to