Message281214
| Author |
vstinner |
| Recipients |
vstinner, xdegaye, yan12125 |
| Date |
2016年11月19日.11:23:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAMpsgwbJHGw9zJ2LkDvmR5tBE0zJJwpXi=VfywgHHA40w_n4cw@mail.gmail.com> |
| In-reply-to |
<1479552074.26.0.629622399597.issue28740@psf.upfronthosting.co.za> |
| Content |
I didn't know that there are build and runtime versions. If the runtime
version is available, it should be preferred.
Hum, maybe its better to expose the __system_property_get() function in the
os module, something similar to os.confstr()?
https://docs.python.org/dev/library/os.html#os.confstr
If the OS returns a string, I suggest to return a string in Python too. The
caller would be responsible to convert it to integer. What do you think of
that? |
|