Commit Graph

5466 Commits

Author SHA1 Message Date
Victor Stinner 2492efe21e PEP 454: cleanup 2013-10-03 17:47:02 +02:00
Victor Stinner db71db8e68 PEP 454: tracemalloc is not ignored by default 2013-10-03 16:49:21 +02:00
Victor Stinner 6317f57fea PEP 454: reformat
* limit of 72 columns
* add () to functions and methods
2013-10-03 16:45:04 +02:00
Victor Stinner 983af6289d PEP 454: update the API to its implementation
* remove Frame, Trace and TraceStats classes
* add Metric class
* replace start_timer()/stop_timer() with a new Task class
* Task can now be scheduled using a threshold on the size of the traced memory,
  and only called repeat times
* add DisplayTop.display() method
* a lot of other (minor) changes
2013-10-03 16:00:07 +02:00
Christian Heimes 0071641f77 Add internal size and seed size of hash algo 2013-10-03 15:15:51 +02:00
Christian Heimes afc47ea51a Add results from first tests with Python benchmark suite
document requirement of 64bit data type
explain hash algorithm requirements with RFC 2119 keywords
2013-10-03 12:52:00 +02:00
Eric Snow 24c5df69c6 [PEP 451] Minor edits in response to feedback.
Also removed spec_from_module(), which isn't very useful outside the
import system.
2013-10-01 22:07:46 -06:00
Guido van Rossum 29e97673eb Clarify motivation for serializing callbacks. 2013-10-01 08:37:33 -07:00
Guido van Rossum b782cdde3b Remove pause/resume_writing() and discard_output(). Mention asyncio name. Clarify callback serialization. 2013-09-30 16:15:24 -07:00
Christian Heimes 74bd2e874e document requirements
talk about AES-NI CMAC and HMAC as possible alternatives (too slow)
document necessary changes to C code
2013-09-30 17:07:51 +02:00
Larry Hastings 2bbbeeb805 Updated PEP 429 (3.4 release schedule) as 3.4.0a3 just went out. 2013-09-30 01:15:30 +01:00
Nick Coghlan 6482692ff6 More PEP 453 cleanups 2013-09-29 17:02:03 +10:00
Nick Coghlan d4fc58c7e7 PEP 453 typo 2013-09-29 16:37:32 +10:00
Nick Coghlan 2ce1f07c01 Minor PEP 453 tweaks
- link to latest discussion thread
- new post date
- typos
2013-09-29 16:25:12 +10:00
Ned Deily ca04a38403 Issue #19110: Suppress PEP 0 Last-Modified link in pep2pyramid, too 2013-09-28 23:08:53 -07:00
Nick Coghlan 75dcba1791 Additional rationale in PEP 453
I realised after the last round of reviews that a *big* chunk of the
rationale for this PEP was assumed knowledge on distutils-sig, and
this lead directly to the high rate of replies on python-dev that
just didn't get why the requested exemption to include the new
feature in Python 2.7.6 is so important.

The PEP now attempts to do a better job of bridging that gap, as
well as further expanding on how having the ``ensurepip`` module
fully public in older releases should actually make things *less*
confusing, rather than more, since it gives us a location to
explain the alternative fallback bootstrapping methods.
2013-09-29 15:15:43 +10:00
Ned Deily ca2574f9d8 Issue #19110: Surpress Last-Modified link in PEP 0 html 2013-09-28 12:10:28 -07:00
Guido van Rossum 6f337d4c07 Add Discussions-To header to Tulip PEP. 2013-09-28 09:54:43 -07:00
Nick Coghlan d3fef79eea PEP 453 updates
Combined update with changes from both Donald and I

- adjust the abstract to emphasise the fact this is first about
  recommending pip as the official installer, and only then
  about trying to ensure it is made readily available to users
- note in the rationale that this is a key stepping stone towards
  decoupling the release cycle of the language from that of the
  PyPI software distribution ecosystem
- expanded proposal overview (including explaining the logic that
  leads from recommending pip to providing it by default)
- note the benefit of being able to test the bootstrap using the
  existing buildbot fleet
- note the three known use cases for invoking ensurepip directly
- a little more detail on the required documentation updates
- be clear that easy_install *will* be installed by default, but
  that problem will go away once pip eliminates their setuptools
  dependency
- greatly expand on the rationale for including ensurepip in the
  2.7 and 3.3 maintenance releases, including an explanation of
  the origins of the current policy in the 2.2.x series, how the
  current proposal differs from those, and why this shouldn't
  open the floodgates to more requests for exemptions
- mention multiple commercial Python redistributors rather than
  just the one
- clarify various issues in the recommendations for downstream
  redistributors
- note the licenses for the bundled software
- explain rationale for not making this an installer-only change
  in 2.7 and 3.3
- explain rationale for keeping the ensurepip module public in
  2.7 and 3.3
- assorted cleanups to grammar and wording
2013-09-28 22:40:33 +10:00
Christian Heimes 6801abf17d First draft of 'Pluggable and secure hash algorithm' for str and bytes.
The PEP is still in an early stage and work in progress.
2013-09-28 01:30:06 +02:00
Georg Brandl c37e1d8b07 Fix minor typo in PEP 429. 2013-09-25 09:07:47 +02:00
Eric Snow c05cf5453c [PEP 451] Updates in response to comments.
This includes the addition of a list of terms and concepts.
2013-09-24 23:31:29 -06:00
Donald Stufft 98242cd315 Include macports and fink in the list of OSX installers 2013-09-23 20:15:21 -04:00
Nick Coghlan b8eea37bb9 PEP 453 post date and reference formatting 2013-09-23 21:07:30 +10:00
Georg Brandl 61d7d69e94 Two steps less for making a release!!1 2013-09-22 11:48:00 +02:00
Nick Coghlan 3a9eb4ef0b PEP 453 updates
- use the module name Antoine suggested
- list the five distinct parts of the proposal when
  describing the implementation strategy
