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
e91114cb
Commit
e91114cb
authored
Aug 07, 2001
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document two new items
Correct error noticed by Keith Briggs Re-indent a paragraph
parent
aa503dc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
Doc/whatsnew/whatsnew22.tex
Doc/whatsnew/whatsnew22.tex
+21
-9
No files found.
Doc/whatsnew/whatsnew22.tex
View file @
e91114cb
...
@@ -69,7 +69,7 @@ something like this:
...
@@ -69,7 +69,7 @@ something like this:
\method
{__
getitem
__
()
}
is more properly used to define an indexing
\method
{__
getitem
__
()
}
is more properly used to define an indexing
operation on an object so that you can write
\code
{
obj[5]
}
to retrieve
operation on an object so that you can write
\code
{
obj[5]
}
to retrieve
the
fif
th element. It's a bit misleading when you're using this only
the
six
th element. It's a bit misleading when you're using this only
to support
\keyword
{
for
}
loops. Consider some file-like object that
to support
\keyword
{
for
}
loops. Consider some file-like object that
wants to be looped over; the
\var
{
index
}
parameter is essentially
wants to be looped over; the
\var
{
index
}
parameter is essentially
meaningless, as the class probably assumes that a series of
meaningless, as the class probably assumes that a series of
...
@@ -510,11 +510,11 @@ Jeremy Hylton.}
...
@@ -510,11 +510,11 @@ Jeremy Hylton.}
\begin{itemize}
\begin{itemize}
\item
The
\module
{
xmlrpclib
}
module was contributed to the standard
\item
The
\module
{
xmlrpclib
}
module was contributed to the standard
library by Fredrik Lundh. It provides support for writing XML-RPC
library by Fredrik Lundh. It provides support for writing XML-RPC
clients; XML-RPC is a simple remote procedure call protocol built on
clients; XML-RPC is a simple remote procedure call protocol built on
top of HTTP and XML. For example, the following snippet retrieves a
top of HTTP and XML. For example, the following snippet retrieves a
list of RSS channels from the O'Reilly Network, and then retrieves a
list of RSS channels from the O'Reilly Network, and then retrieves a
list of the recent headlines for one channel:
list of the recent headlines for one channel:
\begin{verbatim}
\begin{verbatim}
import xmlrpclib
import xmlrpclib
...
@@ -585,6 +585,11 @@ See \url{http://www.xmlrpc.com/} for more information about XML-RPC.
...
@@ -585,6 +585,11 @@ See \url{http://www.xmlrpc.com/} for more information about XML-RPC.
modules have all been fixed to use
\constant
{
ascii
_
letters
}
instead.
modules have all been fixed to use
\constant
{
ascii
_
letters
}
instead.
(Reported by an unknown person; fixed by Fred L. Drake, Jr.)
(Reported by an unknown person; fixed by Fred L. Drake, Jr.)
\item
The
\module
{
mimetypes
}
module now makes it easier to use
alternative MIME-type databases by the addition of a
\class
{
MimeTypes
}
class, which takes a list of filenames to be
parsed. (Contributed by Fred L. Drake, Jr.)
\end{itemize}
\end{itemize}
...
@@ -701,12 +706,19 @@ changes are:
...
@@ -701,12 +706,19 @@ changes are:
\item
On Windows, Python can now be compiled with Borland C thanks
\item
On Windows, Python can now be compiled with Borland C thanks
to a number of patches contributed by Stephen Hansen.
to a number of patches contributed by Stephen Hansen.
\item
Another Windows enhancement: Wise Solutions generously offered
\item
Another Windows enhancement: Wise Solutions generously offered
PythonLabs use of their InstallerMaster 8.1 system. Earlier
PythonLabs use of their InstallerMaster 8.1 system. Earlier
PythonLabs Windows installers used Wise 5.0a, which was beginning to
PythonLabs Windows installers used Wise 5.0a, which was beginning to
show its age. (Packaged up by Tim Peters.)
show its age. (Packaged up by Tim Peters.)
\item
Files ending in
\samp
{
.pyw
}
can now be imported on Windows.
\samp
{
.pyw
}
is a Windows-only thing, used to indicate that a script
needs to be run using PYTHONW.EXE instead of PYTHON.EXE in order to
prevent a DOS console from popping up to display the output. This
patch makes it possible to import such scripts, in case they're also
usable as modules. (Implemented by David Bolen.)
\item
On platforms where Python uses the C
\cfunction
{
dlopen()
}
function
\item
On platforms where Python uses the C
\cfunction
{
dlopen()
}
function
to load extension modules, it's now possible to set the flags used
to load extension modules, it's now possible to set the flags used
by
\cfunction
{
dlopen()
}
using the
\function
{
sys.getdlopenflags()
}
and
by
\cfunction
{
dlopen()
}
using the
\function
{
sys.getdlopenflags()
}
and
...
@@ -720,7 +732,7 @@ changes are:
...
@@ -720,7 +732,7 @@ changes are:
The author would like to thank the following people for offering
The author would like to thank the following people for offering
suggestions and corrections to various drafts of this article: Fred
suggestions and corrections to various drafts of this article: Fred
Bremmer,
Fred L. Drake, Jr., Mark Hammond, Marc-Andr
\'
e Lemburg,
Bremmer,
Keith Briggs, Fred L. Drake, Jr., Mark Hammond, Marc-Andr
\'
e
Tim Peters, Neil Schemenauer, Guido van Rossum.
Lemburg, Tim Peters, Neil Schemenauer, Guido van Rossum.
\end{document}
\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