This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hynek
Recipients asvetlov, hynek
Date 2012-12-18.12:14:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <46F8AC14-E23F-4C90-ACCD-92CC84A8BFA0@ox.cx>
In-reply-to <1355829032.34.0.906422381203.issue16706@psf.upfronthosting.co.za>
Content
> I think deprecation makes not big value.
> We should continue aliases support and there are no place to raise warning.
> What we can do — mention deprecation in the doc.

That’s what I meant. I saw it in shutil code, were confused, looked it up, wondered why it exists. I would like to get rid of it.

Do you have any concrete plans or should I just wade through shutil and make it pretty for 3.4?

> The reason to get rid of other OSError aliases to make cleaner code (especially considering situations like `except (os.error, IOError):` and use best practices in stdlib.

Sure.

> I think the later is very important because stdlib is first class example of coding style for many users.

I hope not. :-/

> After stdlib we can cleanup C code to that unification and use concrete exception classes instead of errno checking (#16705).

Awesome.
History
Date User Action Args
2012-12-18 12:14:07hyneksetrecipients: + hynek, asvetlov
2012-12-18 12:14:07hyneklinkissue16706 messages
2012-12-18 12:14:05hynekcreate