This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_types fails in non-debug mode
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.smith Nosy List: benjamin.peterson, eric.smith, ocean-city, pitrou
Priority: normal Keywords:

Created on 2009-04-04 16:54 by pitrou, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg85409 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-04-04 16:54
Compiled with VS 2008 Express:

test test_types failed -- Traceback (most recent call last):
  File "Z:\py3k\__svn__\lib\test\test_types.py", line 343, in
test_int__format__

    test(1234, ',', '1,234')
  File "Z:\py3k\__svn__\lib\test\test_types.py", line 235, in test
    self.assertEqual(i.__format__(format_spec), result)
AssertionError: '1234\x00' != '1,234'
msg85418 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2009-04-04 17:51
I got SEGV on test_types on VC6, but after clean build, it seems SEGV
was gone. Maybe build problem?
msg85420 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-04-04 18:07
Actually, it works in debug mode, but not in release mode.
msg85423 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-04-04 18:20
Well, actually it also happens under Linux in non-debug mode.
msg85428 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2009-04-04 19:36
Problem was a debug #ifdef in the wrong place. Sorry for not testing in
non-debug mode.

Fixed in r71184.
History
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 49940
2009-04-04 19:36:02eric.smithsetstatus: open -> closed
priority: release blocker -> normal
messages: + msg85428

resolution: fixed
stage: needs patch -> resolved
2009-04-04 19:00:10eric.smithsetassignee: eric.smith
2009-04-04 18:20:46pitrousettitle: test_types fails in non-debug mopde -> test_types fails in non-debug mode
2009-04-04 18:20:32pitrousetmessages: + msg85423
title: test_types fails under Windows -> test_types fails in non-debug mopde
2009-04-04 18:07:47pitrousetmessages: + msg85420
2009-04-04 17:51:11ocean-citysetnosy: + ocean-city
messages: + msg85418
2009-04-04 17:14:45benjamin.petersonsetnosy: + eric.smith
2009-04-04 16:54:37pitroucreate