Commit Graph

5281 Commits

Author SHA1 Message Date
Victor Stinner abfd6e8439 PEP 454: remove GroupedStats.timestamp/.traceback_limit attributes
various cleanup
2013-10-28 00:20:26 +01:00
Victor Stinner ae96a9de23 PEP 454: cleanup 2013-10-27 18:26:47 +01:00
Victor Stinner 98900f22d2 PEP 454
* replace Snapshot.create() class method with take_snapshot() function
* get_traces() now returns a list instead of a dict (remove addresses)
* remove get_stats()
* unknown frames are now stored as ("<unknown>", 0) instead of (None, None)
* remove get_object_address()
* remove get_trace()
* remove add_inclusive_filter() and add_exclusive_filter() functions
* remove "address" key type from Snapshot.group_by()
2013-10-27 17:22:57 +01:00
Antoine Pitrou 52967be17a "basename" is now "stem" (preferred by Guido) 2013-10-27 16:56:12 +01:00
Georg Brandl e1756bf5d0 Tweak the website section: download/content.ht also gets updated for prereleases. 2013-10-27 10:40:11 +01:00
Eric Snow e1e050aca8 [PEP 451] Add in missing spec arg in loading code. 2013-10-26 22:11:29 -06:00
Eric Snow c9ba4a9756 [PEP 451] Updates in response to the latest feedback.
This includes removing the remaining ModuleSpec methods and de-emphasizing
that find_spec() returns actual ModuleSpec instances.
2013-10-26 18:30:41 -06:00
Victor Stinner e9eb066c0d PEP 454: mention also gdb-heap 2013-10-26 09:43:14 +02:00
Nick Coghlan f5dae2a3d7 PEP 453: alternate installer wording tweak
Avoid implying that hashdist and conda are part of the same
project.
2013-10-26 15:51:53 +10:00
Antoine Pitrou 0851a088fc Add a discussion section 2013-10-25 21:28:38 +02:00
Antoine Pitrou e4f08b7f30 s/alteration/modification/ 2013-10-25 21:09:57 +02:00
Antoine Pitrou 3889008418 Simplify joinpath() example 2013-10-25 21:05:22 +02:00
Antoine Pitrou 64210a6ec2 Typo 2013-10-25 21:03:50 +02:00
Antoine Pitrou f36388059e Use a simpler example 2013-10-25 21:03:28 +02:00
Benjamin Peterson f565b37f78 actual dates for 2.7.6 2013-10-25 01:31:14 -04:00
Guido van Rossum 586b21034e Clarify that SSL could mean TLS. Allow duck typing SSLContext. Allow missing run/stop/close functionality. 2013-10-24 08:37:55 -07:00
Antoine Pitrou 9d74f7717b Remove openat support 2013-10-23 19:49:13 +02:00
Victor Stinner 2f7a3f3957 PEP 454: copy missing part of the doc 2013-10-23 20:12:42 +02:00
Victor Stinner f218dd187d PEP 454
* add GroupedStats.traceback_limit attribute
* add a Statistic class
* add GroupedStats.statistics() method
* Grouped.compare_to() first parameter is now mandatory, the list is now sorted
  by default, add a new optional sort parameter
* "-X tracemalloc=NFRAME" command line option and PYTHONTRACEMALLOC=NFRAME
  environment variable now specify the number of frames. "-X tracemalloc" is
  still accepted (NFRAME=1)
* rename clear_traces() to reset()
* rename Snapshot.top_by(group_by) to Snapshot.group_by(key_type);
  rename GroupedStats.group_by to GroupedStats.key_type
* get_tracemalloc_memory() only returns a int (total size),
  instead of a (size: int, free: int) tuple
* mention id() builtin function
* rename get_object_trace() to get_object_traceback(), the function now
  only returns the traceback (no more the size)
* rename add_include_filter() to add_inclusive_filter(),
  and add_exclude_filter() to add_exclusive_filter()
* remove the StatsDiff class
* Remove match*() methods from the Filter class
* remove metrics

