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
f6a84f56
Commit
f6a84f56
authored
Jun 22, 2006
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention how to suppress warnings
parent
418e73d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
Doc/whatsnew/whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+13
-3
No files found.
Doc/whatsnew/whatsnew25.tex
View file @
f6a84f56
...
...
@@ -1174,6 +1174,16 @@ In Python 2.5, a new \exception{ImportWarning} warning is raised when
an import would have picked up a directory as a package but no
\file
{__
init
__
.py
}
was found. (Implemented by Thomas Wouters.)
To suppress these warnings, you can either supply
\command
{
-W'ignore:Not importing directory'
}
when running the Python
interpreter, or use the
\module
{
warnings
}
module to suppress the
message:
\begin{verbatim}
warnings.filterwarnings('ignore', 'Not importing directory',
ImportWarning)
\end{verbatim}
\item
The list of base classes in a class definition can now be empty.
As an example, this is now legal:
...
...
@@ -2396,8 +2406,8 @@ freed with the corresponding family's \cfunction{*_Free()} function.
The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
article: Phillip J. Eby,
Kent Johnson, Martin von~L
\"
owis, Fredrik Lundh,
Gustavo Niemeyer, James Pryor, Mike Rovner, Scott Weikart, Barry Warsaw,
Thomas Wouters.
article: Phillip J. Eby,
"Ralf W. Grosse-Kunstleve, Kent Johnson,
Martin von~L
\"
owis, Fredrik Lundh, Gustavo Niemeyer, James Pryor, Mike
Rovner, Scott Weikart, Barry Warsaw,
Thomas Wouters.
\end{document}
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