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
c5891242
Kaydet (Commit)
c5891242
authored
Şub 09, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use the new RFC macros wherever RFCs are referenced by number. No other
changes.
üst
b16166e5
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
56 additions
and
58 deletions
+56
-58
libbase64.tex
Doc/lib/libbase64.tex
+2
-2
libftplib.tex
Doc/lib/libftplib.tex
+2
-3
libhtmllib.tex
Doc/lib/libhtmllib.tex
+2
-1
libhttplib.tex
Doc/lib/libhttplib.tex
+1
-1
libmailcap.tex
Doc/lib/libmailcap.tex
+6
-4
libmd5.tex
Doc/lib/libmd5.tex
+2
-1
libnntplib.tex
Doc/lib/libnntplib.tex
+2
-2
libquopri.tex
Doc/lib/libquopri.tex
+1
-2
librfc822.tex
Doc/lib/librfc822.tex
+4
-5
liburlparse.tex
Doc/lib/liburlparse.tex
+2
-3
libwww.tex
Doc/lib/libwww.tex
+3
-3
libxdrlib.tex
Doc/lib/libxdrlib.tex
+1
-2
libbase64.tex
Doc/libbase64.tex
+2
-2
libftplib.tex
Doc/libftplib.tex
+2
-3
libhtmllib.tex
Doc/libhtmllib.tex
+2
-1
libhttplib.tex
Doc/libhttplib.tex
+1
-1
libmailcap.tex
Doc/libmailcap.tex
+6
-4
libmd5.tex
Doc/libmd5.tex
+2
-1
libnntplib.tex
Doc/libnntplib.tex
+2
-2
libquopri.tex
Doc/libquopri.tex
+1
-2
librfc822.tex
Doc/librfc822.tex
+4
-5
liburlparse.tex
Doc/liburlparse.tex
+2
-3
libwww.tex
Doc/libwww.tex
+3
-3
libxdrlib.tex
Doc/libxdrlib.tex
+1
-2
No files found.
Doc/lib/libbase64.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -2,12 +2,12 @@
\label
{
module-base64
}
\stmodindex
{
base64
}
\indexii
{
base-64
}{
encoding
}
\
index
{
RFC!
1421
}
\
rfcindex
{
1421
}
\index
{
MIME!base 64 encoding
}
This module perform base-64 encoding and decoding of arbitrary binary
strings into text strings that can be safely emailed or posted. The
encoding scheme is defined in
RFC 1421
and is used for MIME email and
encoding scheme is defined in
\rfc
{
1421
}
and is used for MIME email and
various other Internet-related applications; it is not the same as the
output produced by the
\file
{
uuencode
}
program. For example, the
string
\code
{
'www.python.org'
}
is encoded as the string
...
...
Doc/lib/libftplib.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -2,7 +2,7 @@
\label
{
module-ftplib
}
\stmodindex
{
ftplib
}
\indexii
{
FTP
}{
protocol
}
\
index
{
RFC!
959
}
\
rfcindex
{
959
}
\renewcommand
{
\indexsubitem
}{
(in module ftplib)
}
...
...
@@ -11,8 +11,7 @@ This module defines the class \code{FTP} and a few related items. The
can use this to write Python programs that perform a variety of
automated FTP jobs, such as mirroring other ftp servers. It is also
used by the module
\code
{
urllib
}
to handle URLs that use FTP. For
more information on FTP (File Transfer Protocol), see Internet RFC
959.
more information on FTP (File Transfer Protocol), see Internet
\rfc
{
959
}
.
Here's a sample session using the
\code
{
ftplib
}
module:
...
...
Doc/lib/libhtmllib.tex
Dosyayı görüntüle @
c5891242
\section
{
Standard Module
\sectcode
{
htmllib
}}
\label
{
module-htmllib
}
\stmodindex
{
htmllib
}
\rfcindex
{
1866
}
\index
{
HTML
}
\index
{
hypertext
}
...
...
@@ -63,7 +64,7 @@ The module defines a single class:
\begin{funcdesc}
{
HTMLParser
}{
formatter
}
This is the basic HTML parser class. It supports all entity names
required by the HTML 2.0 specification (
RFC 1866
). It also defines
required by the HTML 2.0 specification (
\rfc
{
1866
}
). It also defines
handlers for all HTML 2.0 and many HTML 3.0 and 3.2 elements.
\end{funcdesc}
...
...
Doc/lib/libhttplib.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -79,7 +79,7 @@ been made. It sends a line to the server consisting of the
\end{funcdesc}
\begin{funcdesc}
{
putheader
}{
header
\,
argument
\optional
{
\,
...
}}
Send an
RFC-822
style header to the server. It sends a line to the
Send an
\rfc
{
822
}
style header to the server. It sends a line to the
server consisting of the header, a colon and a space, and the first
argument. If more arguments are given, continuation lines are sent,
each consisting of a tab and an argument.
...
...
Doc/lib/libmailcap.tex
Dosyayı görüntüle @
c5891242
\section
{
Standard Module
\sectcode
{
mailcap
}}
\label
{
module-mailcap
}
\rfcindex
{
1524
}
\stmodindex
{
mailcap
}
\renewcommand
{
\indexsubitem
}{
(in module mailcap)
}
...
...
@@ -12,7 +13,7 @@ message or Web document with the MIME type video/mpeg, \code{\%s} will be
replaced by a filename (usually one belonging to a temporary file) and
the xmpeg program can be automatically started to view the file.
The mailcap format is documented in
RFC 1524
, ``A User Agent
The mailcap format is documented in
\rfc
{
1524
}
, ``A User Agent
Configuration Mechanism For Multimedia Mail Format Information'', but
is not an Internet standard. However, mailcap files are supported on
most
\UNIX
{}
systems.
...
...
@@ -24,12 +25,13 @@ line to be executed
the mailcap entry for a given MIME type. If no matching MIME
type can be found,
\code
{
(None, None)
}
is returned.
\var
{
key
}
is the name of the field desired, which represents the type
of
activity to be performed; the default value is 'view', since in the
\var
{
key
}
is the name of the field desired, which represents the type
of activity to be performed; the default value is 'view', since in the
most common case you simply want to view the body of the MIME-typed
data. Other possible values might be 'compose' and 'edit', if you
wanted to create a new body of the given MIME type or alter the
existing body data. See RFC1524 for a complete list of these fields.
existing body data. See
\rfc
{
1524
}
for a complete list of these
fields.
\var
{
filename
}
is the filename to be substituted for
\%
s in the
command line; the default value is
...
...
Doc/lib/libmd5.tex
Dosyayı görüntüle @
c5891242
\section
{
Built-in Module
\sectcode
{
md5
}}
\label
{
module-md5
}
\rfcindex
{
1321
}
\bimodindex
{
md5
}
This module implements the interface to RSA's MD5 message digest
algorithm (see also Internet
RFC 1321
). Its use is quite
algorithm (see also Internet
\rfc
{
1321
}
). Its use is quite
straightforward:
\
use the
\code
{
md5.new()
}
to create an md5 object.
You can now feed this object with arbitrary strings using the
\code
{
update()
}
method, and at any point you can ask it for the
...
...
Doc/lib/libnntplib.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -2,14 +2,14 @@
\label
{
module-nntplib
}
\stmodindex
{
nntplib
}
\indexii
{
NNTP
}{
protocol
}
\
index
{
RFC!
977
}
\
rfcindex
{
977
}
\renewcommand
{
\indexsubitem
}{
(in module nntplib)
}
This module defines the class
\code
{
NNTP
}
which implements the client
side of the NNTP protocol. It can be used to implement a news reader
or poster, or automated news processors. For more information on NNTP
(Network News Transfer Protocol), see Internet
RFC 977
.
(Network News Transfer Protocol), see Internet
\rfc
{
977
}
.
Here are two small examples of how it can be used. To list some
statistics about a newsgroup and print the subjects of the last 10
...
...
Doc/lib/libquopri.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -3,13 +3,12 @@
\stmodindex
{
quopri
}
This module performs quoted-printable transport encoding and decoding,
as defined in
RFC 1521
: ``MIME (Multipurpose Internet Mail Extensions)
as defined in
\rfc
{
1521
}
: ``MIME (Multipurpose Internet Mail Extensions)
Part One''. The quoted-printable encoding is designed for data where
there are relatively few nonprintable characters; the base-64 encoding
scheme available via the
\code
{
base64
}
module is more compact if there
are many such characters, as when sending a graphics file.
\indexii
{
quoted printable
}{
encoding
}
\indexii
{
RFC
}{
1521
}
\index
{
MIME!quoted-printable encoding
}
\renewcommand
{
\indexsubitem
}{
(in module quopri)
}
...
...
Doc/lib/librfc822.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -6,9 +6,8 @@
This module defines a class,
\code
{
Message
}
, which represents a
collection of ``email headers'' as defined by the Internet standard
RFC 822. It is used in various contexts, usually to read such headers
from a file.
\index
{
RFC!822
}
\rfc
{
822
}
. It is used in various contexts, usually to read such
headers from a file.
Note that there's a separate module to read
\UNIX
{}
, MH, and MMDF
style mailbox files:
\code
{
mailbox
}
.
...
...
@@ -30,10 +29,10 @@ e.g. \code{m['From']}, \code{m['from']} and \code{m['FROM']} all yield
the same result.
\begin{funcdesc}
{
parsedate
}{
date
}
Attempts to parse a date according to the rules in
RFC822
. however,
Attempts to parse a date according to the rules in
\rfc
{
822
}
. however,
some mailers don't follow that format as specified, so
\code
{
parsedate()
}
tries to guess correctly in such cases.
\var
{
date
}
is a string containing an
RFC822
date, such as
\var
{
date
}
is a string containing an
\rfc
{
822
}
date, such as
\code
{
"Mon, 20 Nov 1995 19:12:08 -0500"
}
. If it succeeds in parsing
the date,
\code
{
parsedate()
}
returns a 9-tuple that can be passed
directly to
\code
{
time.mktime()
}
; otherwise
\code
{
None
}
will be
...
...
Doc/lib/liburlparse.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -16,9 +16,8 @@ URL'' to an absolute URL given a ``base URL''.
The module has been designed to match the Internet RFC on Relative
Uniform Resource Locators (and discovered a bug in an earlier
draft!). Refer to RFC 1808
\index
{
RFC!1808
}
for details on relative
URLs and RFC 1738
\index
{
RFC!1738
}
for information on basic URL
syntax.
draft!). Refer to
\rfc
{
1808
}
for details on relative
URLs and
\rfc
{
1738
}
for information on basic URL syntax.
It defines the following functions:
...
...
Doc/lib/libwww.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -49,7 +49,7 @@ location, path, parameters, query string, fragment identifier).
--- Generic output formatter and device interface.
\item
[rfc822]
--- Parse
RFC-822
style mail headers.
--- Parse
\rfc
{
822
}
style mail headers.
\item
[mimetools]
--- Tools for parsing MIME style message bodies.
...
...
@@ -65,11 +65,11 @@ location, path, parameters, query string, fragment identifier).
representation
\item
[xdrlib]
--- The External Data Representation Standard as described in
RFC 1014
,
--- The External Data Representation Standard as described in
\rfc
{
1014
}
,
written by Sun Microsystems, Inc. June 1987.
\item
[mailcap]
--- Mailcap file handling. See
RFC 1524
.
--- Mailcap file handling. See
\rfc
{
1524
}
.
\item
[base64]
--- Encode/decode binary files using the MIME base64 encoding.
...
...
Doc/lib/libxdrlib.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -3,13 +3,12 @@
\stmodindex
{
xdrlib
}
\index
{
XDR
}
\index
{
External Data Representation
}
\index
{
RFC!1014
}
\renewcommand
{
\indexsubitem
}{
(in module xdrlib)
}
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
RFC.
...
...
Doc/libbase64.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -2,12 +2,12 @@
\label
{
module-base64
}
\stmodindex
{
base64
}
\indexii
{
base-64
}{
encoding
}
\
index
{
RFC!
1421
}
\
rfcindex
{
1421
}
\index
{
MIME!base 64 encoding
}
This module perform base-64 encoding and decoding of arbitrary binary
strings into text strings that can be safely emailed or posted. The
encoding scheme is defined in
RFC 1421
and is used for MIME email and
encoding scheme is defined in
\rfc
{
1421
}
and is used for MIME email and
various other Internet-related applications; it is not the same as the
output produced by the
\file
{
uuencode
}
program. For example, the
string
\code
{
'www.python.org'
}
is encoded as the string
...
...
Doc/libftplib.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -2,7 +2,7 @@
\label
{
module-ftplib
}
\stmodindex
{
ftplib
}
\indexii
{
FTP
}{
protocol
}
\
index
{
RFC!
959
}
\
rfcindex
{
959
}
\renewcommand
{
\indexsubitem
}{
(in module ftplib)
}
...
...
@@ -11,8 +11,7 @@ This module defines the class \code{FTP} and a few related items. The
can use this to write Python programs that perform a variety of
automated FTP jobs, such as mirroring other ftp servers. It is also
used by the module
\code
{
urllib
}
to handle URLs that use FTP. For
more information on FTP (File Transfer Protocol), see Internet RFC
959.
more information on FTP (File Transfer Protocol), see Internet
\rfc
{
959
}
.
Here's a sample session using the
\code
{
ftplib
}
module:
...
...
Doc/libhtmllib.tex
Dosyayı görüntüle @
c5891242
\section
{
Standard Module
\sectcode
{
htmllib
}}
\label
{
module-htmllib
}
\stmodindex
{
htmllib
}
\rfcindex
{
1866
}
\index
{
HTML
}
\index
{
hypertext
}
...
...
@@ -63,7 +64,7 @@ The module defines a single class:
\begin{funcdesc}
{
HTMLParser
}{
formatter
}
This is the basic HTML parser class. It supports all entity names
required by the HTML 2.0 specification (
RFC 1866
). It also defines
required by the HTML 2.0 specification (
\rfc
{
1866
}
). It also defines
handlers for all HTML 2.0 and many HTML 3.0 and 3.2 elements.
\end{funcdesc}
...
...
Doc/libhttplib.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -79,7 +79,7 @@ been made. It sends a line to the server consisting of the
\end{funcdesc}
\begin{funcdesc}
{
putheader
}{
header
\,
argument
\optional
{
\,
...
}}
Send an
RFC-822
style header to the server. It sends a line to the
Send an
\rfc
{
822
}
style header to the server. It sends a line to the
server consisting of the header, a colon and a space, and the first
argument. If more arguments are given, continuation lines are sent,
each consisting of a tab and an argument.
...
...
Doc/libmailcap.tex
Dosyayı görüntüle @
c5891242
\section
{
Standard Module
\sectcode
{
mailcap
}}
\label
{
module-mailcap
}
\rfcindex
{
1524
}
\stmodindex
{
mailcap
}
\renewcommand
{
\indexsubitem
}{
(in module mailcap)
}
...
...
@@ -12,7 +13,7 @@ message or Web document with the MIME type video/mpeg, \code{\%s} will be
replaced by a filename (usually one belonging to a temporary file) and
the xmpeg program can be automatically started to view the file.
The mailcap format is documented in
RFC 1524
, ``A User Agent
The mailcap format is documented in
\rfc
{
1524
}
, ``A User Agent
Configuration Mechanism For Multimedia Mail Format Information'', but
is not an Internet standard. However, mailcap files are supported on
most
\UNIX
{}
systems.
...
...
@@ -24,12 +25,13 @@ line to be executed
the mailcap entry for a given MIME type. If no matching MIME
type can be found,
\code
{
(None, None)
}
is returned.
\var
{
key
}
is the name of the field desired, which represents the type
of
activity to be performed; the default value is 'view', since in the
\var
{
key
}
is the name of the field desired, which represents the type
of activity to be performed; the default value is 'view', since in the
most common case you simply want to view the body of the MIME-typed
data. Other possible values might be 'compose' and 'edit', if you
wanted to create a new body of the given MIME type or alter the
existing body data. See RFC1524 for a complete list of these fields.
existing body data. See
\rfc
{
1524
}
for a complete list of these
fields.
\var
{
filename
}
is the filename to be substituted for
\%
s in the
command line; the default value is
...
...
Doc/libmd5.tex
Dosyayı görüntüle @
c5891242
\section
{
Built-in Module
\sectcode
{
md5
}}
\label
{
module-md5
}
\rfcindex
{
1321
}
\bimodindex
{
md5
}
This module implements the interface to RSA's MD5 message digest
algorithm (see also Internet
RFC 1321
). Its use is quite
algorithm (see also Internet
\rfc
{
1321
}
). Its use is quite
straightforward:
\
use the
\code
{
md5.new()
}
to create an md5 object.
You can now feed this object with arbitrary strings using the
\code
{
update()
}
method, and at any point you can ask it for the
...
...
Doc/libnntplib.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -2,14 +2,14 @@
\label
{
module-nntplib
}
\stmodindex
{
nntplib
}
\indexii
{
NNTP
}{
protocol
}
\
index
{
RFC!
977
}
\
rfcindex
{
977
}
\renewcommand
{
\indexsubitem
}{
(in module nntplib)
}
This module defines the class
\code
{
NNTP
}
which implements the client
side of the NNTP protocol. It can be used to implement a news reader
or poster, or automated news processors. For more information on NNTP
(Network News Transfer Protocol), see Internet
RFC 977
.
(Network News Transfer Protocol), see Internet
\rfc
{
977
}
.
Here are two small examples of how it can be used. To list some
statistics about a newsgroup and print the subjects of the last 10
...
...
Doc/libquopri.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -3,13 +3,12 @@
\stmodindex
{
quopri
}
This module performs quoted-printable transport encoding and decoding,
as defined in
RFC 1521
: ``MIME (Multipurpose Internet Mail Extensions)
as defined in
\rfc
{
1521
}
: ``MIME (Multipurpose Internet Mail Extensions)
Part One''. The quoted-printable encoding is designed for data where
there are relatively few nonprintable characters; the base-64 encoding
scheme available via the
\code
{
base64
}
module is more compact if there
are many such characters, as when sending a graphics file.
\indexii
{
quoted printable
}{
encoding
}
\indexii
{
RFC
}{
1521
}
\index
{
MIME!quoted-printable encoding
}
\renewcommand
{
\indexsubitem
}{
(in module quopri)
}
...
...
Doc/librfc822.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -6,9 +6,8 @@
This module defines a class,
\code
{
Message
}
, which represents a
collection of ``email headers'' as defined by the Internet standard
RFC 822. It is used in various contexts, usually to read such headers
from a file.
\index
{
RFC!822
}
\rfc
{
822
}
. It is used in various contexts, usually to read such
headers from a file.
Note that there's a separate module to read
\UNIX
{}
, MH, and MMDF
style mailbox files:
\code
{
mailbox
}
.
...
...
@@ -30,10 +29,10 @@ e.g. \code{m['From']}, \code{m['from']} and \code{m['FROM']} all yield
the same result.
\begin{funcdesc}
{
parsedate
}{
date
}
Attempts to parse a date according to the rules in
RFC822
. however,
Attempts to parse a date according to the rules in
\rfc
{
822
}
. however,
some mailers don't follow that format as specified, so
\code
{
parsedate()
}
tries to guess correctly in such cases.
\var
{
date
}
is a string containing an
RFC822
date, such as
\var
{
date
}
is a string containing an
\rfc
{
822
}
date, such as
\code
{
"Mon, 20 Nov 1995 19:12:08 -0500"
}
. If it succeeds in parsing
the date,
\code
{
parsedate()
}
returns a 9-tuple that can be passed
directly to
\code
{
time.mktime()
}
; otherwise
\code
{
None
}
will be
...
...
Doc/liburlparse.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -16,9 +16,8 @@ URL'' to an absolute URL given a ``base URL''.
The module has been designed to match the Internet RFC on Relative
Uniform Resource Locators (and discovered a bug in an earlier
draft!). Refer to RFC 1808
\index
{
RFC!1808
}
for details on relative
URLs and RFC 1738
\index
{
RFC!1738
}
for information on basic URL
syntax.
draft!). Refer to
\rfc
{
1808
}
for details on relative
URLs and
\rfc
{
1738
}
for information on basic URL syntax.
It defines the following functions:
...
...
Doc/libwww.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -49,7 +49,7 @@ location, path, parameters, query string, fragment identifier).
--- Generic output formatter and device interface.
\item
[rfc822]
--- Parse
RFC-822
style mail headers.
--- Parse
\rfc
{
822
}
style mail headers.
\item
[mimetools]
--- Tools for parsing MIME style message bodies.
...
...
@@ -65,11 +65,11 @@ location, path, parameters, query string, fragment identifier).
representation
\item
[xdrlib]
--- The External Data Representation Standard as described in
RFC 1014
,
--- The External Data Representation Standard as described in
\rfc
{
1014
}
,
written by Sun Microsystems, Inc. June 1987.
\item
[mailcap]
--- Mailcap file handling. See
RFC 1524
.
--- Mailcap file handling. See
\rfc
{
1524
}
.
\item
[base64]
--- Encode/decode binary files using the MIME base64 encoding.
...
...
Doc/libxdrlib.tex
Dosyayı görüntüle @
c5891242
...
...
@@ -3,13 +3,12 @@
\stmodindex
{
xdrlib
}
\index
{
XDR
}
\index
{
External Data Representation
}
\index
{
RFC!1014
}
\renewcommand
{
\indexsubitem
}{
(in module xdrlib)
}
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
RFC.
...
...
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