Thanks Robert!
Upgrading did it!

I did have to change my run command to:

C:\Python26\python.exe "C:\Python26\Lib\site-packages\cython.py" "<MyFile>.pyx" 
-o "<MyFile>.c"

rather than

C:\Python26\python.exe "C:\Python26\Scripts\cython-script.py" "<MyFile>.pyx" -o 
"<MyFile>.c"
or
C:\Python26\python.exe "C:\Python26\Scripts\cython.py" "<MyFile>.pyx" -o 
"<MyFile>.c"

The latter seemed to somehow still be connected with 0.12 after upgrade.

Thanks,
-David


On Wed, Jul 28, 2010 at 5:46 PM, David Mashburn
<david.n.mashburn at gmail.com 
<http://codespeak.net/mailman/listinfo/cython-dev>> wrote:
>/ I've seen the bug about the unrecognized characters on Windows, but I
/>/ had another, seemingly related issue...
/>/
/>/ I'm currently using cython v. 0.12.1 on Windows 7, and I can't get it to
/>/ recognize ANY newlines...
/>/ Not '\n'
/>/ Not '\r'
/>/ Not '\r\n'
/>/ Files without newlines run fine, but with any type of newline, the
/>/ unrecognized character error raises...
/>/
/>/ Did I mention this only happens on Windows 7?
/>/ I tried the exact same thing on XP and it runs without issue... and I am
/>/ pretty sure I had no trouble on Vista either.
/>/
/>/ This was the command I invoked cython with in both cases:
/>/ C:\Python26\python.exe "C:\Python26\Scripts\cython-script.py"
/>/ "<MyFile>.pyx" -o "<MyFile>.c"
/>/
/>/ Any help would be appreciated!  I need Windows 7 support for some of the
/>/ people in my group.
/>/
/>/ Is the problem already fixed in the hg version of cython?
/
It might be--do you want to try it out? You can download the latest
beta from http://cython.org/release/Cython-0.13.beta0.zip

- Robert

------------------------------------------------------------------------

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to