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
e3ef5141
Commit
e3ef5141
authored
Aug 01, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A blurb about the sort implementation.
parent
5d0fb600
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
Misc/NEWS
Misc/NEWS
+16
-4
No files found.
Misc/NEWS
View file @
e3ef5141
...
@@ -6,6 +6,18 @@ Type/class unification and new-style classes
...
@@ -6,6 +6,18 @@ Type/class unification and new-style classes
Core and builtins
Core and builtins
- list.sort() has a new implementation. While cross-platform results
may vary, and in data-dependent ways, this is much faster on many
kinds of partially ordered lists than the previous implementation,
and reported to be just as fast on randomly ordered lists on
several major platforms. This sort is also stable (if A==B and A
precedes B in the list at the start, A precedes B after the sort too),
although the language definition does not guarantee stability. A
potential drawback is that list.sort() may require temp space of
len(list)*2 bytes (*4 on a 64-bit machine). It's therefore possible
for list.sort() to raise MemoryError now, even if a comparison function
does not. See <http://www.python.org/sf/587076> for full details.
- All standard iterators now ensure that, once StopIteration has been
- All standard iterators now ensure that, once StopIteration has been
raised, all future calls to next() on the same iterator will also
raised, all future calls to next() on the same iterator will also
raise StopIteration. There used to be various counterexamples to
raise StopIteration. There used to be various counterexamples to
...
@@ -16,10 +28,10 @@ Core and builtins
...
@@ -16,10 +28,10 @@ Core and builtins
- Ctrl+C handling on Windows has been made more consistent with
- Ctrl+C handling on Windows has been made more consistent with
other platforms. KeyboardInterrupt can now reliably be caught,
other platforms. KeyboardInterrupt can now reliably be caught,
and Ctrl+C at an interative prompt no longer terminates the
and Ctrl+C at an interative prompt no longer terminates the
process under NT/2k/XP (it never did under Win9x). Ctrl+C will
process under NT/2k/XP (it never did under Win9x). Ctrl+C will
interrupt time.sleep() in the main thread, and any child processes
interrupt time.sleep() in the main thread, and any child processes
created via the popen family are also interrupted (as generally
created via the popen family are also interrupted (as generally
happens on for Linux/Unix). [SF bugs 231273, 439992 and 581232]
happens on for Linux/Unix). [SF bugs 231273, 439992 and 581232]
- Slices and repetitions of buffer objects now consistently return
- Slices and repetitions of buffer objects now consistently return
...
@@ -317,7 +329,7 @@ Tools/Demos
...
@@ -317,7 +329,7 @@ Tools/Demos
Build
Build
- The public Python C API will generally be declared using PyAPI_FUNC
- The public Python C API will generally be declared using PyAPI_FUNC
and PyAPI_DATA macros, while Python extension module init functions
and PyAPI_DATA macros, while Python extension module init functions
will be declared with PyMODINIT_FUNC. DL_EXPORT/DL_IMPORT macros
will be declared with PyMODINIT_FUNC. DL_EXPORT/DL_IMPORT macros
are deprecated.
are deprecated.
...
...
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