[MacPorts] #59886: Consider re-enabling HAVE_POLL in python
MacPorts
noreply at macports.org
Tue Dec 24 13:15:37 UTC 2019
#59886: Consider re-enabling HAVE_POLL in python
---------------------------------------+--------------------
Reporter: grimreaper | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: python python36 python37 |
---------------------------------------+--------------------
Changes (by jmroot):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [ticket:59886 grimreaper]:
> 1) Poll is no longer disabled in any fix file in modern mac versions
https://opensource.apple.com/source/python/python-109.200.2/2.7/fix/
And yet, on 10.14:
{{{
% /usr/bin/python
Python 2.7.16 (default, Oct 16 2019, 00:34:56)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import select
>>> select.poll
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'poll'
}}}
But as Renee said, this is already enabled in MacPorts python on OS
versions where it works properly:
{{{
% /opt/local/bin/python3.7
Python 3.7.6 (default, Dec 21 2019, 22:11:17)
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import select
>>> select.poll
<built-in function poll>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59886#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list