Commit Graph

5033 Commits

Author SHA1 Message Date
Larry Hastings 297ca2977e Merge. 2013-08-04 01:46:12 -07:00
Larry Hastings 133d0a80ca Updated release schedule, added some notes for PEP 101 (Doing Python releases). 2013-08-03 23:52:51 -07:00
Nick Coghlan 1019a67ffa Try to clean up PEP 426 naming rules 2013-08-04 16:29:14 +10:00
Nick Coghlan 605e86dca8 PJE's feedback on PEP 426 exports 2013-08-03 23:42:56 +10:00
Nick Coghlan 91f171864b Some new ideas for PEP 3150 2013-08-03 02:42:54 +10:00
Nick Coghlan 311a487701 First draft of entry points for metadata 2.0 2013-08-03 01:13:56 +10:00
Guido van Rossum fa09420ca3 Merge 2013-08-02 08:13:25 -07:00
Nick Coghlan 2d2036781d Defer PEP 432 :( 2013-08-02 23:10:02 +10:00
Nick Coghlan 12b49b6a86 Backed out changeset 54c62ebb0501 2013-08-02 23:08:54 +10:00
Nick Coghlan 8c54950c0e pep-0432.txt 2013-08-02 23:05:54 +10:00
Nick Coghlan f7025e0fcc Another PEP 8 typo fix
Yay for not saving before committing :P
2013-08-02 20:46:19 +10:00
Nick Coghlan 5dbb9a10f1 Tweak source encoding wording 2013-08-02 20:28:35 +10:00
Nick Coghlan 05d72183a8 Fix typo 2013-08-02 20:20:17 +10:00
Nick Coghlan 7de08107a4 Use Guido's preferred wording re: line length 2013-08-02 20:18:45 +10:00
Nick Coghlan 1730f70421 Always defer to project specific guides 2013-08-02 12:30:37 +10:00
Nick Coghlan ad0edb7348 Additional PEP 8 tweaks
- be explicit that project style guides take precedence
- make a line splitting example consistent with other guidelines
- clarify wording of the def-vs-lambda guideline
2013-08-02 12:26:24 +10:00
Guido van Rossum 5a0c59d25c Reduce desirability of using 100 chars per line. 2013-08-01 18:12:07 -07:00
Terry Jan Reedy 69ab45adcc PEP 8 spelling corrections 2013-08-01 17:32:07 -04:00
Guido van Rossum bbc946a16a Correctly spell hierarchy. 2013-08-01 08:04:13 -07:00
Nick Coghlan fade322fd5 Fix a typo 2013-08-01 23:34:34 +10:00
Nick Coghlan 7dba60ceea PEP 8 modernisation
Thanks to Guido van Rossum, Barry Warsaw, Raymond Hettinger,
Terry Reedy, Thomas Wouters and others for the constructive
feedback :)
2013-08-01 22:25:37 +10:00
Antoine Pitrou 2ea8f1200a Set PEP 442 to final. 2013-07-30 20:01:06 +02:00
Ronald Oussoren f639cefaf2 fix markup problem 2013-07-29 18:49:53 +02:00
Ronald Oussoren d70e4fd727 Include results for a 2n3 run of the benchmark suite. 2013-07-29 16:36:47 +02:00
Ronald Oussoren b47370af48 Updated the PEP 447 text
* __locallookup__ is now required for all metatypes and is therefore
  defined on type.

  The method was optional to make it easier to
  detect if the attribute lookup cache can be used, but
  the same idea can be used when "type" implements tp_locallookup.

* Added benchmarking results with PyBench.
2013-07-29 14:42:49 +02:00
Nick Coghlan 42551db573 Update PEP 394 based on python-dev discussions 2013-07-25 22:21:27 +10:00
Daniel Holth a974225ea3 PEP 426: update json schema 2013-07-19 12:03:16 -04:00
Ronald Oussoren ccc67db90d PEP 447 updates
* Title better reflects what's proposed

