Re: [Python-Dev] UnicodeDecodeError bug in distutils

2009-04-04 Thread Ben Finney
Ben Finney ben+pyt...@benfinney.id.au writes:

 Phillip J. Eby p...@telecommunity.com writes:
 
  Meanwhile, the 'register' command accepts Unicode, but is broken in
  handling it. […]
  
  Unfortunately, this isn't fixable until there's a new 2.5.x release.
  For previous Python versions, both register and write_pkg_info()
  accepted 8-bit strings and passed them on as-is, so the only
  workaround for this issue at the moment is to revert to Python 2.4
  or less.
 
 What is the prognosis on this issue? It's still hitting me in Python
 2.5.4.

Any word on this? Is there an open bug tracker issue with more
information? Who's working on this?

-- 
 \  “If sharing a thing in no way diminishes it, it is not rightly |
  `\  owned if it is not shared.” —Saint Augustine |
_o__)  |
Ben Finney

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] UnicodeDecodeError bug in distutils

2009-04-04 Thread Martin v. Löwis
 Meanwhile, the 'register' command accepts Unicode, but is broken in
 handling it. […]

 Unfortunately, this isn't fixable until there's a new 2.5.x release.
 For previous Python versions, both register and write_pkg_info()
 accepted 8-bit strings and passed them on as-is, so the only
 workaround for this issue at the moment is to revert to Python 2.4
 or less.
 What is the prognosis on this issue? It's still hitting me in Python
 2.5.4.
 
 Any word on this? Is there an open bug tracker issue with more
 information? Who's working on this?

For Python 2.5.4, no further changes will be made. If you can reproduce
with 2.6, and can't find a tracker issue, make a new report.

Regards,
Martin

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] UnicodeDecodeError bug in distutils

2009-04-04 Thread Ben Finney
Ben Finney ben+pyt...@benfinney.id.au writes:

 Is there an open bug tracker issue with more information?

Answer: URL:http://bugs.python.org/issue2562. Apparently the issue
is resolved URL:http://bugs.python.org/msg72385 for Python 2.6. I
will need to wait for my distribution to catch up before I can know
whether it's resolved.

-- 
 \“The World is not dangerous because of those who do harm but |
  `\  because of those who look at it without doing anything.” |
_o__) —Albert Einstein |
Ben Finney

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] UnicodeDecodeError bug in distutils

2009-04-03 Thread Tarek Ziadé
On Fri, Apr 3, 2009 at 2:25 AM, Ben Finney ben+pyt...@benfinney.id.au wrote:
 Phillip J. Eby p...@telecommunity.com writes:

 However, there's currently no standard, as far as I know, for what
 encoding the PKG-INFO file should use.

 Who would define such a standard?

PEP 376 where we can explain that all files in egg-info should be in a
specific encoding

  My vote goes for “default is UTF-8”.

+1


 Meanwhile, the 'register' command accepts Unicode, but is broken in
 handling it. […]

how so ?

Tarek
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] UnicodeDecodeError bug in distutils

2009-04-02 Thread Ben Finney
Phillip J. Eby p...@telecommunity.com writes:

 However, there's currently no standard, as far as I know, for what
 encoding the PKG-INFO file should use.

Who would define such a standard? My vote goes for “default is UTF-8”.

 Meanwhile, the 'register' command accepts Unicode, but is broken in
 handling it. […]
 
 Unfortunately, this isn't fixable until there's a new 2.5.x release.
 For previous Python versions, both register and write_pkg_info()
 accepted 8-bit strings and passed them on as-is, so the only
 workaround for this issue at the moment is to revert to Python 2.4
 or less.

What is the prognosis on this issue? It's still hitting me in Python
2.5.4.

-- 
 \   “Everything you read in newspapers is absolutely true, except |
  `\for that rare story of which you happen to have first-hand |
_o__) knowledge.” —Erwin Knoll |
Ben Finney

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com