Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
bc5e3cc3
Kaydet (Commit)
bc5e3cc3
authored
Kas 05, 2002
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use personal e-mail address; update date; various small edits; add a name to acks
üst
69371d65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
whatsnew23.tex
Doc/whatsnew/whatsnew23.tex
+18
-14
No files found.
Doc/whatsnew/whatsnew23.tex
Dosyayı görüntüle @
bc5e3cc3
...
...
@@ -4,7 +4,7 @@
\title
{
What's New in Python 2.3
}
\release
{
0.03
}
\author
{
A.M. Kuchling
}
\authoraddress
{
\email
{
a
kuchlin@mems-exchange.org
}}
\authoraddress
{
\email
{
a
mk@amk.ca
}}
\begin{document}
\maketitle
...
...
@@ -19,7 +19,7 @@
%\section{Introduction \label{intro}}
{
\large
This article is a draft, and is currently up to date for some
random version of the CVS tree
around mid-July
2002. Please send any
random version of the CVS tree
from early November
2002. Please send any
additions, comments or errata to the author.
}
This article explains the new features in Python 2.3. The tentative
...
...
@@ -1072,29 +1072,32 @@ in \module{xml.dom.minidom} can now generate XML output in a
particular encoding, by specifying an optional encoding argument to
the
\method
{
toxml()
}
and
\method
{
toprettyxml()
}
methods of DOM nodes.
\item
The
\function
{
stat
}
family of functions can now report fractions
of a second in a time stamp. Similar to
\function
{
time.time
}
, such
time stamps are represented as floats
.
\item
The
\function
{
*stat()
}
family of functions can now report
fractions of a second in a timestamp. Such time stamps are
represented as floats, similar to
\function
{
time.time()
}
.
During testing, it was found that some applications break if time
stamps are floats. For compatibility, when using the tuple interface
During testing, it was found that some applications
will
break if time
stamps are floats.
For compatibility, when using the tuple interface
of the
\class
{
stat
_
result
}
, time stamps are represented as integers.
When using named fields (first introduced in Python 2.2), time stamps
are still represented as ints, unless
\function
{
os.stat
_
float
_
times
}
is invoked:
When using named fields (a feature first introduced in Python 2.2),
time stamps are still represented as ints, unless
\function
{
os.stat
_
float
_
times()
}
is invoked to enable float return
values:
\begin{verbatim}
>>> os.stat("/tmp").st
_
mtime
1034791200
>>> os.stat
_
float
_
times(True)
>>> os.stat("/tmp").st
_
mtime
1034791200.6335014
\end{verbatim}
In Python 2.4, the default will change to
return
floats.
In Python 2.4, the default will change to
always returning
floats.
Application developers should use this feature only if all their
libraries work properly when confronted with floating point time
stamps
(or use the tuple API)
. If used, the feature should be
activated on a
pplication level, instead of trying to activat
e it on a
stamps
, or if they use the tuple API
. If used, the feature should be
activated on a
n application level instead of trying to enabl
e it on a
per-use basis.
\end{itemize}
...
...
@@ -1345,6 +1348,7 @@ The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
article: Simon Brunning, Michael Chermside, Scott David Daniels, Fred~L. Drake, Jr.,
Michael Hudson, Detlef Lannert, Martin von L
\"
owis, Andrew MacIntyre,
Lalo Martins, Gustavo Niemeyer, Neal Norwitz, Jason Tishler.
Lalo Martins, Gustavo Niemeyer, Neal Norwitz, Neil Schemenauer, Jason
Tishler.
\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