[issue16470] Backport set and dictionary comprehensions in tutorial to 2.7

2012-11-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2e2e7f398864 by Ezio Melotti in branch '2.7':
#16470: mention set and dict comprehension in the tutorial.  Patch by Yongzhi 
Pan.
http://hg.python.org/cpython/rev/2e2e7f398864

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16470
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16470] Backport set and dictionary comprehensions in tutorial to 2.7

2012-11-17 Thread Ezio Melotti

Ezio Melotti added the comment:

Fixed, thanks for the patch!
I also rephrased the sentence on 3.x.

--
assignee: docs@python - ezio.melotti
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16470
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16470] Backport set and dictionary comprehensions in tutorial to 2.7

2012-11-16 Thread Yongzhi Pan

Yongzhi Pan added the comment:

I updated the patch according to the code review. Hope now it is OK.

--
Added file: http://bugs.python.org/file27995/set_and_dict_comprehensions_1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16470
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16470] Backport set and dictionary comprehensions in tutorial to 2.7

2012-11-15 Thread Andrew Svetlov

Changes by Andrew Svetlov andrew.svet...@gmail.com:


--
nosy: +asvetlov

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16470
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16470] Backport set and dictionary comprehensions in tutorial to 2.7

2012-11-14 Thread Éric Araujo

Éric Araujo added the comment:

Good idea.  Could you add a note that this is new in 2.7?  (Either using 
versionadded Sphinx directives or just remarks in plain English, not sure which 
one would be best.)

--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16470
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16470] Backport set and dictionary comprehensions in tutorial to 2.7

2012-11-14 Thread Georg Brandl

Georg Brandl added the comment:

We don't use versionadded/changed directives in the tutorial. (There was only 
one until 2 minutes ago, which was misplaced in any case.)

--
nosy: +georg.brandl

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16470
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16470] Backport set and dictionary comprehensions in tutorial to 2.7

2012-11-13 Thread Yongzhi Pan

New submission from Yongzhi Pan:

Dictionary and set comprehensions are backported to 2.7 in issue #2333. The are 
not documented in the tutorial of 2.7, though they are in the language 
reference. Is it OK to add these to the tutorial? I've uploaded a patch.

--
assignee: docs@python
components: Documentation
files: set_and_dict_comprehensions.diff
keywords: patch
messages: 175547
nosy: docs@python, fossilet
priority: normal
severity: normal
status: open
title: Backport set and dictionary comprehensions in tutorial to 2.7
type: enhancement
versions: Python 2.7
Added file: http://bugs.python.org/file27982/set_and_dict_comprehensions.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16470
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16470] Backport set and dictionary comprehensions in tutorial to 2.7

2012-11-13 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +ezio.melotti
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16470
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com