āžœ

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients lktoken, ned.deily, ronaldoussoren, xtreak
Date 2018-07-19.07:33:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <D62609AB-8CA3-4EC9-9D6C-1D48D2599CCA@mac.com>
In-reply-to <1531984610.4.0.56676864532.issue34143@psf.upfronthosting.co.za>
Content
Iā€™m not sure if I understand correctly. Is your report about the difference in the values of EAGAIN between Linux and macOS?

If so, that is not a bug: the relevant standards only document the name and type of these constants and not their values. The value can and does vary across operating systems.  

--
On the road, hence brief. 

Op 19 jul. 2018 om 08:16 heeft lktoken <report@bugs.python.org> het volgende geschreven:

> 
> lktoken <zhwbchina@gmail.com> added the comment:
> 
> The picture is a screenshot from the IDEA editor on my OSX system. This may be just a problem with the python I am using. So sad.
> Python 2.7.10 (default, Oct  6 2017, 22:29:07)
> [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import errno
>>>> errno.EDEADLK
> 11
>>>> errno.EAGAIN
> 35
>>>> import os
>>>> os.strerror(11)
> 'Resource deadlock avoided'
>>>> os.strerror(35)
> 'Resource temporarily unavailable'
>>>> 
> 
> Any more, follow your shell commands, I found this:
> 
> āžœ  ~ grep -E 'EDEADLK|EAGAIN' /usr/include/sys/errno.h
> #define    EDEADLK        11        /* Resource deadlock avoided */
>                    /* 11 was EAGAIN */
> #define    EAGAIN        35        /* Resource temporarily unavailable */
> #define    EWOULDBLOCK    EAGAIN        /* Operation would block */
> 
> And my OS info:
> āžœ  ~ uname -a
> Darwin lktokendeMacBook-Air.local 17.6.0 Darwin Kernel Version 17.6.0: Tue May  8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64 x86_64
> 
> Thank you very much.
> 
> ----------
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue34143>
> _______________________________________
History
Date User Action Args
2018-07-19 07:33:21ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, xtreak, lktoken
2018-07-19 07:33:21ronaldoussorenlinkissue34143 messages
2018-07-19 07:33:20ronaldoussorencreate