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
1497b628
Commit
1497b628
authored
Sep 24, 2001
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link to Unix Review's 2.2 article
Fix two errors
parent
c11ccf35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
Doc/whatsnew/whatsnew22.tex
Doc/whatsnew/whatsnew22.tex
+11
-2
No files found.
Doc/whatsnew/whatsnew22.tex
View file @
1497b628
...
...
@@ -25,7 +25,7 @@ most of the changes, significant and far-reaching though they may be,
are aimed at cleaning up irregularities and dark corners of the
language design.
This article doesn't attempt to provide a complete specification
for
This article doesn't attempt to provide a complete specification
of
the new features, but instead provides a convenient overview. For
full details, you should refer to the documentation for Python 2.2,
such as the
...
...
@@ -38,8 +38,17 @@ Reference Manual}.
If you want to understand the complete implementation and design
rationale for a change, refer to the PEP for a particular new feature.
The final release of Python 2.2 is planned for October 2001.
\begin{seealso}
\url
{
http://www.unixreview.com/documents/s=1356/urm0109h/0109h.htm
}
{
``What's So Special About Python 2.2?'' is also about the new 2.2
features, and was written by Cameron Laird and Kathryn Soraiz.
}
\end{seealso}
%======================================================================
\section
{
PEP 252: Type and Class Changes
}
...
...
@@ -912,7 +921,7 @@ to experiment with these modules can uncomment them manually.
\item
The
\function
{
pow()
}
built-in function no longer supports 3
arguments when floating-point numbers are supplied.
\code
{
pow(
\var
{
x
}
,
\var
{
y
}
,
\var
{
z
}
)
}
returns
\code
{
(x**y)
% z}, but
\code
{
pow(
\var
{
x
}
,
\var
{
y
}
,
\var
{
z
}
)
}
returns
\code
{
(x**y)
\
%
z
}
, but
this is never useful for floating point numbers, and the final
result varies unpredictably depending on the platform. A call such
as
\code
{
pow(2.0, 8.0, 7.0)
}
will now raise a
\exception
{
TypeError
}
...
...
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