ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
[PMX:##] Re: string module
by Fernando =?ISO-8859-1?Q?P=E9rez?= other posts by this author
May 21 2002 4:13PM messages near this date
Re: Zaurus and Python, a good combination | [PMX:##] Re: ANSI colored output: How to determine how python was called?
Michael Hudson wrote:

> > So indeed, since I'm loading readline at the interactive prompt, there's an
> > under the hood resetting of the locale. Ah, the beauty of perl-like silent,
> > implicit global changes ;)
>  
>  Now trying playing with signals at the interactive prompt[1]
>  <wink/frown>.  I wouldn't want to live without readline, but sometimes
>  I do wish it wouldn't bugger around with stuff my application cares
>  about so much.
>  

Agreed. There's not much I can do about readline (I'm not going to rewrite the 
whole thing!) but I did rewrite a lot of rlcompleter and other things which 
import readline (like pdb) just so they wouldn't muck around globally so 
much! In that sense rlcompleter is very poorly designed: there should be an 
explicit need to call a global initializer so that submodules which import it 
don't damage your global readline namespace handling (like pdb does).

Oh well, one of these days I'll have to wrap all these things as patches and 
send them in.

f.
-- 
http://mail.python.org/mailman/listinfo/python-list

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved