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
4bcfe53e
Commit
4bcfe53e
authored
Jul 31, 2006
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add PyErr_WarnEx()
parent
555ac45b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Doc/whatsnew/whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+7
-0
No files found.
Doc/whatsnew/whatsnew25.tex
View file @
4bcfe53e
...
...
@@ -2280,6 +2280,13 @@ Lundh at the NeedForSpeed sprint.)
\var
{
dict
}
)
}
can now accept a tuple of base classes as its
\var
{
base
}
argument. (Contributed by Georg Brandl.)
\item
The
\cfunction
{
PyErr
_
Warn()
}
function for issuing warnings
is now deprecated in favour of
\cfunction
{
PyErr
_
WarnEx(category,
message, stacklevel)
}
which lets you specify the number of stack
frames separating this function and the caller. A
\var
{
stacklevel
}
of
1 is the function calling
\cfunction
{
PyErr
_
WarnEx()
}
, 2 is the
function above that, and so forth. (Added by Neal Norwitz.)
\item
The CPython interpreter is still written in C, but
the code can now be compiled with a
{
\Cpp
}
compiler without errors.
(Implemented by Anthony Baxter, Martin von~L
\"
owis, Skip Montanaro.)
...
...
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