[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-13 Thread Almar Klein
Almar Klein almar.kl...@gmail.com added the comment: Ok, I went to prepare a minimal example that does not use Cython nor Numpy. And then the problem was gone. Even more so, my fix would cause a problem, because somewhere quotes are placed around the entire command: ...link.exe /DLL

[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: OK, thanks. Please add a link to the Numpy or Cython bug report here. -- assignee: tarek - eric.araujo resolution: - invalid stage: patch review - committed/rejected status: open - closed ___ Python

[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-13 Thread Almar Klein
Almar Klein almar.kl...@gmail.com added the comment: This issue is posted at http://projects.scipy.org/numpy/ticket/2018 -- resolution: invalid - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13765

[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13765 ___

[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report and patch. How can we test it? Do we need to install a Python on a path with embedded spaces? -- keywords: +needs review stage: - patch review versions: +Python 2.7, Python 3.3 -Python 2.6

[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Oh and BTW it would be very helpful if you could adapt your test script to be pure-distutils, without Cython or Numpy extensions. -- ___ Python tracker rep...@bugs.python.org

[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-11 Thread Almar Klein
New submission from Almar Klein almar.kl...@gmail.com: I found an easy to solve bug in distutils, which is causing problems with compiling Cython code on Windows. I have reproduced this on Python 2.6 and Python 3.2 (32 bit). The problem occurs with the native msvc compiler. Using gcc (MinGW)