[New-bugs-announce] [issue3917] set_display definition allows empty '{' '}' in Language Definition

Bruce Frederiksen report at bugs.python.org
Sun Sep 21 02:37:58 CEST 2008


New submission from Bruce Frederiksen <dangyogi at gmail.com>:

The definition for set_display in the Language Definition allows for
empty curly braces by enclosing expression_list | comprehension in
brackets ('[', ']').  These brackets should be removed, as empty curly
braces are a dict_display.

http://docs.python.org/dev/3.0/reference/expressions.html#grammar-token-set_display

----------
assignee: georg.brandl
components: Documentation
messages: 73478
nosy: dangyogi, georg.brandl
severity: normal
status: open
title: set_display definition allows empty '{' '}' in Language Definition
versions: Python 3.0

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


More information about the New-bugs-announce mailing list