[issue4502] Allowing get_pre_input_hook from Readline

2008-12-02 Thread Conrad.Irwin
New submission from Conrad.Irwin <[EMAIL PROTECTED]>: At the moment there is no way of getting the current pre_input_hook out of the readline module, so applications cannot set_pre_input_hook without possibly over-writing users settings (or other parts of the applications settings) I have attache

[issue4502] Allowing get_pre_input_hook from Readline

2008-12-02 Thread Conrad.Irwin
Changes by Conrad.Irwin <[EMAIL PROTECTED]>: -- type: -> feature request ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue4502] Allowing get_pre_input_hook from Readline

2008-12-02 Thread Conrad.Irwin
Conrad.Irwin <[EMAIL PROTECTED]> added the comment: ...wrap the current readline in a pure python module ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4477] Speed up PyEval_EvalFrameEx when tracing is off.

2008-12-02 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Jeffrey, I've run my own timings and verified the improvement. Please go ahead and apply the trunk (2.7 head). It's too late for 3.0 but once that is out the door, Barry has approved adding the patch for 3.0.1. -- assignee: rhe

[issue4273] cycle created by profile.run

2008-12-02 Thread darrenr
darrenr <[EMAIL PROTECTED]> added the comment: I work at a development house that has decided to tell gc to keep all cycles, in order to prevent any cycles from being created at all. It's analogous to the policy of keeping a C++ build warning-free. ___ Python

[issue4335] inspect.getsourcelines ignores last line in module

2008-12-02 Thread Alexander Belopolsky
Changes by Alexander Belopolsky <[EMAIL PROTECTED]>: -- nosy: +belopolsky ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue2306] Update What's new in 3.0

2008-12-02 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: I wouldn't go so far as claiming this is completed, but I think it's in a good enough shape to release. I may continue to work on it some more, but you can freeze the tree at any moment -- I won't add more XXX stuff (except perhaps commente

[issue4347] Circular dependency causes SystemError when adding new syntax

2008-12-02 Thread Thomas Lee
Thomas Lee <[EMAIL PROTECTED]> added the comment: Thanks for the review Brett, apologies for the mess. I'm attaching two new patches -- one for review, the other containing the generated files. These differ very slightly from the original patch -- mainly just removing some stuff I don't think is

[issue4347] Circular dependency causes SystemError when adding new syntax

2008-12-02 Thread Thomas Lee
Thomas Lee <[EMAIL PROTECTED]> added the comment: And here's the patch for review. Added file: http://bugs.python.org/file12209/build-evilness-fix-03-review.patch ___ Python tracker <[EMAIL PROTECTED]> __

[issue4331] Can't use _functools.partial() created function as method

2008-12-02 Thread Alexander Belopolsky
Changes by Alexander Belopolsky <[EMAIL PROTECTED]>: -- nosy: +belopolsky ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue4500] Compiler warnings when compiling Python 3.0 with a C89 compiler

2008-12-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: What operating system is this on? In any case, the warnings look harmless. -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> __

[issue4477] Speed up PyEval_EvalFrameEx when tracing is off.

2008-12-02 Thread Jeffrey Yasskin
Jeffrey Yasskin <[EMAIL PROTECTED]> added the comment: Thanks for the review, Raymond. Committed to the trunk in r67494. I'll svnmerge it over to 3.0.1 once Barry unfreezes the branches. Martin, let me know if you analyze this any more and find anything interesting. -- stage: commit rev

<    1   2