Commit Graph

5466 Commits

Author SHA1 Message Date
Eric V. Smith c29cc79166 Fixed typo. 2013-11-11 09:01:17 -05:00
Victor Stinner 596ee26d32 PEP 454: set_traceback_limit() requires nframe >= 1 2013-11-10 23:54:37 +01:00
Benjamin Peterson fdf301d0d0 fix Zephyr AST link 2013-11-10 15:00:13 -05:00
Benjamin Peterson b257896a0b update for 2.7.6 2013-11-10 02:38:37 -05:00
Victor Stinner 9e3306d126 PEP 454: Statistic doesn't have size_dif/count_diff anymore 2013-11-09 19:50:51 +01:00
Victor Stinner 2a339ac8f5 PEP 454: merge two "functions" sections 2013-11-09 03:24:36 +01:00
Victor Stinner 20e6c78e68 PEP 454: remove filters on tracing
* Remove add_filter(), get_filters(), clear_filters()
* Remove the default filter on tracemalloc.py
* Give more explanation on the impacts of set_traceback_limit()
2013-11-09 03:13:58 +01:00
Eric Snow d2dea92fa8 [PEP 451] Mark as Accepted! 2013-11-08 12:46:55 -07:00
Victor Stinner c97d838774 PEP 454: remove Snapshot.timestamp attribute 2013-11-08 18:06:37 +01:00
Victor Stinner 4841d22de4 PEP 454
* Add Trace, Traceback and Frame classes: generated on-demand read-only views
  of traces
* Add a new StatisticDiff class and add new Snapshot.compare_to() method.
  The method return a list of StatisticDiff instances and replaces the
  compare_to parameter of Snapshot.statistics()
* Remove Statistic.size_diff and Statistic.count_diff attributes
* Remove get_traces()
2013-11-08 16:25:13 +01:00
Brett Cannon b4fb332c27 Touch-up for PEP 451 2013-11-08 10:19:24 -05:00
Victor Stinner 3ba7d9323f PEP 454: replace Statistic.key with Statistic.traceback 2013-11-05 22:04:26 +01:00
Eric Snow f96659cba7 [PEP 451] "target" arg of find_spec() is not exclusive to reloading. 2013-11-04 16:40:45 -07:00
Antoine Pitrou eb0946e474 Remove stat caching 2013-11-04 16:22:03 +01:00
Antoine Pitrou 7456c54989 Remove the st_* shortcuts 2013-11-04 16:20:12 +01:00
Antoine Pitrou 8ad14a255d relative() becomes relative_to() 2013-11-04 16:19:23 +01:00
Victor Stinner c4e4fa55cc PEP 454: cleanup 2013-11-04 08:50:35 +01:00
Georg Brandl 3f24eef138 update for 3.3.3 2013-11-04 07:28:07 +01:00
Victor Stinner 59accfc791 PEP 454: remove enable/disble/is_enabled() functions 2013-11-03 13:50:52 +01:00
Eric Snow f729d23f82 [PEP 451] Changes related to the find_spec() target module. 2013-11-02 15:08:19 -06:00
Eric Snow a1c321efbb [PEP 451] It pays to run make before committing. 2013-11-01 16:33:49 -06:00
Eric Snow 23dc54157b [PEP 451] Update the signature of find_spec() and remove supports_reload(). 2013-11-01 16:19:06 -06:00
Guido van Rossum 3e087d47c8 Resolve a few TBD/TODOs. 2013-11-01 15:14:39 -07:00
Barry Warsaw b7879b52e9 Ethan Furman's latest patch for Issue 19331. 2013-11-01 12:56:37 -04:00
Victor Stinner 05d6e0dfad PEP 454
* rename disable/enable/is_enabled() to stop/start/is_tracing()
* add disable/enable/is_enabled() which are temporary, and disable() doesn't
  clear traces
* a traceback now always contains a least 1 frame, use (('<unknown>', 0),) if
  the traceback cannot read or if the traceback limit is 0
* write more documentation on filter functions
2013-11-01 12:05:37 +01:00
Guido van Rossum 65511fc035 Huge update to various parts of the spec. Still not done. 2013-10-31 15:48:48 -07:00
Victor Stinner 0e4112070e PEP 454: add a section "Log calls to the memory allocator" 2013-10-31 02:24:25 +01:00
Victor Stinner b78d7821b3 PEP 454: cleanup 2013-10-31 01:23:31 +01:00
Victor Stinner 0a63f69b11 PEP 454
* Snapshot.apply_filters() now returns a new Snapshot instance
* Rename Filter.traceback to Filter.all_frames
2013-10-31 00:13:57 +01:00
Victor Stinner b134f468c8 PEP 454: rename reset() to clear_traces()
Explain also in clear_traces() documentation how to get traces before clearing them.
2013-10-30 11:24:34 +01:00
Victor Stinner adc68f3b3d PEP 454: group_by() is private again 2013-10-30 02:15:25 +01:00
Victor Stinner aa3b086113 PEP 454
* Remove GroupedStats class: replaced with a new Snapshot.statistics() method
* Filter: rename include attribute to inclusive
* Snapshot.group_by() now raises a ValueError when cumulative parameter is
  miused
2013-10-30 02:07:37 +01:00
Barry Warsaw bf16d73f39 2.6.9 final 2013-10-29 13:15:48 -04:00
Eric Snow 88fe8028a0 [PEP 451] Add namespace package support to example code and explain more about reloading. 2013-10-28 22:56:35 -06:00
Christian Heimes 1db087f304 Update PEP 456 to reflect the changes in features/pep-456 2013-10-28 00:33:22 +01:00
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