classification
Title: SystemError in unicodeobject.c
Type: behavior Stage: needs patch
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: skrah, vstinner
Priority: normal Keywords:

Created on 2012-04-27 22:16 by skrah, last changed 2012-04-28 00:53 by vstinner. This issue is now closed.

Messages (3)
msg159502 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-04-27 22:16
Seen on the Gentoo buildbot:

http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%20Non-Debug%203.x/builds/2154/steps/test/logs/stdio======================================================================
ERROR: test_format (test.test_bool.BoolTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildslave/3.x.murray-gentoo-wide/build/Lib/test/test_bool.py", line 167, in test_format
    self.assertEqual("%d" % False, "0")
SystemError: Objects/unicodeobject.c:13507: bad argument to internal function

----------------------------------------------------------------------
msg159503 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-04-27 22:21
On another bot:

http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%203.x/builds/2205/steps/test/logs/stdio



[250/364] test_bool
python: Objects/unicodeobject.c:13501: formatlong: Assertion `unicode_modifiable(result)' failed.
Fatal Python error: Aborted

Current thread 0xb75e16c0:
  File "<frozen importlib._bootstrap>", line 611 in get_code
  File "<frozen importlib._bootstrap>", line 510 in _load_module
  File "<frozen importlib._bootstrap>", line 294 in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 634 in load_module
  File "<frozen importlib._bootstrap>", line 1015 in _find_and_load
  File "/var/lib/buildslave/3.x.murray-gentoo/build/Lib/test/regrtest.py", line 1229 in runtest_inner
  File "/var/lib/buildslave/3.x.murray-gentoo/build/Lib/test/regrtest.py", line 907 in runtest
  File "/var/lib/buildslave/3.x.murray-gentoo/build/Lib/test/regrtest.py", line 710 in main
  File "/var/lib/buildslave/3.x.murray-gentoo/build/Lib/test/__main__.py", line 13 in <module>
  File "/var/lib/buildslave/3.x.murray-gentoo/build/Lib/runpy.py", line 75 in _run_code
  File "/var/lib/buildslave/3.x.murray-gentoo/build/Lib/runpy.py", line 162 in _run_module_as_main
make: *** [buildbottest] Aborted
msg159504 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2012-04-27 22:29
It's my fault. It should be fixed by:

changeset:   76590:7bacccd889c2
tag:         tip
user:        Victor Stinner <victor.stinner@gmail.com>
date:        Sat Apr 28 00:25:34 2012 +0200
files:       Objects/unicodeobject.c
description:
Fix my previous commit: bool is a long, restore the specical case for bool
History
Date User Action Args
2012-04-28 00:53:10vstinnersetstatus: open -> closed
resolution: fixed
2012-04-27 22:29:28vstinnersetmessages: + msg159504
2012-04-27 22:21:07skrahsetmessages: + msg159503
2012-04-27 22:17:05skrahsettype: crash -> behavior
2012-04-27 22:16:32skrahcreate