Terry J. Reedy added the comment:

What I have learned:
1. As with hg, the local master should be updated at least at the beginning of 
each work session, and python.exe rebuilt.
2. Patches to master should be developed with all 'other' files updated.  For 
completely new branches, this is automatic.  Branches created from PRs start 
out of sync and should be updated.

One can often, perhaps even 'usually', get away with not doing the above, but 
occasional mysterious glitches can occur.  Example: when I created a branch 
from your bdb docstring PR, 9 days later, and did not update, 'import re' 
failed in the new branch.  Problem disappeared after update.

By 'grep', I mean any multi-file search, starting in a specified directory, 
such as IDLE's 'Find in Files', not the specific unix program.  I develop code 
and test for x by repeatedly running just 'test_x', but grepping and running 
test_idle before commit is essential.  As we expand test files, test_idle will 
become more and more useful.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30495>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to