-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Py32 cleanup #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Py32 cleanup #44
Conversation
This looks good to me once the stdout bit in numpy/lib/tests/test_regression is removed. |
I guess this is the reason:
Keep it after all? It hasn't given any problems so far. |
I think it should be modified to something like:
and perhaps a note added to explain. I'll do that and commit tomorrow if you don't. I wonder how persistent changes to modules imported locally in functions are? |
I'll try now. Should just be nested try-finally and try-except, otherwise it's not valid Python 2.4 code. |
OK, commited. Thanks Charles. |
BUG: Protect gamma generation from 0 input
Merge in ~STEPAN.SINDELAR_ORACLE.COM/numpy-hpy from tim/graalpython-run to labs-hpy-port * commit 'cc28777a2d2416a0cffafe4ba203f1e04058b8be': remove legacy slots & make types non-legacy if NO_LEGACY is defined skip tp_weaklistoffset for graalpython remove leftover printf port tiny forgotten bit in initumath to hpy port remainder of set_typeinfo to hpy use convenience enum value for .legacy on dtype types fix premature close of h_PyGenericArrType_Type
feat: Add vmlal_s8
Some cleaning of messages from the new and shiny Python 3.2.
There is one ResourceWarning left (see below), I can't see how to fix it.
test_mmap (test_io.TestSaveLoad) ... /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/lib/format.py:575: ResourceWarning: unclosed file <_io.BufferedReader name='/var/folders/Uu/UuXfo1NLFae4yyYpsCz-XE+++TI/-Tmp-/tmp37lh1w'>
mode=mode, offset=offset)