Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ab68a3dc
Commit
ab68a3dc
authored
Mar 22, 2008
by
Alexandre Vassalotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added warning for the removal of 'hotshot' in Py3k.
parent
6415667f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Lib/hotshot/__init__.py
Lib/hotshot/__init__.py
+3
-1
No files found.
Lib/hotshot/__init__.py
View file @
ab68a3dc
"""High-perfomance logging profiler, mostly written in C."""
import
_hotshot
from
_hotshot
import
ProfilerError
from
warnings
import
warnpy3k
as
_warnpy3k
_warnpy3k
(
"The 'hotshot' module is not supported in 3.x, "
"use the 'profile' module instead."
,
stacklevel
=
2
)
class
Profile
:
def
__init__
(
self
,
logfn
,
lineevents
=
0
,
linetimings
=
1
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment