A while back the suggestion was made that the mmapfile module be added to the core distribution, and there was a guardedly positive reaction. Should I go ahead and do that? No one reported any problems when I asked for bug reports, but that was probably because no one tried it; putting it in the core would cause more people to try it. I suppose this leads to a more important question: at what point should we start checking 1.6-only things into the CVS tree? For example, once the current alphas of the re module are up to it (they're not yet), when should they be checked in? -- A.M. Kuchling http://starship.python.net/crew/amk/ Kids! Bringing about Armageddon can be dangerous. Do not attempt it in your home. -- Terry Pratchett & Neil Gaiman, _Good Omens_
"AMK" == Andrew M Kuchling <akuchlin@mems-exchange.org> writes:
AMK> I suppose this leads to a more important question: at what AMK> point should we start checking 1.6-only things into the CVS AMK> tree? For example, once the current alphas of the re module AMK> are up to it (they're not yet), when should they be checked AMK> in? Good question. I've had a bunch of people ask about the string methods branch, which I'm assuming will be a 1.6 feature, and I'd like to get that checked in at some point too. I think what's holding this up is that Guido hasn't decided whether there will be a patch release to 1.5.2 or not. -Barry
[Andrew M. Kuchling]
I'd like to see a bugfix release of 1.5.2 put out first, then have at it. There are several bugfixes that ought to go out ASAP. Thread tstate races, the cpickle/cookie.py snafu, and playing nice with current Tcl/Tk pop to mind immediately. I'm skeptical that anyone other than Guido could decide what *needs* to go out, so it's a good thing he's got nothing to do <wink>. one-boy's-opinion-ly y'rs - tim
[Tim laments]
He has been very quiet recently - where are you hiding Guido.
one-boy's-opinion-ly y'rs - tim
Here is another. Lets take a different tack - what has been checked in since 1.5.2 that should _not_ go out - ie, is too controversial? If nothing else, makes a good starting point, and may help Guido out: Below summary of the CVS diff I just did, and categorized by my opinion. It turns out that most of the changes would appear candidates. While not actually "bug-fixes", many have better documentation, removal of unused imports etc, so would definately not hurt to get out. Looks like some build issues have been fixed too. Apart from possibly Tim's recent "UnboundLocalError" (which is the only serious behaviour change) I can't see anything that should obviously be ommitted. Hopefully this is of interest... [Disclaimer - lots of files here - it is quite possible I missed something...] Mark. UNCONTROVERSIAL: ---------------- RCS file: /projects/cvsroot/python/dist/src/README,v RCS file: /projects/cvsroot/python/dist/src/Lib/cgi.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/ftplib.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/poplib.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/re.py,v RCS file: /projects/cvsroot/python/dist/src/Tools/audiopy/README,v Doc changes. RCS file: /projects/cvsroot/python/dist/src/Lib/SimpleHTTPServer.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/cmd.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/htmllib.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/netrc.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/pipes.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/pty.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/shlex.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/urlparse.py,v Remove unused imports RCS file: /projects/cvsroot/python/dist/src/Lib/pdb.py,v Remove unused globals RCS file: /projects/cvsroot/python/dist/src/Lib/popen2.py,v Change to cleanup RCS file: /projects/cvsroot/python/dist/src/Lib/profile.py,v Remove unused imports and changes to comments. RCS file: /projects/cvsroot/python/dist/src/Lib/pyclbr.py,v Better doc, and support for module level functions. RCS file: /projects/cvsroot/python/dist/src/Lib/repr.py,v self.maxlist changed to self.maxdict RCS file: /projects/cvsroot/python/dist/src/Lib/rfc822.py,v Doc changes, and better date handling. RCS file: /projects/cvsroot/python/dist/src/configure,v RCS file: /projects/cvsroot/python/dist/src/configure.in,v Looks like FreeBSD build flag changes. RCS file: /projects/cvsroot/python/dist/src/Demo/classes/bitvec.py,v RCS file: /projects/cvsroot/python/dist/src/Python/pythonrun.c,v Whitespace fixes. RCS file: /projects/cvsroot/python/dist/src/Demo/scripts/makedir.py,v Check we have passed a non empty string RCS file: /projects/cvsroot/python/dist/src/Include/patchlevel.h,v 1.5.2+ RCS file: /projects/cvsroot/python/dist/src/Lib/BaseHTTPServer.py,v Remove import rfc822 and more robust errors. RCS file: /projects/cvsroot/python/dist/src/Lib/CGIHTTPServer.py,v Support for HTTP_COOKIE RCS file: /projects/cvsroot/python/dist/src/Lib/fpformat.py,v NotANumber supports class exceptions. RCS file: /projects/cvsroot/python/dist/src/Lib/macpath.py,v Use constants from stat module RCS file: /projects/cvsroot/python/dist/src/Lib/macurl2path.py,v Minor changes to path parsing RCS file: /projects/cvsroot/python/dist/src/Lib/mimetypes.py,v Recognise '.js': 'application/x-javascript', RCS file: /projects/cvsroot/python/dist/src/Lib/sunau.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/wave.py,v Support for binary files. RCS file: /projects/cvsroot/python/dist/src/Lib/whichdb.py,v Reads file header to check for bsddb format. RCS file: /projects/cvsroot/python/dist/src/Lib/xmllib.py,v XML may be at the start of the string, instead of the whole string. RCS file: /projects/cvsroot/python/dist/src/Lib/lib-tk/tkSimpleDialog.py,v Destroy method added. RCS file: /projects/cvsroot/python/dist/src/Modules/cPickle.c,v As in the log :-) RCS file: /projects/cvsroot/python/dist/src/Modules/cStringIO.c,v No longer a Py_FatalError on module init failure. RCS file: /projects/cvsroot/python/dist/src/Modules/fpectlmodule.c,v Support for OSF in #ifdefs RCS file: /projects/cvsroot/python/dist/src/Modules/makesetup,v # to handle backslashes for sh's that don't automatically # continue a read when the last char is a backslash RCS file: /projects/cvsroot/python/dist/src/Modules/posixmodule.c,v Better error handling RCS file: /projects/cvsroot/python/dist/src/Modules/timemodule.c,v #ifdef changes for __GNU_LIBRARY__/_GLIBC_ RCS file: /projects/cvsroot/python/dist/src/Python/errors.c,v Better error messages on Win32 RCS file: /projects/cvsroot/python/dist/src/Python/getversion.c,v Bigger buffer and strings. RCS file: /projects/cvsroot/python/dist/src/Python/pystate.c,v Threading bug RCS file: /projects/cvsroot/python/dist/src/Objects/floatobject.c,v Tim Peters writes:1. Fixes float divmod etc. RCS file: /projects/cvsroot/python/dist/src/Objects/listobject.c,v Doc changes, and When deallocating a list, DECREF the items from the end back to the start. RCS file: /projects/cvsroot/python/dist/src/Objects/stringobject.c,v Bug for to do with width of a formatspecifier RCS file: /projects/cvsroot/python/dist/src/Objects/tupleobject.c,v Appropriate overflow checks so that things like sys.maxint*(1,) can'tdump core. RCS file: /projects/cvsroot/python/dist/src/Lib/tempfile.py,v don't cache attributes of type int RCS file: /projects/cvsroot/python/dist/src/Lib/urllib.py,v Number of revisions. RCS file: /projects/cvsroot/python/dist/src/Lib/aifc.py,v Chunk moved to new module. RCS file: /projects/cvsroot/python/dist/src/Lib/audiodev.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/dbhash.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/dis.py,v Changes in comments. RCS file: /projects/cvsroot/python/dist/src/Lib/cmpcache.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/cmp.py,v New "shallow" arg. RCS file: /projects/cvsroot/python/dist/src/Lib/dumbdbm.py,v Coerce f.tell() to int. RCS file: /projects/cvsroot/python/dist/src/Modules/main.c,v Fix to tracebacks off by a line with -x RCS file: /projects/cvsroot/python/dist/src/Lib/lib-tk/Tkinter.py,v Number of changes you can review! OTHERS: -------- RCS file: /projects/cvsroot/python/dist/src/Lib/asynchat.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/asyncore.py,v Latest versions from Sam??? RCS file: /projects/cvsroot/python/dist/src/Lib/smtplib.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/sched.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/ConfigParser.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/SocketServer.py,v RCS file: /projects/cvsroot/python/dist/src/Lib/calendar.py,v Sorry - out of time to detail RCS file: /projects/cvsroot/python/dist/src/Python/bltinmodule.c,v Unbound local, docstring, and better support for ExtensionClasses. Freeze: Few changes IDLE: Lotsa changes :-) Number of .h files have #ifdef changes for CE I wont detail (but would be great to get a few of these in - and I have more :-) Tools directory: Number of changes - outa time to detail
Mark Hammond writes:
Apart from possibly Tim's recent "UnboundLocalError" (which is the only serious behaviour change) I can't see anything that should obviously be
Since UnboundLocalError is a subclass of NameError (what you got before) normally, and they are the same string when -X is used, this only represents a new name in the __builtin__ module for legacy code. This should not be a problem; the only real difference is that, using class exceptions for built-in exceptions, you get more useful information in your tracebacks. -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives
participants (5)
-
Andrew M. Kuchling
-
Barry A. Warsaw
-
Fred L. Drake, Jr.
-
Mark Hammond
-
Tim Peters