Commit Graph

5223 Commits

Author SHA1 Message Date
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
Antoine Pitrou e3b37523b4 ... and mark myself as delegate 2013-07-06 22:57:08 +02:00
Antoine Pitrou 9ebab6c186 Mark accepted 2013-07-06 22:56:39 +02:00
Antoine Pitrou 722bcf3c16 Some tweaks 2013-07-06 22:48:32 +02:00
Daniel Holth 41d43d2d53 pep-0426: add generator field 2013-07-06 16:38:22 -04:00
Victor Stinner b4738085d0 PEP 446: enhance the Rationale to take into account Cameron Simpson's remarks
* mention the name of the close-on-exec flag: HANDLE_FLAG_INHERIT, O_CLOEXEC
 * mention the name of the blocking flag: O_NONBLOCK
 * explain that file attributes are duplicated at fork
2013-07-06 14:27:23 +02:00
Victor Stinner eb13cfaa28 PEP 446: typo: inherance => inheritance 2013-07-04 22:10:39 +02:00
Victor Stinner 47a9a14870 PEP 446: better title 2013-07-04 13:01:38 +02:00
Victor Stinner 7394d0aceb PEP 446: add an "Overlapped I/O" alternative 2013-07-04 12:58:03 +02:00
Victor Stinner 1043aa17ab Add PEP 446: based on PEP 433, but simpler and more conservative 2013-07-04 01:32:07 +02:00
Barry Warsaw a87fddebef Relax PEP 8's perceived (but incorrect) prohibition against backslashed. 2013-07-03 13:26:36 -04:00
Victor Stinner 1506fc7c5b PEP 445: fix typo 2013-07-03 00:44:58 +02:00