- note the bootstrap approach makes it easy to let people opt-out
- allow distros to redirect a global ensurepip invocation to the
  system package manager
- decide the open questions in favour of the currently documented
  approaches (i.e. no changes to uninstallation, update the
  directory layout and PATH handling on Windows)
2013-09-22 15:57:28 +10:00
Larry Hastings e5208fc437 Minor fixes for 3.4 release schedule--beta 2 won't be released on Jan 45th. 2013-09-21 10:40:20 +01:00
Donald Stufft 49665d3360 Update PEP453 to address Debian's concerns and Antoine's 2013-09-19 10:14:02 -04:00
Donald Stufft 28b3bbec03 Add a new entry to Post-History 2013-09-19 09:23:03 -04:00
Donald Stufft 9d355e6f73 Minor changes to PEP453 for grammar and content 2013-09-19 09:22:19 -04:00
Nick Coghlan 70aa3a1a6b Added a second function to the API 2013-09-19 22:48:59 +10:00
Nick Coghlan b27a71809b Update PEP 453 based on MvL's feedback
- added a new security considerations section
- writing that made it clear it made more sense to just always
  install from the private copy, and leave all network access
  to the extracted pip
- this design change meant the original module name was no longer
  suitable, so it was changed to ``extractpip`` instead
- incorporated Van Lindberg's suggestion from a while back to
  rename Tools\Scripts on Windows to bin
2013-09-19 22:43:29 +10:00
Eric Snow b168dc315c PEP-0451: fix ReST footnotes. 2013-09-18 23:07:17 -06:00
Eric Snow 8cf5766d33 A few cosmetic fixes for PEP 451. 2013-09-18 23:04:47 -06:00
Guido van Rossum d0c939ef39 Add (past) discussion points to PEP 450. 2013-09-18 07:55:22 -07:00
Guido van Rossum 23983f0a13 Merge PEP 450 acceptance. 2013-09-18 07:50:42 -07:00
Eric Snow ed9161cd0d PEP 451 cleanup in response to comments. 2013-09-18 03:46:21 -06:00
Larry Hastings 1ec0fc6aeb Updating 3.4 release schedule; PEP 450 (statistics library) just got accepted. 2013-09-18 08:31:31 +01:00
Guido van Rossum fca7859020 Accept PEP 450 (statistics module). 2013-09-17 14:20:05 -07:00
Nick Coghlan 509af2ebae Update PEP 453 (pip bootstrapping)
- add MvL as BDFL-Delegate
- clarify that pip is made available by default
- miscellaneous updates to the rationale section
- include a rationale for choosing pip over other tools
- consolidate all the technical details under one heading
- be explicit about the proposed getpip.bootstrap API
- be explicit about the proposed venv API changes
- be explicit about the proposed installer semantics
- be explicit about the documentation impact
- restrict getpip additions to off-by-default security
  enhancements (enabled by the installers and pyvenv)
- clarify the Windows PATH is only modified when the relevant
  installer option is checked
- request that downstreams that *don't* provide pip at least properly
  document that fact
- avoid the term "bundled" (favouring "private copy" or "bootstrapped"
  as appropriate)
- name the Python Packaging Authority explicitly in the governance
  section and point out that umbrella group now also includes the PyPI
  and setuptools maintainers (and more) in addition to the original
  group of pip and virtualenv maintainers
- note the hassles CPython has had in the past regarding "externally
  maintained" modules
- note why we're not pursuing the idea of bootstrapping into the
  user site packages by default
2013-09-18 00:30:06 +10:00
Victor Stinner 0cb64f9c69 PEP 454: second round based on the tracemalloc repository at changeset 21f7c3df0f15 2013-09-17 01:38:43 +02:00
Victor Stinner 2b83b4a265 Backed out changeset a44f3d00895d 2013-09-17 01:38:27 +02:00
Victor Stinner f5dbc76dd3 PEP 454: second round based on the tracemalloc repository at changeset 21f7c3df0f15 2013-09-17 01:37:36 +02:00
Benjamin Peterson f22ec5e96f speling 2013-09-15 16:06:58 -04:00
Brett Cannon 027e281f27 Grammar touch-ups 2013-09-15 12:02:22 -04:00
Donald Stufft 4567850ee3 Update post history 2013-09-15 11:35:45 -04:00
Nick Coghlan 0655256bf1 Defer PEP 422 (too many other things going on) 2013-09-16 00:36:52 +10:00
Nick Coghlan e142f3e4a1 Add 3.3 and 2.7 back to pip boostrap PEP
Donald reminded me of both why we originally proposed that, and
how the current implementation supports older Python versions
2013-09-15 23:49:45 +10:00
Nick Coghlan c2acda1c65 Update the PEP list for 3.4 2013-09-15 16:30:43 +10:00
Nick Coghlan 6a2614b488 Assorted PEP 453 (pip bootstrapping) updates
- revert to being explicitly 3.4 only (with rationale)
- open question re uninstallation
- open question re script execution on Windows
- explicit cover handling of the setuptools dependency
- spell out the proposed CLI options for getpip
- note that venv will also support --no-download
- explicitly note that pip may gain new features in CPython
  maintenance releases and continues using its own release
  cycle
- explicitly note that bundling pip doesn't preclude the
  use of alternate installers, but instead better *enables*
  them by making them easier to bootstrap
- note we should update to new pip version when they're
  released, so the release process just checks they're up to
  date.
2013-09-15 16:20:11 +10:00