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
30f76ffd
Commit
30f76ffd
authored
Jun 30, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update version numbering from 1.6 to 2.0.
parent
61b49b3d
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
16 additions
and
16 deletions
+16
-16
Doc/Makefile
Doc/Makefile
+1
-1
Doc/lib/libascii.tex
Doc/lib/libascii.tex
+1
-1
Doc/lib/libatexit.tex
Doc/lib/libatexit.tex
+1
-1
Doc/lib/libexcs.tex
Doc/lib/libexcs.tex
+3
-3
Doc/lib/libfuncs.tex
Doc/lib/libfuncs.tex
+2
-2
Doc/lib/libos.tex
Doc/lib/libos.tex
+1
-1
Doc/lib/libstdtypes.tex
Doc/lib/libstdtypes.tex
+1
-1
Doc/lib/libsys.tex
Doc/lib/libsys.tex
+3
-3
Doc/lib/libtempfile.tex
Doc/lib/libtempfile.tex
+1
-1
Doc/lib/libundoc.tex
Doc/lib/libundoc.tex
+1
-1
Doc/tut/tut.tex
Doc/tut/tut.tex
+1
-1
No files found.
Doc/Makefile
View file @
30f76ffd
...
...
@@ -61,7 +61,7 @@ TOOLSDIR= tools
# This is the *documentation* release, and is used to construct the file
# names of the downloadable tarballs.
RELEASE
=
1.6a2
RELEASE
=
2.0b1
# These must be declared phony since there
...
...
Doc/lib/libascii.tex
View file @
30f76ffd
...
...
@@ -7,7 +7,7 @@
\moduleauthor
{
Eric S. Raymond
}{
esr@thyrsus.com
}
\sectionauthor
{
Eric S. Raymond
}{
esr@thyrsus.com
}
\versionadded
{
1.6
}
\versionadded
{
2.0
}
The
\module
{
curses.ascii
}
module supplies name constants for
\ASCII
{}
characters and functions to test membership in various
...
...
Doc/lib/libatexit.tex
View file @
30f76ffd
...
...
@@ -6,7 +6,7 @@
\sectionauthor
{
Skip Montanaro
}{
skip@mojam.com
}
\modulesynopsis
{
Register and execute cleanup functions.
}
\versionadded
{
1.6
}
\versionadded
{
2.0
}
The
\module
{
atexit
}
module defines a single function to register
cleanup functions. Functions thus registered are automatically
...
...
Doc/lib/libexcs.tex
View file @
30f76ffd
...
...
@@ -298,13 +298,13 @@ For class exceptions, \function{str()} returns only the message.
Raised when a reference is made to a local variable in a function or
method, but no value has been bound to that variable. This is a
subclass of
\exception
{
NameError
}
.
\versionadded
{
1.6
}
\versionadded
{
2.0
}
\end{excdesc}
\begin{excdesc}
{
UnicodeError
}
Raised when a Unicode-related encoding or decoding error occurs. It
is a subclass of
\exception
{
ValueError
}
.
\versionadded
{
1.6
}
\versionadded
{
2.0
}
\end{excdesc}
\begin{excdesc}
{
ValueError
}
...
...
@@ -321,7 +321,7 @@ For class exceptions, \function{str()} returns only the message.
return values of the
\cfunction
{
GetLastError()
}
and
\cfunction
{
FormatMessage()
}
functions from the Windows Platform API.
This is a subclass of
\exception
{
OSError
}
.
\versionadded
{
1.6
}
\versionadded
{
2.0
}
\end{excdesc}
\begin{excdesc}
{
ZeroDivisionError
}
...
...
Doc/lib/libfuncs.tex
View file @
30f76ffd
...
...
@@ -669,7 +669,7 @@ integer \var{i}, e.g., \code{unichr(97)} returns the string
\code
{
u'a'
}
. This is the inverse of
\function
{
ord()
}
for Unicode
strings. The argument must be in the range [0..65535], inclusive.
\exception
{
ValueError
}
is raised otherwise.
\versionadded
{
1.6
}
\versionadded
{
2.0
}
\end{funcdesc}
\begin{funcdesc}
{
unicode
}{
string
\optional
{
, encoding='utf-8'
\optional
{
, errors='strict'
}}}
...
...
@@ -677,7 +677,7 @@ Decodes \var{string} using the codec for \var{encoding}. Error
handling is done according to
\var
{
errors
}
. The default behavior is
to decode UTF-8 in strict mode, meaning that encoding errors raise
\exception
{
ValueError
}
.
\versionadded
{
1.6
}
\versionadded
{
2.0
}
\end{funcdesc}
\begin{funcdesc}
{
vars
}{
\optional
{
object
}}
...
...
Doc/lib/libos.tex
View file @
30f76ffd
...
...
@@ -716,7 +716,7 @@ If \var{times} is \code{None}, then the file's access and modified
times are set to the current time. Otherwise,
\var
{
times
}
must be a
2-tuple of numbers, of the form
\code
{
(
\var
{
atime
}
,
\var
{
mtime
}
)
}
which is used to set the access and modified times, respectively.
\versionchanged
[added support for \code{None} for \var{times}]
{
1.6
}
\versionchanged
[added support for \code{None} for \var{times}]
{
2.0
}
Availability: Macintosh,
\UNIX
{}
, Windows.
\end{funcdesc}
...
...
Doc/lib/libstdtypes.tex
View file @
30f76ffd
...
...
@@ -496,7 +496,7 @@ Notes:
\begin{description}
\item
[(1)]
The C implementation of Python has historically accepted
multiple parameters and implicitly joined them into a tuple; this
will no longer work in Python 1.6
. Use of this misfeature has been
no longer works in Python 2.0
. Use of this misfeature has been
deprecated since Python 1.4.
\item
[(2)]
Raises an exception when
\var
{
x
}
is not a list object. The
...
...
Doc/lib/libsys.tex
View file @
30f76ffd
...
...
@@ -334,9 +334,9 @@ A tuple containing the five components of the version number:
\var
{
serial
}
. All values except
\var
{
releaselevel
}
are integers; the
release level is
\code
{
'alpha'
}
,
\code
{
'beta'
}
,
\code
{
'candidate'
}
, or
\code
{
'final'
}
. The
\code
{
version
_
info
}
value
corresponding to the Python version
1.6
is
\code
{
(
1, 6
, 0, 'final', 0)
}
.
\versionadded
{
1.6
}
corresponding to the Python version
2.0
is
\code
{
(
2, 0
, 0, 'final', 0)
}
.
\versionadded
{
2.0
}
\end{datadesc}
\begin{datadesc}
{
winver
}
...
...
Doc/lib/libtempfile.tex
View file @
30f76ffd
...
...
@@ -63,7 +63,7 @@ over using the \code{template} variable directly.
\end{funcdesc}
\begin{datadesc}
{
template
}
\deprecated
{
1.6
}{
Use
\function
{
gettempprefix()
}
instead.
}
\deprecated
{
2.0
}{
Use
\function
{
gettempprefix()
}
instead.
}
When set to a value other than
\code
{
None
}
, this variable defines the
prefix of the final component of the filenames returned by
\function
{
mktemp()
}
. A string of decimal digits is added to generate
...
...
Doc/lib/libundoc.tex
View file @
30f76ffd
...
...
@@ -40,7 +40,7 @@ Some of these are very old and/or not very robust; marked with ``hmm.''
\begin{description}
\item
[\module{dircmp}]
--- Class to build directory diff tools on (may become a demo or tool).
\deprecated
{
1.6
}{
The
\refmodule
{
filecmp
}
module will replace
\deprecated
{
2.0
}{
The
\refmodule
{
filecmp
}
module will replace
\module
{
dircmp
}
.
}
\item
[\module{bdb}]
...
...
Doc/tut/tut.tex
View file @
30f76ffd
...
...
@@ -737,7 +737,7 @@ The built-in function \function{len()} returns the length of a string:
\subsection
{
Unicode Strings
\label
{
unicodeStrings
}}
\sectionauthor
{
Marc-Andre Lemburg
}{
mal@lemburg.com
}
Starting with Python
1.6
a new data type for storing text data is
Starting with Python
2.0
a new data type for storing text data is
available to the programmer: the Unicode object. It can be used to
store and manipulate Unicode data (see
\url
{
http://www.unicode.org
}
)
and intergrates well with the existing string objects providing
...
...
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