Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10)

Unified Diff: Lib/threading.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/textwrap.py ('k') | Lib/tkinter/test/support.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/threading.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/threading.py Mon Jul 25 09:47:18 2011 -0400
@@ -6,7 +6,6 @@
from time import time as _time, sleep as _sleep
from traceback import format_exc as _format_exc
from collections import deque
-from _weakrefset import WeakSet
# Note regarding PEP 8 compliant names
# This threading model was originally inspired by Java, and inherited
@@ -609,8 +608,6 @@
_active = {} # maps thread id to Thread object
_limbo = {}
-# For debug and leak testing
-_dangling = WeakSet()
# Main class for threads
@@ -648,7 +645,6 @@
# sys.stderr is not stored in the class like
# sys.exc_info since it can be changed between instances
self._stderr = _sys.stderr
- _dangling.add(self)
def _reset_internal_locks(self):
# private! Called by _after_fork() to reset our internal locks as
« no previous file with comments | « Lib/textwrap.py ('k') | Lib/tkinter/test/support.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+