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
019aec22
Commit
019aec22
authored
Jun 15, 2010
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add another bunch of items
parent
9933da06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
Doc/whatsnew/2.7.rst
Doc/whatsnew/2.7.rst
+16
-0
No files found.
Doc/whatsnew/2.7.rst
View file @
019aec22
...
@@ -780,6 +780,12 @@ Some smaller changes made to the core Python language are:
...
@@ -780,6 +780,12 @@ Some smaller changes made to the core Python language are:
(Contributed by Fredrik Johansson and Victor Stinner; :issue:`3439`.)
(Contributed by Fredrik Johansson and Victor Stinner; :issue:`3439`.)
* The :keyword:`import` statement will no longer try a relative import
if an absolute import (e.g. ``from .os import sep``) fails. This
fixes a bug, but could possibly break certain :keyword:`import`
statements that were only working by accident. (Fixed by Meador Inge;
:issue:`7902`.)
* It's now possible for a subclass of the built-in :class:`unicode` type
* It's now possible for a subclass of the built-in :class:`unicode` type
to override the :meth:`__unicode__` method. (Implemented by
to override the :meth:`__unicode__` method. (Implemented by
Victor Stinner; :issue:`1583863`.)
Victor Stinner; :issue:`1583863`.)
...
@@ -1183,6 +1189,11 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1183,6 +1189,11 @@ changes, or look through the Subversion logs for all the details.
will now ignore the name of the module containing the exception
will now ignore the name of the module containing the exception
being tested. (Patch by Lennart Regebro; :issue:`7490`.)
being tested. (Patch by Lennart Regebro; :issue:`7490`.)
* The :mod:`email` module's :class:`~email.message.Message` class will
now accept a Unicode-valued payload, automatically converting the
payload to the encoding specified by :attr:`output_charset`.
(Added by R. David Murray; :issue:`1368247`.)
* The :class:`~fractions.Fraction` class now accepts a single float or
* The :class:`~fractions.Fraction` class now accepts a single float or
:class:`~decimal.Decimal` instance, or two rational numbers, as
:class:`~decimal.Decimal` instance, or two rational numbers, as
arguments to its constructor. (Implemented by Mark Dickinson;
arguments to its constructor. (Implemented by Mark Dickinson;
...
@@ -1425,6 +1436,11 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1425,6 +1436,11 @@ changes, or look through the Subversion logs for all the details.
named pipes like a regular file by opening them for reading, and
named pipes like a regular file by opening them for reading, and
this would block indefinitely. (Fixed by Antoine Pitrou; :issue:`3002`.)
this would block indefinitely. (Fixed by Antoine Pitrou; :issue:`3002`.)
* The :mod:`signal` module no longer re-installs the signal handler
unless this is truly necessary, which fixes a bug that could make it
impossible to catch the EINTR signal robustly. (Fixed by
Charles-Francois Natali; :issue:`8354`.)
* New functions: in the :mod:`site` module, three new functions
* New functions: in the :mod:`site` module, three new functions
return various site- and user-specific paths.
return various site- and user-specific paths.
:func:`~site.getsitepackages` returns a list containing all
:func:`~site.getsitepackages` returns a list containing all
...
...
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