[issue3211] warnings.warn_explicit raises SystemError

Andrii V. Mishkovskyi report at bugs.python.org
Thu Jun 26 18:50:57 CEST 2008


Andrii V. Mishkovskyi <mishok13 at gmail.com> added the comment:

Even more, Python 3.0 crashes from following code:
Python 3.0b1+ (py3k:64528M, Jun 26 2008, 11:40:20)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from warnings import warn_explicit
>>> warn_explicit(None, UserWarning, None, 0, None, None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: Objects/dictobject.c:709: bad argument to internal function
>>> warn_explicit(None, UserWarning, None, 0, None, {})
Segmentation fault

----------
nosy: +mishok13
type:  -> crash
versions: +Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3211>
_______________________________________


More information about the Python-bugs-list mailing list