Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#9283 closed (fixed)

DeprecationWarnings caused by makemessages with Python 2.6 (os.popen3)

Reported by: Aku Kotkavuo Owned by: nobody
Component: Internationalization Version: 1.0
Severity: Keywords: python26
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I got the following DeprecationWarnings when I used makemessages:

/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/django/core/management/commands/makemessages.py:131: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.

(stdin, stdout, stderr) = os.popen3(cmd, 't')

/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/django/core/management/commands/makemessages.py:151: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.

(stdin, stdout, stderr) = os.popen3('msguniq --to-code=utf-8 "%s"' % potfile, 't')

/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/django/core/management/commands/makemessages.py:158: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.

(stdin, stdout, stderr) = os.popen3('msgmerge -q "%s" "%s"' % (pofile, potfile), 't')

Change History (2)

comment:1 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: newclosed

(In [9148]) Fixed #9283 -- Deliberately silence one deprecation warning raised by python 2.6.

comment:2 by Malcolm Tredinnick, 16 years ago

(In [9149]) [1.0.X] Fixed #9283 -- Deliberately silence one deprecation warning raised by python 2.6.

Backport of r9148 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top