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
dcfd825c
Commit
dcfd825c
authored
22 years ago
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add two items
parent
3cda93eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
Doc/whatsnew/whatsnew23.tex
Doc/whatsnew/whatsnew23.tex
+11
-0
No files found.
Doc/whatsnew/whatsnew23.tex
View file @
dcfd825c
...
...
@@ -679,6 +679,14 @@ command line or use \function{warnings.filterwarnings()}.
\exception
{
SyntaxWarning
}
warning. In a future version of Python,
\code
{
None
}
may finally become a keyword.
\item
Python runs multithreaded programs by switching between threads
after executing N bytecodes. The default value for N has been
increased from 10 to 100 bytecodes, speeding up single-threaded
applications by reducing the switching overhead. Some multithreaded
applications may suffer slower response time, but that's easily fixed
by setting the limit back to a lower number by calling
\function
{
sys.setcheckinterval(
\var
{
N
}
)
}
.
\item
One minor but far-reaching change is that the names of extension
types defined by the modules included with Python now contain the
module and a
\samp
{
.
}
in front of the type name. For example, in
...
...
@@ -961,6 +969,9 @@ patch had undergone a lengthy review. After it was checked in, Guido
van~Rossum rewrote parts of it. This is a good example of the free
software development process in action.
\item
The value of the C
\cfunction
{
PYTHON
_
API
_
VERSION
}
macro is now exposed
at the Python level as
\constant
{
sys.api
_
version
}
.
\item
The new
\module
{
textwrap
}
module contains functions for wrapping
strings containing paragraphs of text. The
\function
{
wrap(
\var
{
text
}
,
\var
{
width
}
)
}
function takes a string and returns a list containing
...
...
This diff is collapsed.
Click to expand it.
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