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.

classification
Title: Tools/msgfmt.py results in two warnings under Python 2.3b1
Type: Stage:
Components: Demos and Tools Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, sdeibel
Priority: normal Keywords:

Created on 2003-04-27 03:35 by sdeibel, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Messages (2)
msg15636 - (view) Author: Stephan R.A. Deibel (sdeibel) Date: 2003-04-27 03:35
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
msg15637 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-05-09 08:59
Logged In: YES 
user_id=21627

Fixed in msgfmt.py 1.3.
History
Date User Action Args
2022-04-10 16:08:21adminsetgithub: 38376
2003-04-27 03:35:49sdeibelcreate