Commit Graph

5045 Commits

Author SHA1 Message Date
Victor Stinner a3ed1793a7 PEP 446: add example of vulnerabilities 2013-08-10 00:51:14 +02:00
Victor Stinner 6196392414 PEP 446: Issues: add examples in other projects 2013-08-10 01:00:07 +02:00
Victor Stinner 4410f51ce3 PEP 446: add section "Issues fixed in the subprocess module" 2013-08-10 01:02:09 +02:00
Brett Cannon 9174d4da7c Add PEP 450: Adding A Statistics Module To The Standard Library, by Steven D'Aprano 2013-08-09 10:46:53 -04:00
Victor Stinner 79d319c3b6 PEP 446: cleanup recent additions 2013-08-07 01:49:59 +02:00
Victor Stinner 62767d3960 PEP 446: complete the summary table of the status of python 3.3 2013-08-07 01:43:01 +02:00
Victor Stinner e3d0699cde PEP 446: Windows creates non-inheritable *handles* (not fds) 2013-08-07 01:41:46 +02:00
Victor Stinner caa1de40f7 PEP 446: add a reference to a previous attempt in 2007 2013-08-07 01:38:48 +02:00
Victor Stinner 9fabe818dc PEP 446: add a section "Performances of Closing All File Descriptors" 2013-08-07 01:31:07 +02:00
Victor Stinner 98724124b9 PEP 446: cleanup 2013-08-06 02:18:49 +02:00
Victor Stinner 21d9bf1202 Rewrite the PEP 446 2013-08-06 01:22:15 +02:00
Nick Coghlan cd8c87fa1e Add PEP 449: Removal of *.pypi.python.org mirrors 2013-08-06 00:39:29 +10:00
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