#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 , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [9148]) Fixed #9283 -- Deliberately silence one deprecation warning raised by python 2.6.