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
+1 for removal.
May need to move some of its code into the traceback module.
----- Original Message -----
From: "Brett Cannon"
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@python.org http://mail.python.org/mailman/listinfo/stdlib-sig
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"
To: "stdlib-sig" 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@python.org http://mail.python.org/mailman/listinfo/stdlib-sig
stdlib-sig mailing list stdlib-sig@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
participants (3)
-
Brett Cannon
-
M.-A. Lemburg
-
Raymond Hettinger