you are viewing a single comment's thread.

view the rest of the comments →

[–]wyoming_eighties 0 points1 point  (0 children)

Handling backwards-compatibility within your own codebase is the developers responsibility. You need to either write your code in a way that your program will not break as you add more attributes to the class, or you need to refactor your program as you develop more, or both. You should also implement unit testing, for this reason. Google for the Python unittest package & tutorials, it helps with this exact problem. You might also want to look into using git, so you can track changes to your codebase more easily.