-
Setup your cloned-fork:
git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo -
Add remote from original repository in your forked repository:
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream -
Merge upstream's master branch
> git merge upstream/master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """An atomic, thread-safe incrementing counter.""" | |
| import threading | |
| class AtomicCounter: | |
| """An atomic, thread-safe incrementing counter. | |
| >>> counter = AtomicCounter() | |
| >>> counter.increment() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ A customized scandir() which honors: (1)the non-traverse anchor files, (2) the | |
| excluded file pattern. | |
| Timothy Lin (c) 4/4/2020 | |
| """ | |
| __all__ = ['scandir', 'NO_TRAVERSE_ANCHOR'] | |
| import os | |
| import sys |
追記(2017.06.03)
WinPDBのフォークがPython3サポートしてました。こっちを使いましょう。
https://github.com/bluebird75/winpdb
次のように対象プログラムを実行するインタプリタを指定できます。
python -m winpdb -i python3 my_program.py