Status: Started
Owner: [email protected]
Labels: Type-Defect Priority-Medium Milestone-Release0.7.0 NeedsReview

New issue 1896 by [email protected]: Inner core refactoring
http://code.google.com/p/sympy/issues/detail?id=1896

In my quest to clarify the structure of the core, I have been refactoring
the "inner core", i.e. the infrastructure that needs to be defined before
Basic and which Basic relies upon. One thing that is not a priori obvious,
but quite clear when you study the code, is that sympify() is part of this
inner core.

So, I have moved most of it from basic.py into a new file core.py while
everything related to singletons went into singleton.py (also new), and I
have fixed a number of problems in sympify:
- code duplication between sympify and _sympify
- circular logical dependency of sympify on subclasses of Basic
- issue 1819
The second item required the implementation of the approach suggested in
issue 1046: using a registry of converter functions. This also makes
sympify more easily extensible.

The code is at http://github.com/rlamy/sympy/tree/core-refactor-3

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to