[MacPorts] #54702: Python 36 and Python 35 crash reading files larger than 2 Gig
MacPorts
noreply at macports.org
Thu Aug 31 22:21:31 UTC 2017
#54702: Python 36 and Python 35 crash reading files larger than 2 Gig
--------------------------------+----------------------------
Reporter: jhelm | Owner: jyrkiwahlstedt
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords:
Port: python35 python36 |
--------------------------------+----------------------------
Comment (by jhelm):
If by upstream bug, you mean the problem is in the distro from python.org,
then I think you are correct. I built a OS X vm and installed python from
python.org; the bug is still there! I never expected something like this
would go undetected... Let's close this bug and I'll file with
python.org.
BTW - here is a slowish workaround by reading one line at a time:
{{{
f = sys.stdin
cnt = 0
for line in f:
cnt += 1
print("lines",cnt)
}}}
Thanks for everything.
--
Ticket URL: <https://trac.macports.org/ticket/54702#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list