* Try to clarify the proposal (by changing the text and adding examples)

* Add background information on why I'm working on this proposal

* Slight semantic change: "type" does not provide a __locallookup__
  method. This was done to ensure that the type attribute cache
  can be kept.
2013-07-17 16:57:39 +02:00
Victor Stinner f6bac4e607 PEP 466: another counter-argument for open(blocking=True) 2013-07-17 13:15:18 +02:00
Victor Stinner 0c8a96692c PEP 466: add test_cloexec.py 2013-07-17 13:10:26 +02:00
Victor Stinner ab9b8a51bf PEP 446: On Windows, the close-on-exec flag is the *inverse* of HANDLE_FLAG_INHERIT 2013-07-17 12:48:58 +02:00
Guido van Rossum da726ba476 Fix minor grammatical/typographical issues. 2013-07-15 09:37:26 -07:00
Ronald Oussoren fb086746da There is implementation of the super() changes in this PEP. 2013-07-15 17:12:32 +02:00
Ronald Oussoren bfec474381 Document a possible attribute cache issue with the proposed changes to PyObject_GenericGetAttr 2013-07-15 17:10:15 +02:00
Ronald Oussoren 95e6879313 Rewrite PEP 447 with a cleaner interface
This replaces a special method that was tuned for use by super()
by one that is also usable for PyObject_GenericGetAttr, and has
a cleaner interface (a method on the meta type instead of static method
on the type that didn't really know what it wanted to be).

Next up: provide prototype implementation, then post to python-dev again.
2013-07-15 11:23:29 +02:00
Ronald Oussoren e1f31edcf2 Version of my super getattr hook proposal as posted to python-dev.
This will likely see significant changes based on feedback from Steve Dower.
2013-07-15 10:04:57 +02:00
Nick Coghlan 10b82df874 Markup fix 2013-07-14 23:29:39 +10:00
Nick Coghlan 4bfbb980cb Rename PEP 426 schema file 2013-07-14 23:28:14 +10:00
Nick Coghlan a043d88945 Assorted PEP 426 updates
* Merge conditional and unconditional deps
* Don't trust public index server "Provides" metadata
* Rename pymeta to pydist (schema file name change postponed for better diff)
* Bring schema file up to date (I think - could use an audit)
2013-07-14 23:27:22 +10:00
Guido van Rossum df6c195b0c Remove spurious backticks. 2013-07-13 18:57:50 -07:00
Brett Cannon 40e6f825cd Add PEP 448: Additional Unpacking Generalizations
by Joshua Landau.
2013-07-12 18:10:56 -04:00
Richard Jones 36f1f0ebb5 remove virtualenv from the pip3 install 2013-07-10 15:07:43 +10:00
Richard Jones 12c9125cc2 clarify CA cert issue; install virtualenv as well; mention Python 2.7 possibility 2013-07-10 13:01:57 +10:00
Barry Warsaw 3a283f9827 Clarify the wording. 2013-07-09 09:27:16 -04:00
Richard Jones 1ed9a8a185 merge 2013-07-09 12:29:13 +10:00
Richard Jones af72a505a0 mention having pip default to --user when itself installed in ~/.local
remove consideration of support for unnecessary installation options
2013-07-09 12:23:12 +10:00
Richard Jones 4b638f9ddd remove setuptools note; setuptools will now be installed
mention bootstrapping target and command-line options
mention python 2.6+ bootstrap possibility
2013-07-09 11:20:06 +10:00
Victor Stinner 8278ceed77 PEP 446: typo 2013-07-07 15:10:39 +02:00
Victor Stinner 010039d965 PEP 446: add new os.get/set_blocking() functions 2013-07-07 15:05:58 +02:00
Victor Stinner 9cb23db25d PEP 446: add a link to "Ghosts of Unix past, part 2: Conflated designs" article (LWN) 2013-07-07 15:00:53 +02:00