Commit Graph

32 Commits

Author SHA1 Message Date
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