File: profile-doc.diff

package info (click to toggle)
python2.6 2.6.6-8%2Bdeb6u3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 65,368 kB
  • ctags: 106,965
  • sloc: ansic: 389,033; python: 375,783; asm: 9,734; sh: 4,934; makefile: 4,120; lisp: 2,933; objc: 775; xml: 62
file content (34 lines) | stat: -rw-r--r-- 1,544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# DP: hotshot/pstats.py: Error out on missing profile/pstats modules.
# DP: Add a note to the library documentation, that the profile and pstats
# DP: modules can be found in the python2.x-profiler package.

Index: python2.6-2.6.5+20100521/Doc/library/profile.rst
===================================================================
--- python2.6-2.6.5+20100521.orig/Doc/library/profile.rst	2010-05-21 15:51:07.267718046 +0200
+++ python2.6-2.6.5+20100521/Doc/library/profile.rst	2010-05-21 15:51:07.275710194 +0200
@@ -5,6 +5,12 @@
 The Python Profilers
 ********************
 
+Debian note: The license for the :mod:`profile` and :mod:`pstats`
+modules doesn't conform to the Debian Free Software Guidelines (DFSG).
+These modules can be found in the *python-profiler* package in the
+*non-free* section of the Debian archives or in the the *multiverse*
+section of the Ubuntu archives.
+
 .. sectionauthor:: James Roskind
 
 .. module:: profile
@@ -243,6 +249,12 @@
    :synopsis: Python profiler
 
 
+Debian note: The license for the :mod:`profile` and :mod:`pstats`
+modules doesn't conform to the Debian Free Software Guidelines (DFSG).
+These modules can be found in the *python-profiler* package in the
+*non-free* section of the Debian archives or in the the *multiverse*
+section of the Ubuntu archives.
+
 The primary entry point for the profiler is the global function
 :func:`profile.run` (resp. :func:`cProfile.run`). It is typically used to create
 any profile information.  The reports are formatted and printed using methods of