(self)
| 775 | pass |
| 776 | |
| 777 | def init_encoding(self): |
| 778 | # Get system encoding at startup time. Certain terminals (like Emacs |
| 779 | # under Win32 have it set to None, and we need to have a known valid |
| 780 | # encoding to use in the raw_input() method |
| 781 | try: |
| 782 | self.stdin_encoding = sys.stdin.encoding or 'ascii' |
| 783 | except AttributeError: |
| 784 | self.stdin_encoding = 'ascii' |
| 785 | |
| 786 | |
| 787 | @observe('colors') |