Title: _debugmallocstats() gibberish output on Windows
Type: behavior Stage: resolved
Components: Versions: Python 3.3, Python 3.4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: tim.peters Nosy List: python-dev, tim.peters
Priority: normal Keywords:

Created on 2013-09-06 03:46 by tim.peters, last changed 2013-09-06 04:13 by tim.peters. This issue is now closed.

Messages (2)
msg197048 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2013-09-06 03:46
On Windows, _debugmallocstats() output ends with lines like this:

  0 free 12-sized PyTupleObjects * zd bytes each =                    0
  0 free 13-sized PyTupleObjects * zd bytes each =                    0

"zd" is senseless.  Betting it's due to using a %zd format code, which MS doesn't support (but Python itself supports in other printf-like functions, like PyErr_Format()).  I'll track it down and fix it :-)
msg197049 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-09-06 04:11
New changeset d95cc29ea94e by Tim Peters in branch '3.3':
Issue #18942: sys._debugmallocstats() output was damaged on Windows.

New changeset 43f772554872 by Tim Peters in branch 'default':
Nerge 3.3 into default.
Date User Action Args
2013-09-06 04:13:17tim.peterssetstatus: open -> closed
resolution: fixed
stage: needs patch -> resolved
2013-09-06 04:11:26python-devsetnosy: + python-dev
messages: + msg197049
2013-09-06 03:46:24tim.peterscreate