[stdlib-sig] proposed removal: linecache

M.-A. Lemburg mal at egenix.com
Thu Mar 20 10:29:41 CET 2008


On 2008-03-20 08:27, Raymond Hettinger wrote:
> +1 for removal.
> May need to move some of its code into the traceback module.

linecache has code that is specifically used for reading Python
modules. It's really just a helper for being able to print
tracebacks. Thread-safety is not a priority for this - module
code doesn't change that often ;-)

Moving the code to the traceback module seems fine.

> ----- Original Message ----- 
> From: "Brett Cannon" <brett at python.org>
> To: "stdlib-sig" <stdlib-sig at python.org>
> Sent: Wednesday, March 19, 2008 9:59 PM
> Subject: [stdlib-sig] proposed removal: linecache
> 
> 
>> Caching files is not a common thing. And even when you do it, it isn't
>> exactly hard to read a file into a list. Plus it isn't thread-safe.
>>
>> -Brett
>> _______________________________________________
>> stdlib-sig mailing list
>> stdlib-sig at python.org
>> http://mail.python.org/mailman/listinfo/stdlib-sig
> _______________________________________________
> stdlib-sig mailing list
> stdlib-sig at python.org
> http://mail.python.org/mailman/listinfo/stdlib-sig

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Mar 20 2008)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::


    eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
     D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
            Registered at Amtsgericht Duesseldorf: HRB 46611


More information about the stdlib-sig mailing list