Eric V. Smith
|
7943dd4986
|
Clarified wording.
|
2016-11-19 12:16:38 -05:00 |
Eric V. Smith
|
4e860330f6
|
Note that literal closing curly braces must be doubled.
|
2016-11-19 12:07:19 -05:00 |
Eric V. Smith
|
7abeffc60d
|
Updated posting history.
|
2016-11-06 11:26:59 -05:00 |
Eric V. Smith
|
ac0afc6434
|
Disallow backslashes in the expression part of f-strings. See https://mail.python.org/pipermail/python-dev/2016-September/146357.html for a discussion and an implied acceptance by Guido.
|
2016-11-06 11:18:17 -05:00 |
Eric V. Smith
|
2245b0b334
|
Added missing word.
|
2016-08-18 12:59:00 -04:00 |
Marti Raudsepp
|
04a6af2ab1
|
Fix various typos, spelling and grammar errors
Errors detected using Topy (https://github.com/intgr/topy), all changes
verified by hand.
|
2016-07-11 18:35:35 +03:00 |
Serhiy Storchaka
|
3dad438872
|
Issue #26916: Fixed words duplications.
|
2016-05-03 12:03:16 +03:00 |
Georg Brandl
|
5999b23389
|
Fixup some more lists-in-blockquotes. Fixes #26914.
|
2016-05-03 10:35:10 +02:00 |
Georg Brandl
|
af90430776
|
Fix lists-in-blockquotes in 0xxx PEPs. Ref: #26914
|
2016-05-03 10:18:02 +02:00 |
Eric V. Smith
|
73a7b5b6bb
|
Issue 25206: fix f-string exceptions to match the code.
|
2015-09-24 08:54:17 -04:00 |
Eric V. Smith
|
acf3f87883
|
Simplified example.
|
2015-09-22 17:57:36 -04:00 |
Eric V. Smith
|
e7c46cdbe8
|
More on issue 25206: typo.
|
2015-09-22 11:27:43 -04:00 |
Eric V. Smith
|
34af22026f
|
Partial fix for issue 25206: Fixed format() call.
|
2015-09-21 17:16:30 -04:00 |
Eric V. Smith
|
e3e40dd1d2
|
Make it clear that __format__ isn't called on the value of each expression, but rather on the type of the value. This is how the builtin format() function works, too.
|
2015-09-19 11:24:19 -04:00 |
Eric V. Smith
|
2f46d104f0
|
Some grammar and typo fixes.
|
2015-09-12 20:08:18 -04:00 |
Eric V. Smith
|
c02acaa227
|
Removed being able to combine 'f' with 'u'.
|
2015-09-12 11:59:53 -04:00 |
Eric V. Smith
|
78c0674c85
|
Added a note about concatenating adjacent f-strings.
|
2015-09-12 06:55:44 -04:00 |
Eric V. Smith
|
c8910c0c71
|
Fix 2 typos. Thanks Johan Musaeus Bruun.
|
2015-09-12 06:48:29 -04:00 |
Eric V. Smith
|
7bcfd64f81
|
After discussing with Guido, allow both 'f' and 'F'.
|
2015-09-10 04:03:33 -04:00 |
Eric V. Smith
|
5572aeccab
|
PEP 498 accepted. Yay! Thanks, all.
|
2015-09-08 20:38:45 -04:00 |
Eric V. Smith
|
ebbbc136c1
|
Added some text about escaping quote chars, and about raw f-strings.
|
2015-09-08 20:10:44 -04:00 |
Eric V. Smith
|
50b63b0e5f
|
Grammar fix.
|
2015-09-06 18:15:38 -04:00 |
Eric V. Smith
|
0c4d7c180b
|
Note that comments are not allowed inside expressions.
|
2015-09-05 17:07:48 -04:00 |
Barry Warsaw
|
3732c04a7a
|
Spell checked.
|
2015-09-05 13:50:27 -04:00 |
Eric V. Smith
|
581f95229f
|
Removed unneeded footnotes referencing other PEPs. Cleaned up some language. Fixed up some formatting errors.
|
2015-09-04 21:25:59 -04:00 |
Eric V. Smith
|
c865de6aa8
|
Remove unused footnotes.
|
2015-09-04 21:04:21 -04:00 |
Eric V. Smith
|
cab992dc7e
|
Update Post-History.
|
2015-09-04 20:29:54 -04:00 |
Eric V. Smith
|
b9502b9255
|
Note how f-strings are tokenized and decoded before scanning for expressions.
|
2015-09-04 20:28:35 -04:00 |
Eric V. Smith
|
2f170cfcaf
|
Add notion of adding implicit parens before parsing the expression. This allows for newlines in the expressions.
|
2015-09-04 17:09:56 -04:00 |
Eric V. Smith
|
c377e4765f
|
Removed Implementation Limitations section. While the version of the code on http://bugs.python.org/issue24965 has the 255 expression limitation, I'm going to remove this limit. The i18n section was purely speculative. We can worry about it if/when we add i18n and i-strings.
|
2015-09-04 15:01:35 -04:00 |
Eric V. Smith
|
2025cc03c5
|
Make examples easier to read by using '+' instead of ''.join().
|
2015-09-04 14:37:43 -04:00 |
Eric V. Smith
|
a2f904c448
|
Fix typo introduced when switching to backquotes.
|
2015-09-04 05:34:35 -04:00 |
Eric V. Smith
|
e87b03e606
|
Changed title.
|
2015-08-30 09:16:20 -04:00 |
Eric V. Smith
|
e2c32c47d2
|
Yet another attempt to clear up wording in this section.
|
2015-08-29 17:45:36 -04:00 |
Eric V. Smith
|
dda8eb22a9
|
Fixed wording.
|
2015-08-29 16:21:04 -04:00 |
Eric V. Smith
|
8546af530e
|
Added inline literal markup.
|
2015-08-29 16:20:18 -04:00 |
Eric V. Smith
|
9143b2852d
|
Improve some wording.
|
2015-08-29 16:02:17 -04:00 |
Eric V. Smith
|
617e3748a8
|
Added a section on the same expression being used multiple times in the same f-string.
|
2015-08-28 21:43:48 -04:00 |
Eric V. Smith
|
5d0b58c678
|
Fixed escape sequence.
|
2015-08-28 14:59:05 -04:00 |
Eric V. Smith
|
35c0d9cc75
|
Fixed awkward wording.
|
2015-08-28 14:27:58 -04:00 |
Eric V. Smith
|
c0c7101fa5
|
Added specification for order of escape sequence processing.
|
2015-08-28 14:26:58 -04:00 |
Eric V. Smith
|
088fee8cb8
|
Moved order of evaluation into the Specification section, since it's guaranteed.
|
2015-08-28 12:21:04 -04:00 |
Eric V. Smith
|
3e2bcc6966
|
Moved a sentence to where it makes more sense.
|
2015-08-28 11:41:58 -04:00 |
Eric V. Smith
|
75f463a375
|
Added section on order of evaluation.
|
2015-08-28 11:16:23 -04:00 |
Eric V. Smith
|
174ea8308e
|
Escape some backslashes.
|
2015-08-28 11:03:07 -04:00 |
Eric V. Smith
|
8af0c666ad
|
Added a note that the str.format() parser is not suitable for use when implementing f-strings.
|
2015-08-27 10:20:59 -04:00 |
Eric V. Smith
|
6cedddc12d
|
Fixed a typo found by Jochen Kupperschmidt. Thanks!
|
2015-08-26 06:08:21 -04:00 |
Eric V. Smith
|
68a8d4e43c
|
Note a few implementation details or restrictions.
|
2015-08-25 16:38:29 -04:00 |
Eric V. Smith
|
08777faecd
|
Added some examples from Python's source. Both 'before' (str.format) and 'after' (f-strings).
|
2015-08-24 15:49:18 -04:00 |
Eric V. Smith
|
03ef9d23e5
|
Remove str.interpolate. It's just an implementation detail. It can be exposed at a later date, if need be.
|
2015-08-24 14:35:44 -04:00 |