Writing output in binary mode allows to avoid line feed conversion on Windows
Add usage help and write output in binary mode
I don't think we are still doing another 1.8 release and numeric has been removed in master, so this patch will likely never be released
Is there any user level doc how to manually transform old Numeric code to new NumPy?
Otherwise people like me will still have to download 1.8.x to convert it.
Maybe we could put the conversion script in the tools directory. It would need a better name and perhaps some cleanup. The tools directory is not be included in the install, but a least the script would be available in master.
Conversion script would be awesome.
@techtonic PR's welcome ;)
I know neither Numeric nor NumPy rules (just trying to get old robot simulator going). Is there any manual conversion guide?
Ah, that makes it tough ;) I thought you could start with the 1.8 alter_code1.py, then maybe take a look at
alter_code2.py, which looks to be a non-finished improvement. I have no idea how well either works. You can also ask on the mailing list, there are bound to be some folks who have dealt with that problem before and some may have written tools for the job. And if you are doing a conversion yourself, that experience should help point up problems to fix.
I am not sure I will be able to dedicate much time to this, but to make initiative sustainable and distributed among people, here is what can be done:
Strategy: incremental, example driven, always beta (commit early and often)
Regardless of whether those other scripts are ever written, I think this can be closed.
Give me a shout if you would like to reopen it, @techtonik.