Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc5e3cc

Browse files
committed
Use personal e-mail address; update date; various small edits; add a name to acks
1 parent 69371d6 commit bc5e3cc

1 file changed

Lines changed: 18 additions & 14 deletions

File tree

Doc/whatsnew/whatsnew23.tex

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
\title{What's New in Python 2.3}
55
\release{0.03}
66
\author{A.M. Kuchling}
7-
\authoraddress{\email{[email protected]}}
7+
\authoraddress{\email{[email protected]}}
88

99
\begin{document}
1010
\maketitle
@@ -19,7 +19,7 @@
1919
%\section{Introduction \label{intro}}
2020

2121
{\large This article is a draft, and is currently up to date for some
22-
random version of the CVS tree around mid-July 2002. Please send any
22+
random version of the CVS tree from early November 2002. Please send any
2323
additions, comments or errata to the author.}
2424

2525
This article explains the new features in Python 2.3. The tentative
@@ -1072,29 +1072,32 @@ \section{New and Improved Modules}
10721072
particular encoding, by specifying an optional encoding argument to
10731073
the \method{toxml()} and \method{toprettyxml()} methods of DOM nodes.
10741074

1075-
\item The \function{stat} family of functions can now report fractions
1076-
of a second in a time stamp. Similar to \function{time.time}, such
1077-
time stamps are represented as floats.
1075+
\item The \function{*stat()} family of functions can now report
1076+
fractions of a second in a timestamp. Such time stamps are
1077+
represented as floats, similar to \function{time.time()}.
10781078

1079-
During testing, it was found that some applications break if time
1080-
stamps are floats. For compatibility, when using the tuple interface
1079+
During testing, it was found that some applications will break if time
1080+
stamps are floats. For compatibility, when using the tuple interface
10811081
of the \class{stat_result}, time stamps are represented as integers.
1082-
When using named fields (first introduced in Python 2.2), time stamps
1083-
are still represented as ints, unless \function{os.stat_float_times}
1084-
is invoked:
1082+
When using named fields (a feature first introduced in Python 2.2),
1083+
time stamps are still represented as ints, unless
1084+
\function{os.stat_float_times()} is invoked to enable float return
1085+
values:
10851086

10861087
\begin{verbatim}
1088+
>>> os.stat("/tmp").st_mtime
1089+
1034791200
10871090
>>> os.stat_float_times(True)
10881091
>>> os.stat("/tmp").st_mtime
10891092
1034791200.6335014
10901093
\end{verbatim}
10911094

1092-
In Python 2.4, the default will change to return floats.
1095+
In Python 2.4, the default will change to always returning floats.
10931096

10941097
Application developers should use this feature only if all their
10951098
libraries work properly when confronted with floating point time
1096-
stamps (or use the tuple API). If used, the feature should be
1097-
activated on application level, instead of trying to activate it on a
1099+
stamps, or if they use the tuple API. If used, the feature should be
1100+
activated on an application level instead of trying to enable it on a
10981101
per-use basis.
10991102

11001103
\end{itemize}
@@ -1345,6 +1348,7 @@ \section{Acknowledgements \label{acks}}
13451348
suggestions, corrections and assistance with various drafts of this
13461349
article: Simon Brunning, Michael Chermside, Scott David Daniels, Fred~L. Drake, Jr.,
13471350
Michael Hudson, Detlef Lannert, Martin von L\"owis, Andrew MacIntyre,
1348-
Lalo Martins, Gustavo Niemeyer, Neal Norwitz, Jason Tishler.
1351+
Lalo Martins, Gustavo Niemeyer, Neal Norwitz, Neil Schemenauer, Jason
1352+
Tishler.
13491353

13501354
\end{document}

0 commit comments

Comments
 (0)