[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2019-04-10 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
keywords:  -needs review, patch
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2018-07-09 Thread miss-islington


miss-islington  added the comment:


New changeset 80a5f04592f7d732a541d5c35a1be1e9a6472ecb by Miss Islington (bot) 
in branch '3.7':
bpo-28626: rearrange discussion of output formatting to encourage f-strings 
(GH-6036)
https://github.com/python/cpython/commit/80a5f04592f7d732a541d5c35a1be1e9a6472ecb


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2018-07-07 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7731

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2018-07-07 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset ced350b1952857a9b9c68ec7e2786358bcb61050 by Andrew Kuchling in 
branch 'master':
bpo-28626: rearrange discussion of output formatting to encourage f-strings 
(#6036)
https://github.com/python/cpython/commit/ced350b1952857a9b9c68ec7e2786358bcb61050


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2018-03-08 Thread A.M. Kuchling

Change by A.M. Kuchling :


--
pull_requests: +5798

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2018-03-04 Thread Cheryl Sabella

Cheryl Sabella  added the comment:

@akuchling

Would you be able to make a PR for this patch?  Thanks.

--
nosy: +csabella
versions: +Python 3.8 -Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2016-11-12 Thread Raymond Hettinger

Raymond Hettinger added the comment:

It makes sense to drop zfill() and ljust().  If there is any mention of 
string.Template, it could be limited to mentioning why you would want to use it 
(i.e. is a great format to expose to non-programmer end-users) and include a 
reference to the string.Template docs.

--
nosy: +rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Oh, I didn't finish my thought on open questions: should we just drop the 
discussion of .ljust(), .zfill(), or should it be there so users are aware of 
it?  Similarly, is it still worth mentioning string.Template?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2016-11-06 Thread A.M. Kuchling

New submission from A.M. Kuchling:

The 'output formatting' section of the tutorial talks a lot about manual 
formatting with things like .rjust() and .zfill(), with only a passing 
reference to 3.6's new f-strings.

The attached patch doesn't drop all of the old material, but it does rearrange 
the topics into a more modern order: f-strings first, featuring the discussion 
of formatting specifiers; then calling .format(); finally manual formatting 
with .ljust().

Open question:

--
assignee: docs@python
components: Documentation
files: tutorial-patch.txt
keywords: needs review, patch
messages: 280153
nosy: akuchling, docs@python
priority: normal
severity: normal
stage: patch review
status: open
title: Tutorial: rearrange discussion of output formatting to encourage 
f-strings
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file45372/tutorial-patch.txt

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com