@@ -47,7 +47,7 @@ trying to build any C extensions.
4747line_profiler
4848=============
4949
50- The current profiling tools supported in Python 2.5 and later only time
50+ The current profiling tools supported in Python 2.7 and later only time
5151function calls. This is a good first step for locating hotspots in one's program
5252and is frequently all one needs to do to optimize the program. However,
5353sometimes the cause of the hotspot is actually a single line in the function,
@@ -211,8 +211,7 @@ features:
211211 Profiler will be instantiated and inserted into your __builtins__ with the
212212 name "profile". Like LineProfiler, it may be used as a decorator, or
213213 enabled/disabled with `enable_by_count() ` and `disable_by_count() `, or
214- even as a context manager with the "with profile:" statement in Python 2.5
215- and 2.6.
214+ even as a context manager with the "with profile:" statement.
216215
217216 * Pre-profiling setup. With the [-s/--setup] option, you can provide
218217 a script which will be executed without profiling before executing the
@@ -329,14 +328,8 @@ Frequently Asked Questions
329328
330329* What version of Python do I need?
331330
332- Both line_profiler and kernprof have been tested with Python 2.4-2.7.
333- It might work with Python 2.3, but does not currently work with Python 3.x.
334-
335- * I get negative line timings! What's going on?
336-
337- There was a bug in 1.0b1 on Windows that resulted in this. It should be
338- fixed in 1.0b2. If you are still seeing negative numbers, please let me
339- know.
331+ Both `line_profiler ` and `kernprof ` have been tested with Python 2.7, and
332+ 3.2-3.4.
340333
341334
342335To Do
@@ -367,6 +360,7 @@ Changes
367360* ENH: `kernprof.py ` is now installed as `kernprof `.
368361* ENH: Python 3 support. Thanks to the long-suffering Mikhail Korobov for being
369362 patient.
363+ * Dropped 2.6 as it was too annoying.
370364* ENH: The `stripzeros ` and `add_module ` options. Thanks to Erik Tollerud for
371365 contributing it.
372366* ENH: Support for IPython cell blocks. Thanks to Michael Forbes for adding
0 commit comments