[Patches] [ python-Patches-562373 ] Getting rid of string, types and stat
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 31 May 2002 12:37:54 -0700
Patches item #562373, was opened at 2002-05-30 10:18
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=562373&group_id=5470
Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Getting rid of string, types and stat
Initial Comment:
This patch gets rid of some of the "import string",
"import types" or "import stat" statements in the
standard library (many still remain, I didn't touch the
tools or Demos directory). I hope I didn't touch any of
the modules that must stay backwards compatible (like
inspect, distutils, sre, anything else?)
Maybe the rest of the function in stat should be made
methods too?
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-05-31 15:37
Message:
Logged In: YES
user_id=33168
Note some of these have already been fixed (sorry).
Hopefully there won't be conflicts.
return st.st_atim should be st_atime in ntpath.
Note, string will be changed to basestring per discussion on
python-dev.
At one point, unittest was supposed to remain compatible
with 1.5.2.
I'm not sure if this is still the case. You should probably
hold off
on that one file.
Once I finish the basestring change, I'll assign the patch
back to
Walter.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=562373&group_id=5470