More details on filename pattern, traces, etc.
2013-10-23 20:03:33 +02:00
Victor Stinner 9857747bc9 PEP 454: the traceback idea comes from the faulthandler module 2013-10-22 17:04:24 +02:00
Guido van Rossum 2d1e124438 Update a lot of the intro text in PEP 3156. 2013-10-23 08:17:05 -07:00
Eric Snow 7dcf9d7527 [PEP 451] Fix a ModuleSpec attribute (parent) that was named inconsistently in different parts. 2013-10-22 21:27:10 -06:00
Eric Snow 3cc4e26a24 [PEP 451] Fix some typos. 2013-10-22 20:09:07 -06:00
Eric Snow 79f12c3388 [PEP 451] Clarify about namespace packages and about what ModuleSpec does during loading. 2013-10-22 17:59:33 -06:00
Larry Hastings f7f62eeebb Move 3.4.0a4 from future releases to released. 2013-10-22 11:22:05 -07:00
Eric Snow d57c8be816 [PEP 451] Don't change the signature of the file-based finders.
The "Open Issues" section is also cleaned up.
2013-10-22 09:37:20 -06:00
Victor Stinner 834123996b PEP 454: rationale 2013-10-22 13:57:53 +02:00
Nick Coghlan 4c8b5a26ff MvL accepted PEP 453! \o/ 2013-10-22 21:51:28 +10:00
Victor Stinner 710a1c0720 PEP 454: Prior Work 2013-10-22 02:30:12 +02:00
Nick Coghlan d150e47692 PEP 453 postdate and wording tweaks 2013-10-20 22:20:53 +10:00
Nick Coghlan e83a58638e PEP 453 updates
- remove proposal to change the script installation directory on
  Windows due to the backwards incompatility issues pointed out
  by Paul Moore
- include an explicit requirement to resolve the requests
  certificate management issues prior to beta 2
- cleaner formatting of the integration timeline
2013-10-20 15:00:20 +10:00
Barry Warsaw a4ec9acf45 Spell check and wrap. 2013-10-18 13:24:59 -04:00
Guido van Rossum 0e2e677032 Various Tulip updates. 2013-10-18 09:35:37 -07:00
Brett Cannon 7dfb6b0960 Document formatter as deprecated 2013-10-18 11:49:14 -04:00
Victor Stinner a4dc87cc11 PEP 454: remove DisplayTop and TakeSnapshot classes, and tasks and metric
functions

Metric.format does not no list available formats, the format is now undefined
(each tool can use its own format).
2013-10-18 13:54:17 +02:00
Nick Coghlan 9fba6aeaad Tweak the proposed integration timeline 2013-10-15 22:43:46 +10:00
Nick Coghlan 92d4dbf0ec Add pip integration timeline to PEP 453
- timeline based on discussion with the 3.4 release team
  and the pip devs
- also clarified the two trust models on offer (i.e. that
  the PEP ensures trusting PyPI remains explicitly opt-in, just
  as it has always been in the past)
2013-10-15 22:33:12 +10:00
Victor Stinner 0a513228dc PEP 445 has been implemented 2013-10-13 16:10:58 +02:00
Nick Coghlan 8d82cbcca0 PEP 453 typo fix 2013-10-13 22:32:05 +10:00
Nick Coghlan e6cc2772ac PEP 453 post date and wording tweak 2013-10-13 22:27:37 +10:00
Georg Brandl 2679eb0c91 PEP 4: convert to reST, update SourceForge -> bugs.python.org, update DeprecationWarning policy
and add removal of code using the module.

Closes #8090.
2013-10-12 18:11:53 +02:00
Nick Coghlan b6e2ec03f3 Additional PEP 453 fixes 2013-10-11 01:15:34 +10:00
Nick Coghlan 57ba690829 Revise PEP 453 to be docs-only for 2.7 & 3.3
- all functional changes are now 3.4 only
- still proposes docs changes for 2.7 & 3.3
- notes current effort to create a Windows installer for pip
- notes possibility of a future PEP to provide a combined
  CPython 2.7, pip and Python Launcher installer from python.org
2013-10-11 00:47:47 +10:00
Larry Hastings ce15f00a60 Fixed fixed a a doubled doubled word word in in PEP PEP 457 457. 2013-10-09 02:56:36 +02:00
Barry Warsaw 2e98417e67 More space 2013-10-08 20:37:44 -04:00
Barry Warsaw 0e0896b582 Head merge. 2013-10-08 20:22:24 -04:00
Barry Warsaw 840b602172 Support RESERVED PEP numbers. 2013-10-08 20:21:56 -04:00
Larry Hastings 04283170ab Fixed two syntax errors in PEP 457. 2013-10-09 02:20:56 +02:00
Larry Hastings 45d05cbdf7 Added PEP 457, Syntax For Positional-Only Parameters. 2013-10-09 01:23:55 +02:00
Victor Stinner 9be59399c7 PEP 454: remove tracemalloc.get_allocated_blocks()
sys.getallocatedblocks() already exists
2013-10-08 22:00:38 +02:00