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 |
Eric V. Smith
|
eb9b98c932
|
More typos.
|
2015-08-24 09:20:50 -04:00 |
Eric V. Smith
|
9d28e9ee71
|
Typos.
|
2015-08-24 08:00:49 -04:00 |
Eric V. Smith
|
104dc4b901
|
Restored accidentally deleted newline.
|
2015-08-21 18:38:38 -04:00 |
Eric V. Smith
|
29a1f236da
|
Flushed out more text. Other than removing !s, !r, and !a, I think I am mostly done.
|
2015-08-21 18:35:55 -04:00 |
Eric V. Smith
|
1d6b74f376
|
Improve comparison to string.Template and %-formatting.
|
2015-08-21 05:13:39 -04:00 |
Eric V. Smith
|
7261e0d009
|
Better link for PEP 461.
|
2015-08-21 04:57:04 -04:00 |
Eric V. Smith
|
86db15618e
|
Added more words about rejecting binary f-strings.
|
2015-08-21 04:54:23 -04:00 |
Eric V. Smith
|
71c8591e16
|
Fix some markup.
|
2015-08-20 21:18:50 -04:00 |
Eric V. Smith
|
14c0910963
|
Incorporate feedback from Guido. Still several more items to tackle.
|
2015-08-20 21:14:43 -04:00 |
Eric V. Smith
|
cb5ee58dbd
|
Clean up usage of format_spec and field_name. Add additional verbiage about i18n and concatenating adjacent f-strings.
|
2015-08-20 20:55:54 -04:00 |
Eric V. Smith
|
e5ad88af3d
|
Straightened out footnotes.
|
2015-08-20 20:27:23 -04:00 |
Eric V. Smith
|
10e7fb2a55
|
Also support !a, since it is in Python 3.
|
2015-08-20 20:13:37 -04:00 |
Eric V. Smith
|
2b710a1d86
|
PEP-498 updates: specify str.interpolate() and beef up some of the discussion text. Still needs work on the XXX marked sections.
|
2015-08-20 20:02:45 -04:00 |
Eric V. Smith
|
64873d50e1
|
Moved the deprecation statement to a place that makes more sense. Thanks Mike Miller.
|
2015-08-11 09:32:15 -04:00 |
Eric V. Smith
|
acf7aa34da
|
Small typos. Added section about nested expressions inside format specifiers.
|
2015-08-10 09:17:36 -04:00 |
Eric V. Smith
|
8886508947
|
Fixed code typos. Minor rewording.
|
2015-08-09 17:08:17 -04:00 |
Brett Cannon
|
6040fa4e49
|
Fix a little grammar.
|
2015-08-08 14:03:59 -07:00 |
Eric V. Smith
|
0ed11e5754
|
Add a placeholder to remind me to insert my research on what other languages support.
|
2015-08-08 10:07:40 -04:00 |
Eric V. Smith
|
a6b8d8c537
|
Normalize examples.
|
2015-08-08 02:48:16 -04:00 |
Eric V. Smith
|
fe83f468f6
|
Added another run time error example.
|
2015-08-07 22:25:27 -04:00 |
Eric V. Smith
|
84c290c550
|
Fix typo.
|
2015-08-07 22:13:33 -04:00 |
Eric V. Smith
|
c40f2f389c
|
Fixed PEP number.
|
2015-08-07 21:42:37 -04:00 |
Eric V. Smith
|
0405ad7da6
|
Initial version of PEP-498.
|
2015-08-07 21:33:01 -04:00 |