Commit Graph

6038 Commits

Author SHA1 Message Date
Alexander Belopolsky 1c0b0ee97a PEP 495: Added a preamble to a first=None variant. 2015-08-24 17:29:10 -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
Nick Coghlan e4bd0c9b1e PEP 501: Explicit note regarding prerendering templates 2015-08-23 14:17:45 +10:00
Nick Coghlan 1c7e1613cb PEP 501: remove remnants of previous iteration 2015-08-23 13:44:47 +10:00
Nick Coghlan 215e3d0aee PEP 501: Add a new post date for this version 2015-08-23 12:41:30 +10:00
Nick Coghlan e27e7a0338 PEP 501: string prefix redux, now with template objects 2015-08-23 12:38:55 +10:00
Nick Coghlan 150cb59734 PEP 501: named field attrs, update keyword arg discussion 2015-08-23 07:34:57 +10:00
Alexander Belopolsky ea53115841 PEP 495: Are two values enough? // Backward Compatibility 2015-08-22 21:22:28 -04:00
Alexander Belopolsky e49267ccaf PEP 495: typo 2015-08-22 17:33:28 -04:00
Alexander Belopolsky 7d2fb4b8db PEP 495: Are two values enough? 2015-08-22 17:24:15 -04:00
Nick Coghlan 98fc50b68c PEP 501: switch to a more normal binary operator 2015-08-23 07:04:33 +10:00
Nick Coghlan d377d6216a PEP 501: add logging examples, other tweaks 2015-08-22 21:17:31 +10:00
Nick Coghlan e91d95900e Update Tim's email address so PEPs build again 2015-08-22 19:57:41 +10:00
Nick Coghlan 1bd21bb257 Major redesign of PEP 501 interpolation 2015-08-22 19:57:17 +10:00
Alexander Belopolsky 673f1ce88d PEP 495: Added Tim Peters as an author. 2015-08-21 22:39:45 -04:00
Alexander Belopolsky 173e09ac8b PEP 495: Addressed several (not all yet) mailing list commments. 2015-08-21 22:28:19 -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
Yury Selivanov eaf9ea6841 pep-492: Fix example code 2015-08-18 10:21:19 -04:00
Alexander Belopolsky 86e9b6efcc PEP 495: Corrected the missing time rule for timestamp. 2015-08-15 23:57:08 -04:00
Alexander Belopolsky bef964294e PEP 495: Minor markup fix. 2015-08-15 23:18:58 -04:00
Alexander Belopolsky 2812564e9f PEP 495: Added a C-API section. 2015-08-15 20:24:23 -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
Larry Hastings 5552ce3603 Touch-ups for Python 3.5 release schedule. 2015-08-10 17:18:01 -07:00
Yury Selivanov 131b9e0328 pep-494: Add recently discussed PEPs to 3.6 proposed changes 2015-08-10 14:51:51 -04:00
Eric V. Smith acf7aa34da Small typos. Added section about nested expressions inside format specifiers. 2015-08-10 09:17:36 -04:00
Alexander Belopolsky 908470b0aa PEP 495: Updated the backward compatibility section. 2015-08-09 20:58:00 -04:00
Alexander Belopolsky d5b563e29e PEP 495: 'Treminology' section and minor edits. 2015-08-09 20:33:18 -04:00
Alexander Belopolsky c08a7777ec PEP 495: Removed a separate 'Comparison' section. 2015-08-09 20:05:46 -04:00
Alexander Belopolsky 01f91829df PEP 495: Corrected tables markup. 2015-08-09 20:02:58 -04:00
Alexander Belopolsky 84f2f4134d Updated PEP 495:
* Explained creation of invalid instances.
  * Added "Combining and splitting date and time" section.
  * Clarified that fromutc() will not change.
  * Removed a paragraph listing methods that can produce first=False.
  * Corrected spelling mistakes.
2015-08-09 19:51:45 -04:00
Eric V. Smith 8886508947 Fixed code typos. Minor rewording. 2015-08-09 17:08:17 -04:00
Alexander Belopolsky 1429bb2ec2 Corrected a typo in PEP-0500. 2015-08-08 18:17:08 -04:00
Alexander Belopolsky 5d7564d879 merge 2015-08-08 18:08:06 -04:00
Alexander Belopolsky 983039fed2 PEP-0500: A protocol for delegating datetime methods 2015-08-08 18:07:27 -04:00
Brett Cannon d7ef54d600 Convert all PEP-related code to be Python 2/3 compatible. 2015-08-08 14:04:29 -07:00
Brett Cannon 6040fa4e49 Fix a little grammar. 2015-08-08 14:03:59 -07:00
Brett Cannon aea7672a91 Add a Makefile command to create a virtualenv with the necessary projects installed. 2015-08-08 12:54:36 -07:00