classification
Title: pygettext.py py3k errors
Type: crash Stage:
Components: Demos and Tools Versions: Python 3.0
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, scav
Priority: normal Keywords:

Created on 2008-01-15 11:50 by scav, last changed 2008-01-15 17:41 by gvanrossum. This issue is now closed.

Files
File name Uploaded Description Edit
pygettext.diff scav, 2008-01-15 12:08 Patch for pygettext.py
Messages (3)
msg59961 - (view) Author: Peter Harris (scav) Date: 2008-01-15 11:50
Tools/i18n/pygettext.py contains a syntax error.

On line 665,  there is an old u'' string for testing unicode on pre-3.0
python.

It should be OK to remove it.
msg59962 - (view) Author: Peter Harris (scav) Date: 2008-01-15 12:08
Also, a couple of instances of assuming dict.keys() is a list, and
trying to use .sort() on them.

Patch attached for both issues.
msg59975 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2008-01-15 17:41
Thanks!
Committed revision 59979.
History
Date User Action Args
2008-01-15 17:41:47gvanrossumsetstatus: open -> closed
resolution: accepted
messages: + msg59975
nosy: + gvanrossum
2008-01-15 12:08:08scavsetfiles: + pygettext.diff
messages: + msg59962
title: pygettext.py syntax error -> pygettext.py py3k errors
2008-01-15 11:50:24scavcreate