Commit Graph

5433 Commits

Author SHA1 Message Date
Antoine Pitrou 6ad419b864 The repr() of a Windows path now uses forward slashes (Guido).
Note that str() and bytes() still use backward slashes, which is the canonical path syntax.
2013-11-17 16:33:06 +01:00
Antoine Pitrou 193c166121 NTPath becomes WindowsPath 2013-11-16 22:31:45 +01:00
Antoine Pitrou 0866846d15 Implicit iteration is replaced by the iterdir() method 2013-11-16 20:08:09 +01:00
Antoine Pitrou 4e925eb9ad Point to readthedocs for detailed API spec 2013-11-16 19:57:44 +01:00
Antoine Pitrou 4318de0442 Kill raw_open() 2013-11-16 19:55:30 +01:00
Antoine Pitrou 4ddef5a086 Kill as_bytes() 2013-11-16 19:50:52 +01:00
Antoine Pitrou 08daab3583 Fix an example 2013-11-16 19:32:39 +01:00
Antoine Pitrou 554b1b0f9c Wording tweaks 2013-11-16 19:10:10 +01:00
Antoine Pitrou a4b740aacb Add current opcodes, as implemented by Alexandre 2013-11-16 19:08:03 +01:00
Guido van Rossum bf9b4e10d1 Replace connection_refused() with error_received(). 2013-11-15 16:47:42 -08:00
Nick Coghlan d7061c0d55 Add PEP 458: Surviving a compromise of PyPI 2013-11-15 22:20:14 +10:00
Guido van Rossum 8517d920dd Complete subprocess and flow control docs. Misc other additions. 2013-11-14 13:25:58 -08:00
Christian Heimes ea0509db0e add benchmark numbers for small string optimization 2013-11-14 16:09:27 +01:00
Christian Heimes 346215c231 document DJBX33A and discussion about non-aligned memory 2013-11-14 00:20:03 +01:00
Christian Heimes 4b767a63ee More compact notation 2013-11-13 23:39:54 +01:00
Christian Heimes a7bd65b904 PEP 456: add some of the new implementation details to the PEP's text 2013-11-13 23:32:54 +01:00
Victor Stinner 4f669af9ab PEP 454: rename Snapshot.apply_filters() to Snapshot.filter_traces() 2013-11-12 13:38:36 +01:00
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