Showing content from https://mail.python.org/pipermail/python-dev/2011-February/108296.html below:
[Python-Dev] r88580 - in python/branches/py3k: Doc/library/os.rst Doc/whatsnew/3.3.rst Lib/test/test_os.py Misc/NEWS Modules/posixmodule.c configure.in pyconfig.h.in
[Python-Dev] r88580 - in python/branches/py3k: Doc/library/os.rst Doc/whatsnew/3.3.rst Lib/test/test_os.py Misc/NEWS Modules/posixmodule.c configure.in pyconfig.h.in [Python-Dev] r88580 - in python/branches/py3k: Doc/library/os.rst Doc/whatsnew/3.3.rst Lib/test/test_os.py Misc/NEWS Modules/posixmodule.c configure.in pyconfig.h.inAntoine Pitrou solipsis at pitrou.net
Fri Feb 25 18:32:44 CET 2011
On Fri, 25 Feb 2011 15:39:16 +0100 (CET)
giampaolo.rodola <python-checkins at python.org> wrote:
> +#else
> + *((off_t*)addr) = PyLong_Check(arg) ? PyLong_AsLongLong(arg)
> + : PyLong_AsLong(arg);
> +#endif
There's something fishy here. Why would you call PyLong_AsLong() if
PyLong_Check() is false?
Regards
Antoine.
More information about the Python-Dev mailing list
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4