~ubuntu-branches/ubuntu/raring/python3.3/raring-proposed

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
# 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.

--- a/Doc/library/profile.rst
+++ b/Doc/library/profile.rst
@@ -4,6 +4,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
@@ -211,6 +217,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