追記(2017.06.03)
WinPDBのフォークがPython3サポートしてました。こっちを使いましょう。
https://github.com/bluebird75/winpdb
次のように対象プログラムを実行するインタプリタを指定できます。
python -m winpdb -i python3 my_program.py
追記(2017.06.03)
WinPDBのフォークがPython3サポートしてました。こっちを使いましょう。
https://github.com/bluebird75/winpdb
次のように対象プログラムを実行するインタプリタを指定できます。
python -m winpdb -i python3 my_program.py
| """ 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 |
| """An atomic, thread-safe incrementing counter.""" | |
| import threading | |
| class AtomicCounter: | |
| """An atomic, thread-safe incrementing counter. | |
| >>> counter = AtomicCounter() | |
| >>> counter.increment() |
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