Commit Graph

5453 Commits

Author SHA1 Message Date
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
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