|
18 | 18 | \maketitle |
19 | 19 | \tableofcontents |
20 | 20 |
|
21 | | -This article explains the new features in Python 2.4, released on |
22 | | -November~30, 2004. |
| 21 | +This article explains the new features in Python 2.4.1, released on |
| 22 | +March~30, 2005. |
23 | 23 |
|
24 | 24 | Python 2.4 is a medium-sized release. It doesn't introduce as many |
25 | 25 | changes as the radical Python 2.2, but introduces more features than |
@@ -1713,6 +1713,11 @@ \section{Porting to Python 2.4} |
1713 | 1713 | now return an empty list instead of raising a \exception{TypeError} |
1714 | 1714 | exception if called with no arguments. |
1715 | 1715 |
|
| 1716 | +\item You can no longer compare the \class{date} and \class{datetime} |
| 1717 | + instances provided by the \module{datetime} module. Two |
| 1718 | + instances of different classes will now always be unequal, and |
| 1719 | + relative comparisons (\code{<}, \code{>}) will raise a \exception{TypeError}. |
| 1720 | + |
1716 | 1721 | \item \function{dircache.listdir()} now passes exceptions to the caller |
1717 | 1722 | instead of returning empty lists. |
1718 | 1723 |
|
@@ -1745,7 +1750,8 @@ \section{Acknowledgements \label{acks}} |
1745 | 1750 |
|
1746 | 1751 | The author would like to thank the following people for offering |
1747 | 1752 | suggestions, corrections and assistance with various drafts of this |
1748 | | -article: Koray Can, Hye-Shik Chang, Michael Dyck, Raymond Hettinger, |
1749 | | -Brian Hurt, Hamish Lawson, Fredrik Lundh, Sean Reifschneider. |
| 1753 | +article: Koray Can, Hye-Shik Chang, Michael Dyck, Raymond Hettinger, |
| 1754 | +Brian Hurt, Hamish Lawson, Fredrik Lundh, Sean Reifschneider, |
| 1755 | +Sadruddin Rejeb. |
1750 | 1756 |
|
1751 | 1757 | \end{document} |
0 commit comments