Update status of implementation

This commit is contained in:
Antoine Pitrou 2011-07-14 00:26:46 +02:00
parent 6062704dd8
commit 3974c001b2
1 changed files with 6 additions and 5 deletions

View File

@ -501,13 +501,14 @@ chance to be accepted for Python 3.2.
Implementation
==============
A reference implementation has been started in
A reference implementation is available in
http://hg.python.org/features/pep-3151/ in branch ``pep-3151``.
For now only `Step 1`_ is implemented, and without the deprecation warnings.
However, it shows that coalescing the exception types doesn't produce any
significant annoyance in the standard library.
Its current state is that all semantic changes and additions are implemented,
but the `deprecation of names`_ mechanism isn't. It has been successfully
tested on a variety of systems: Linux, Windows, OpenIndiana and FreeBSD
buildbots.
One source of trouble is with the respective constructors of ``IOError``
One source of trouble has been with the respective constructors of ``IOError``
and ``WindowsError``, which were incompatible. The way it is solved is by
keeping the ``IOError`` signature and adding a fourth optional argument
to allow passing the Windows error code (which is different from the POSIX