pyreadline: fix pre_inputhook and startup_hook, autoindent were not functioning in ipython

This commit is contained in:
jstenar
2007-05-14 18:02:27 +00:00
parent 139bd0f149
commit 85dca10ea8
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -1,3 +1,6 @@
2007-05-14 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
* pre_inputhook and startup_hook were not functioning properly.
2007-05-09 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
* Fix ticket #153, python2.3 installation problem
* Updates to documentation
+2 -2
View File
@@ -22,8 +22,6 @@ class BaseMode(object):
self.rlobj=rlobj
self.exit_dispatch = {}
self.key_dispatch = {}
self.startup_hook=None
self.pre_input_hook=None
self.argument=1
self.prevargument=None
@@ -60,6 +58,8 @@ class BaseMode(object):
mark_directories=property(*_gs("mark_directories"))
completer=property(*_gs("completer"))
begidx=property(*_gs("begidx"))
startup_hook=property(*_gs("startup_hook"))
pre_input_hook=property(*_gs("pre_input_hook"))
endidx=property(*_gs("endidx"))
console=property(_g("console"))