Conversation
|
@mmatera Given the problems. I may just narrow this to basically the first commit. And then go in again and do again, etc. |
6fc12ca to
f13f061
Compare
|
@mmatera this is the next step in the progression. Modules that are to be cythonized for now remain in the builtin directory until we can adjust setup.py accordingly. However I want to leave that for some other time.
|
33f69f4 to
ef6fb51
Compare
Just in case, both in MS Windows and Linux, WMA accepts filenames with "/" as the path separator. I think that Mathics does too. |
I don't have Windows running right now, but that wasn't the problem. I think it had to do with assumptions about TemporaryDirectory or the kind of object returned. At some point we should make a dedicated effort to fixing up |
In addition to what I wrote above, it might not have anything to do with the test and its expectation but instead it may be that we have implemented this in a way that doesn't work on all variants of Windows or Windows with Anaconda and so on. I probably should have investigated further but I didn't. |
I fired up Windows to get a more precise answer to this than I gave before. Here is what I get when I try running the test in an anaconda shell |
|
Thanks a lot for doing this. So, OK, I see the problem: the output uses the system path separator. I can fix this test later then. |
|
Regarding this PR: it looks great, but I am worried about how disrupting would be to merge this over the other pending PRs. If we can merge them without many complications, then let's merge this. |
Valid concern and I am glad you bring this up. What I will do when I have a chance over the weekend is add PR's for the pending PR (other than the one that needs to be broken up anyway) that are based on this PR. This is before merging so that we can see and determine what's up. For the one that need breaking up, I can add test locally and add PRs for the pieces. |
|
So in sum, expect a number of small PR's, some of which haven't happened yet. |
Move corresponding files in builtins under these submodules. Adjust lots of imports to include the new submodule
While there is more that could be done in terms of breaking out subcategories of builtins, and more
cleanup in the ugly
builtins/__init__.py, I would like to leave that for later.There there are a lot of changes here that I'd like to get in to set a baseline for further work.
Also for later is hooking the new sectioning into the doc system so that it is more structured as well.
With this, I feel better about doubling the size of the builtins which is what we realistically need to cover all of WL.