Show More
@@ -40,7 +40,7 b' import time' | |||
|
40 | 40 | # Constants |
|
41 | 41 | #----------------------------------------------------------------------------- |
|
42 | 42 | |
|
43 |
# Rough |
|
|
43 | # Roughly equal to PyCF_MASK | PyCF_MASK_OBSOLETE as defined in pythonrun.h, | |
|
44 | 44 | # this is used as a bitmask to extract future-related code flags. |
|
45 | 45 | PyCF_MASK = functools.reduce(operator.or_, |
|
46 | 46 | (getattr(__future__, fname).compiler_flag |
@@ -174,7 +174,7 b' class CommandChainDispatcher:' | |||
|
174 | 174 | def shutdown_hook(self): |
|
175 | 175 | """ default shutdown hook |
|
176 | 176 | |
|
177 |
Typically, sh |
|
|
177 | Typically, shutdown hooks should raise TryNext so all shutdown ops are done | |
|
178 | 178 | """ |
|
179 | 179 | |
|
180 | 180 | #print "default shutdown hook ok" # dbg |
@@ -82,7 +82,7 b' class PrefilterManager(Configurable):' | |||
|
82 | 82 | prefilter consumes lines of input and produces transformed lines of |
|
83 | 83 | input. |
|
84 | 84 | |
|
85 | The iplementation consists of two phases: | |
|
85 | The implementation consists of two phases: | |
|
86 | 86 | |
|
87 | 87 | 1. Transformers |
|
88 | 88 | 2. Checkers and handlers |
@@ -765,7 +765,7 b' if _env_type is not dict:' | |||
|
765 | 765 | |
|
766 | 766 | try: |
|
767 | 767 | # In PyPy, types.DictProxyType is dict, setting the dictproxy printer |
|
768 |
# using dict.setdefault avoids overwrit |
|
|
768 | # using dict.setdefault avoids overwriting the dict printer | |
|
769 | 769 | _type_pprinters.setdefault(types.DictProxyType, |
|
770 | 770 | _dict_pprinter_factory('dict_proxy({', '})')) |
|
771 | 771 | _type_pprinters[types.ClassType] = _type_pprint |
General Comments 0
You need to be logged in to leave comments.
Login now