Commit Graph

5298 Commits

Author SHA1 Message Date
Antoine Pitrou 734743d99b Assorted comments by Jim Jewett 2013-11-20 00:46:39 +01:00
Antoine Pitrou 3129ea6d88 Fix typo 2013-11-19 23:05:51 +01:00
Antoine Pitrou cb4b918b94 Fix outdated example 2013-11-19 23:04:11 +01:00
Antoine Pitrou c7f8d92125 `parent` is now a property returning the logical parent of the path 2013-11-19 22:01:14 +01:00
Antoine Pitrou 046c7012df "parents" is now a sequence property providing access to the path's ancestors 2013-11-19 21:51:19 +01:00
Antoine Pitrou ee543c9e5c The "parts" property now simply returns a tuple (the slightly magic slicing behaviour is gone) 2013-11-19 21:48:55 +01:00
Antoine Pitrou ea0c8221a0 s/is_sock/is_socket/ 2013-11-19 16:52:03 +01:00
Antoine Pitrou 01c58d9574 Replace "seven" with "several" :) 2013-11-19 16:45:47 +01:00
Antoine Pitrou e02e097151 Replace "NT path" with "Windows path" 2013-11-19 16:40:46 +01:00
Antoine Pitrou 00a5db2a5d Make owner() and group() methods, rather than properties.
It didn't make sense to keep them as properties as all other metadata-querying APIs
are now exposed under the form of methods (e.g. is_dir(), etc.), and there's no
stat() caching anymore.
2013-11-18 23:49:02 +01:00
Antoine Pitrou cf1a377f65 Add is_sock(), is_fifo(), is_block_device(), is_char_device() 2013-11-18 21:49:41 +01:00
Antoine Pitrou 36f5f1f633 Mention that resolve() canonicalizes the path under Windows 2013-11-18 21:48:50 +01:00
Antoine Pitrou 111b5e8681 Remove normcase(), it's not terribly useful and its presence can be misleading 2013-11-17 20:19:10 +01:00
Antoine Pitrou b20d53bfd6 Point out that resolve() is similar to realpath() 2013-11-17 16:49:07 +01:00
Antoine Pitrou cdf4a57e8d Explain match() behaviour 2013-11-17 16:47:01 +01:00
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