[Python-bugs-list] [ python-Bugs-728277 ] Tools/msgfmt.py results in two warnings under Python 2.3b1

SourceForge.net noreply@sourceforge.net
Sat, 26 Apr 2003 20:35:49 -0700


Bugs item #728277, was opened at 2003-04-27 03:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=728277&group_id=5470

Category: Demos and Tools
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Stephan R.A. Deibel (sdeibel)
Assigned to: Nobody/Anonymous (nobody)
Summary: Tools/msgfmt.py results in two warnings under Python 2.3b1

Initial Comment:
Running Tools/msgfmt.py under Python 2.3b1 (also the
alphas) results in the following warnings:

[sdeibel@hedgehog build-files]$ python2.3
~/src/Python-2.3b1/Tools/i18n/msgfmt.py --help
sys:1: DeprecationWarning: Non-ASCII character '\xf6'
in file
/home/sdeibel/src/Python-2.3b1/Tools/i18n/msgfmt.py on
line 3, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details
/home/sdeibel/src/Python-2.3b1/Tools/i18n/msgfmt.py:86:
FutureWarning: hex/oct constants > sys.maxint will
return positive values in Python 2.4 and up
  0x950412de,        # Magic

Doesn't cause any problems but would be cleaner to add
encoding info and the 'L' for the constant.

This is on Mandrake 8.2 but I'm sure it happens everywhere.

- Stephan


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=728277&group_id=5470