classification
Title: Implementation of PEP 3101, Advanced String Formatting
Type: Stage:
Components: Interpreter Core Versions: Python 3.0
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: eric.smith (1)
Priority: Keywords

Created on 2007-08-24 03:51 by eric.smith, last changed 2007-08-29 20:33 by gvanrossum.

Files
File name Uploaded Description Edit Remove
pep3101.diff eric.smith, 2007-08-24 03:51
Messages (3)
msg55237 - (view) Author: Eric Smith (eric.smith) Date: 2007-08-24 03:51
This implements PEP 3101, for the py3k branch.

Known issues:
Better error handling, per the PEP.

Need to write Formatter class.

test_long is failing, but I don't think it's my doing.

Need to fix this warning that I introduced when compiling
Python/formatter_unicode.c:
Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but
not used

Need more tests for sign handling for int and float.

It still supports "()" sign formatting from an earlier PEP version.
msg55284 - (view) Author: Eric Smith (eric.smith) Date: 2007-08-25 09:19
Closed, code was checked in revision 57444.
msg55285 - (view) Author: Eric Smith (eric.smith) Date: 2007-08-25 09:21
I tried to close it, without success.  Possible tracker issue, I'll
investigate.

It should be closed!
History
Date User Action Args
2007-08-29 20:33:59gvanrossumsetstatus: open -> closed
resolution: accepted
2007-08-25 09:21:28eric.smithsetmessages: + msg55285
2007-08-25 09:19:54eric.smithsetmessages: + msg55284
versions: + Python 3.0, - Python 2.6
2007-08-24 04:49:27eric.smithsetversions: + Python 2.6
2007-08-24 03:51:50eric.smithcreate