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
ae18e9fc
Kaydet (Commit)
ae18e9fc
authored
Eki 24, 1997
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed obsolete discussion on _xdr helper module.
üst
31626bce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
42 deletions
+2
-42
libxdrlib.tex
Doc/lib/libxdrlib.tex
+1
-21
libxdrlib.tex
Doc/libxdrlib.tex
+1
-21
No files found.
Doc/lib/libxdrlib.tex
Dosyayı görüntüle @
ae18e9fc
...
@@ -9,9 +9,7 @@
...
@@ -9,9 +9,7 @@
The
\code
{
xdrlib
}
module supports the External Data Representation
The
\code
{
xdrlib
}
module supports the External Data Representation
Standard as described in RFC 1014, written by Sun Microsystems,
Standard as described in RFC 1014, written by Sun Microsystems,
Inc. June 1987. It supports most of the data types described in the
Inc. June 1987. It supports most of the data types described in the
RFC, although some, most notably
\code
{
float
}
and
\code
{
double
}
are
RFC.
only supported on those operating systems that provide an XDR
library.
The
\code
{
xdrlib
}
module defines two classes, one for packing
The
\code
{
xdrlib
}
module defines two classes, one for packing
variables into XDR representation, and another for unpacking from XDR
variables into XDR representation, and another for unpacking from XDR
...
@@ -230,21 +228,3 @@ try:
...
@@ -230,21 +228,3 @@ try:
except xdrlib.ConversionError, instance:
except xdrlib.ConversionError, instance:
print 'packing the double failed:', instance.msg
print 'packing the double failed:', instance.msg
\end{verbatim}
\ecode
\end{verbatim}
\ecode
%
\subsection
{
Supporting Floating Point Data
}
Packing and unpacking floating point data,
i.e.
\code
{
Packer.pack
_
float
}
,
\code
{
Packer.pack
_
double
}
,
\code
{
Unpacker.unpack
_
float
}
, and
\code
{
Unpacker.unpack
_
double
}
, are
only supported with the helper built-in
\code
{_
xdr
}
module, which
relies on your operating system having the appropriate XDR library
routines.
If you have built the Python interpeter with the
\code
{_
xdr
}
module,
or have built the
\code
{_
xdr
}
module as a shared library,
\code
{
xdrlib
}
will use these to pack and unpack floating point
numbers. Otherwise, using these routines will raise a
\code
{
ConversionError
}
exception.
See the Python installation instructions for details on building the
\code
{_
xdr
}
module.
Doc/libxdrlib.tex
Dosyayı görüntüle @
ae18e9fc
...
@@ -9,9 +9,7 @@
...
@@ -9,9 +9,7 @@
The
\code
{
xdrlib
}
module supports the External Data Representation
The
\code
{
xdrlib
}
module supports the External Data Representation
Standard as described in RFC 1014, written by Sun Microsystems,
Standard as described in RFC 1014, written by Sun Microsystems,
Inc. June 1987. It supports most of the data types described in the
Inc. June 1987. It supports most of the data types described in the
RFC, although some, most notably
\code
{
float
}
and
\code
{
double
}
are
RFC.
only supported on those operating systems that provide an XDR
library.
The
\code
{
xdrlib
}
module defines two classes, one for packing
The
\code
{
xdrlib
}
module defines two classes, one for packing
variables into XDR representation, and another for unpacking from XDR
variables into XDR representation, and another for unpacking from XDR
...
@@ -230,21 +228,3 @@ try:
...
@@ -230,21 +228,3 @@ try:
except xdrlib.ConversionError, instance:
except xdrlib.ConversionError, instance:
print 'packing the double failed:', instance.msg
print 'packing the double failed:', instance.msg
\end{verbatim}
\ecode
\end{verbatim}
\ecode
%
\subsection
{
Supporting Floating Point Data
}
Packing and unpacking floating point data,
i.e.
\code
{
Packer.pack
_
float
}
,
\code
{
Packer.pack
_
double
}
,
\code
{
Unpacker.unpack
_
float
}
, and
\code
{
Unpacker.unpack
_
double
}
, are
only supported with the helper built-in
\code
{_
xdr
}
module, which
relies on your operating system having the appropriate XDR library
routines.
If you have built the Python interpeter with the
\code
{_
xdr
}
module,
or have built the
\code
{_
xdr
}
module as a shared library,
\code
{
xdrlib
}
will use these to pack and unpack floating point
numbers. Otherwise, using these routines will raise a
\code
{
ConversionError
}
exception.
See the Python installation instructions for details on building the
\code
{_
xdr
}
module.
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