Your message dated Sat, 11 Jul 2020 17:56:24 +0000
with message-id <[email protected]>
and subject line Bug#937519: Removed package(s) from unstable
has caused the Debian Bug report #875284,
regarding python-pyrex: Exception handling doesn't clear exceptions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
875284: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875284
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pyrex
Version: 0.9.9-1
Severity: normal

[crybaby /tmp/mdw]cat t.pyx
### -*-pyrex-*-

def test(x):
  try: return int(x)
  except TypeError: pass
  return 'failed'
[crybaby /tmp/mdw]cat u.py
### -*-python-*-

import t

def p(x):
  y = t.test(x)
  print '%r -> %r' % (x, y)
for i in [1, id, 3]:
  p(i)
[crybaby /tmp/mdw]pyrexc t.pyx && gcc -fPIC -Og -g -c -I/usr/include/python2.7 
t.c && ld -shared -otmodule.so t.o -lpython2.7
[crybaby /tmp/mdw]python u.py
1 -> 1
<built-in function id> -> 'failed'
3 -> 3
Traceback (most recent call last):
  File "u.py", line 8, in <module>
    for i in [1, id, 3]:
TypeError: int() argument must be a string or a number, not 
'builtin_function_or_method'

It's choking on `id', but shouldn't because the `test' function
shouldn't have let a `TypeError' escape.  Indeed, it sort of didn't: we
see that it returned `failed' just fine, continued hacking on the rest
of the list, and /then/ exploded at the end of the `for' loop.

I don't know CPython's internals well enough to say exactly why, but it
checks for pending exceptions after loops, and while Pyrex has performed
the appropriate evasive action following the `TypeError', it failed to
mark the error has handled (likely by calling `PyErr_Clear'), leaving a
time-bomb for later.

-- [mdw]

--- End Message ---
--- Begin Message ---
Version: 0.9.9-1+rm

Dear submitter,

as the package pyrex has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/937519

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Sean Whitton (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to