Opened 2 years ago

Last modified 23 months ago

#5902 defect new

sendmsg.c doesn't work on PyPy

Reported by: glyph Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

Change History (2)

comment:1 Changed 2 years ago by exarkun

Perhaps a link to the failing builder is more pertinent? I hate tickets that rely on external resources to make any sense, but at least this is a resource hosted by us.

Or, here, I can just paste a failing test's output:

[FAIL]
Traceback (most recent call last):
  File "/var/lib/buildbot/bot-glyph-1/lucid32-pypy/build/twisted/python/test/test_sendmsg.py", line 288, in test_syscallErrorWithControlMessage
    error, send1msg, fd, "hello, world", 0, [(0, 0, "0123")])
twisted.trial.unittest.FailTest: <type 'exceptions.OverflowError'> raised instead of error:
 Traceback (most recent call last):
  File "/var/lib/buildbot/bot-glyph-1/lucid32-pypy/build/twisted/trial/unittest.py", line 1143, in _run
    utils.runWithWarningsSuppressed, self._getSuppress(), method)
  File "/var/lib/buildbot/bot-glyph-1/lucid32-pypy/build/twisted/internet/defer.py", line 134, in maybeDeferred
    result = f(*args, **kw)
  File "/var/lib/buildbot/bot-glyph-1/lucid32-pypy/build/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/var/lib/buildbot/bot-glyph-1/lucid32-pypy/build/twisted/python/test/test_sendmsg.py", line 288, in test_syscallErrorWithControlMessage
    error, send1msg, fd, "hello, world", 0, [(0, 0, "0123")])
--- <exception caught here> ---
  File "/var/lib/buildbot/bot-glyph-1/lucid32-pypy/build/twisted/trial/unittest.py", line 243, in failUnlessRaises
    result = f(*args, **kwargs)
exceptions.OverflowError: CMSG_LEN(139930034503684) > SOCKLEN_MAX


twisted.python.test.test_sendmsg.SendmsgTestCase.test_syscallErrorWithControlMessage

That's just one, there are several that fail that way.

comment:2 Changed 23 months ago by glyph

This has got to be some nuance of PyArgs_ParseTuple that isn't implemented by PyPy, right? Any idea which?

Note: See TracTickets for help on using tickets.