A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-December/083868.html below:

[Python-Dev] Python-3.0, unicode, and os.environ

[Python-Dev] Python-3.0, unicode, and os.environNick Coghlan ncoghlan at gmail.com
Thu Dec 4 22:19:19 CET 2008
Toshio Kuratomi wrote:
> The bug report I opened suggests creating a PEP to address this issue.
> I think that's a good idea for whether os.listdir() and friends should
> be changed to raise an exception but not having any way to get at some
> environment variables seems like it's just a bug that needs to be
> addressed.  What do other people think on both these issues?

I'm pretty sure the discussion on this topic a while back decided that
where necessary Python 3 would grow parallel bytes versions of APIs
affected by environmental encoding issues (such as os.environb,
os.listdirb, os.getcwdb), but that we were OK with the idea of deferring
addition of those APIs until 3.1.

That is, this was an acknowledged limitation with a fairly
straightforward agreed solution, but it wasn't considered a common
enough issue to delay the release of 3.0 until all of those parallel
APIs had been implemented

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4