watchdog - Bugs and code review

93 views
Skip to first unread message

Laurent LAPORTE

unread,
May 19, 2013, 9:00:28 AM5/19/13
to watchdo...@googlegroups.com
Hi,

I'm working on a "FTP watchdog" service. I inspire myself of the watchdog project. During my work I foud some potential bugs and I made a code review. Here is a summary:
  • Anomalies and potential bugs
    • Don’t forget to close files
    • Wrong “Compares two directory snapshots” algorithm
  • Code review
    • Indent the source code
    • Dictionaries’ iterations should be changed
    • Avoid function callback in default parameters
    • Remove dead code
    • Don’t abuse of decorators
    • Don’t abuse of properties
The details are in the attached "review.rst" file (it use reStructureText format).

I focus my analyse on the master version found at https://github.com/gorakhargosh/watchdog.

I hope it helps.

------- Laurent.
review.rst

Christian Tismer

unread,
Jul 26, 2013, 9:47:31 PM7/26/13
to watchdo...@googlegroups.com
Hi Laurent,

Interesting, good review!
I would like to ask if we can talk about your stuff. Recently I added the ability to 
monitor network drives from virtual servers, but I retracted my pull request.
You can reach me at tismer(at)stackless.com

cheers - chris
Reply all
Reply to author
Forward
0 new messages