[New-bugs-announce] [issue8931] '#' has no affect with 'c' type

Benjamin Peterson report at bugs.python.org
Mon Jun 7 01:07:15 CEST 2010


New submission from Benjamin Peterson <benjamin at python.org>:

$ python3
Python 3.1.2 (release31-maint, May  3 2010, 22:18:46)
[GCC 4.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> format(ord("a"), "c")
'a'
>>> format(ord("a"), "#c")
'a'

I wonder if '#' with 'c' should raise an exception.

----------
assignee: eric.smith
components: Interpreter Core
messages: 107250
nosy: benjamin.peterson, eric.smith
priority: normal
severity: normal
status: open
title: '#' has no affect with 'c' type
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

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


More information about the New-bugs-announce mailing list