[issue3917] set_display definition allows empty '{' '}' in Language Definition

2008-09-21 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Thanks, fixed in r66522. Also removed the last two paragraphs of the set
display explanation which were pasted from genexps and made no sense,
and added a sentence about {} not constructing a set.

--
resolution:  - fixed
status: open - closed

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3917
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3917] set_display definition allows empty '{' '}' in Language Definition

2008-09-20 Thread Bruce Frederiksen

New submission from Bruce Frederiksen [EMAIL PROTECTED]:

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 [EMAIL PROTECTED]
http://bugs.python.org/issue3917
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com