[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Use subprocess in gen_win.py

From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Fri, 24 Apr 2009 20:52:14 +0200

Using of os.popen4 in build/generator/gen_win.py probably causes
"DeprecationWarning: os.popen4 is deprecated. Use the subprocess module.".

I'm attaching the patch which fixes this problem.
I don't use Windows, so I cannot test this patch, so I'm not committing it directly.

[[[
* build/generator/gen_win.py
  (WinGeneratorBase._find_swig): Use subprocess instead of os.popen4()
   for compatibility with Python 3.
]]]

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2009-04-24 20:52:26 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.