summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'r222b1'.v2.2.2b1cvs2svn2002-10-071-0/+1
|
* News for 2.2.2b1. I'm exhausted -- this was a multi-hour job ofGuido van Rossum2002-10-071-24/+250
| | | | | poring over the logs. Quite likely I've forgotten some things, introduced typos, and organized things less than ideally.
* Fix up the release number for the 2.2.2b1 documentation release.Fred Drake2002-10-071-1/+1
| | | | This is what was actually used.
* Update version to 2.2.2b1.Guido van Rossum2002-10-071-2/+2
|
* Backport, at the reqest of Kevin Jacobs:Guido van Rossum2002-10-073-3/+36
| | | | | | | | | | | - Changed new-style class instantiation so that when C's __new__ method returns something that's not a C instance, its __init__ is not called. [SF bug #537450] XXX This is arguably a semantic change, but it's hard to imagine a reason for wanting to depend on the old behavior. If problems with this are reported within a week of the release of 2.2.2 beta 1, we may revert this change.
* Update the email package version number.Barry Warsaw2002-10-071-1/+1
|
* Bump the version to 2.4.1 (not 2.5 as previously mentioned) to sync itBarry Warsaw2002-10-071-1/+1
| | | | with the standalone mimelib package.
* Backport 1.68:Guido van Rossum2002-10-071-37/+36
| | | | | | Extend stripid() to handle strings ending in more than one '>'. Add resolve() to handle looking up objects and names (fix SF bug 586931). Add a nicer error message when given a filename that doesn't exist.
* openfile(): Go back to opening the files in text mode. This undoesBarry Warsaw2002-10-072-2/+2
| | | | | | | | | the change in revision 1.11 (test_email.py) in response to SF bug #609988. We now think that was the wrong fix and that WinZip was the real culprit there. This and the Parser.py patch will be forward ported into Python 2.3 and email 2.5.
* _parsebody(): Use get_content_type() instead of the deprecatedBarry Warsaw2002-10-071-5/+6
| | | | | | | get_type(). Also, one of the regular expressions is constant so might as well make it a module global. And, when splitting up digests, handle lineseps that are longer than 1 character in length (e.g. \r\n).
* Backport patches from trunk revisions 1.62, 1.63. Modified to beFred Drake2002-10-071-4/+5
| | | | | easier to read for both HTML and typeset renderings. Relies on ../perl/python.perl revision 1.116.4.4.
* Back-port part of 1.128 from the trunk:Fred Drake2002-10-071-0/+1
| | | | | \productioncont: Replace leading spaces with   so that it's possible to control the indentation of continuation lines.
* Backport 1.63:Guido van Rossum2002-10-071-2/+8
| | | | | | In both spilldata() functions, pretend that the docstring for non-callable objects is always None. This makes for less confusing output and fixes the problem reported in SF patch #550290.
* Darn. Fix stupid typo in whichmodule() backport.Guido van Rossum2002-10-071-1/+1
|
* Backport 1.70 and 1.71 (which really go together):Guido van Rossum2002-10-071-10/+11
| | | | | | | | | | | | 1.70: whichmodule() should skip dummy package entries in sys.modules. This fixes the charming, but unhelpful error message for >>> pickle.dumps(type.__new__) Can't pickle <built-in method __new__ of type object at 0x812a440>: it's not the same object as datetime.math.__new__ 1.71: Fiddle comments and variable names in whichmodule().
* Backport:Michael W. Hudson2002-10-075-35/+90
| | | | | | | | | | | | | | 2002/08/11 12:23:04 lemburg Python/bltinmodule.c 2.262 2002/08/11 12:23:04 lemburg Objects/unicodeobject.c 2.162 2002/08/11 12:23:03 lemburg Misc/NEWS 1.461 2002/08/11 12:23:03 lemburg Lib/test/test_unicode.py 1.65 2002/08/11 12:23:03 lemburg Include/unicodeobject.h 2.39 Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level. u'%c' will now raise a ValueError in case the argument is an integer outside the valid range of Unicode code point ordinals. Closes SF bug #593581.
* A couple of fixes for the compiler package:Michael W. Hudson2002-10-072-4/+7
| | | | | | | | | * always write the mtime to a .pyc in little endian format * ensure class's docstrings get attached to the class, not the enclosing scope! Rather more fixes are needed for the trunk; these will be done in due course.
* Patch #609700: always build with same $(CC) on Linux.Martin v. Löwis2002-10-072-3/+3
|
* Backport my checkin of revision 2.264 of Python/compile.c:Michael W. Hudson2002-10-071-3/+3
| | | | | | Clamp code objects' tp_compare result to [-1, 1]. Bugfix candidate.
* Backport fdrake'sMichael W. Hudson2002-10-072-15/+22
| | | | | | | | | | | | | | | | | | | | | | revision 1.88 of setup.py revision 1.46 of Lib/distutils/sysconfig.py When using a Python that has not been installed to build 3rd-party modules, distutils does not understand that the build version of the source tree is needed. This patch fixes distutils.sysconfig to understand that the running Python is part of the build tree and needs to use the appropriate "shape" of the tree. This does not assume anything about the current directory, so can be used to build 3rd-party modules using Python's build tree as well. This is useful since it allows us to use a non-installed debug-mode Python with 3rd-party modules for testing. It as the side-effect that set_python_build() is no longer needed (the hack which was added to allow distutils to be used to build the "standard" extension modules). This closes SF patch #547734.
* This is Armin Rigo's patch:Michael W. Hudson2002-10-074-10/+22
| | | | | | [ 617309 ] getframe hook (Psyco #1) Forward port candidate.
* This is Armin Rigo's patch:Michael W. Hudson2002-10-072-0/+3
| | | | | | [ 617311 ] Tiny profiling info (Psyco #2) Forward port candidate.
* This is Armin Rigo's patch:Michael W. Hudson2002-10-071-8/+15
| | | | | | [ 617312 ] debugger-controlled jumps (Psyco #3) Forward port candidate, I guess.
* Fix quoting for Solaris LDSHARED.Martin v. Löwis2002-10-072-3/+3
|
* Patch #619493: Prefer rpmbuild over rpm if available.Martin v. Löwis2002-10-071-0/+3
|
* Patch #619352: Update for 2.2.2b1. Install python2 and python2.2.Martin v. Löwis2002-10-071-15/+26
| | | | Add Makefile.pre.in to -devel.
* Backport 2.27:Raymond Hettinger2002-10-071-0/+33
| | | | | | | | Fix bug 439992 - [win32] KeyboardInterrupt Not Caught. This gets us closer to consistent Ctrl+C behaviour on NT and Win9x. NT now reliably generates KeyboardInterrupt exceptions for NT when a file IO operation was aborted. Bugfix candidate
* This has no hope of working under -O. Skip it then instead of failing.Tim Peters2002-10-071-0/+3
|
* Whitespace normalization.Tim Peters2002-10-0718-55/+53
|
* They don't work yet, but the installer at least needs to install theTim Peters2002-10-071-0/+18
| | | | email pkg's distinct test suite.
* Backport 1.34: Changing section reference.Raymond Hettinger2002-10-061-1/+1
|
* Backport 1.33:Raymond Hettinger2002-10-061-5/+5
| | | | Update programmer's note on nested functions.
* Backport 1.52:Raymond Hettinger2002-10-061-2/+4
| | | | SF # 555779, import user doesn't work with CGIs
* Aargh! The 2.3 version of this file requires "from test.test_supportGuido van Rossum2002-10-061-1/+1
| | | | | import run_suite", but the 2.2.2 version requires "from test_support import run_suite" ... :-(
* Patch #572031: AUTH method LOGIN for smtplib.Martin v. Löwis2002-10-061-7/+38
|
* Backport:Guido van Rossum2002-10-061-2/+4
| | | | | Make sure the email test suite can be run both stand-alone and under supervision of regrtest.py.
* Backport 2.49:Raymond Hettinger2002-10-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | SF #558432: Prevent Annoying ' ' from readline (Holker Krekel). readline in all python versions is configured to append a 'space' character for a successful completion. But for almost all python expressions 'space' is not wanted (see coding conventions PEP 8). For example if you have a function 'longfunction' and you type 'longf<TAB>' you get 'longfunction ' as a completion. note the unwanted space at the end. The patch fixes this behaviour by setting readline's append_character to '\0' which means don't append anything. This doesn't work with readline < 2.1 (AFAIK nowadays readline2.2 is in good use). An alternative approach would be to make the append_character accessable from python so that modules like the rlcompleter.py can set it to '\0'. [Ed.: I think expecting readline >= 2.2 is fine. If a completer wants another character they can append that to the keyword in the list.]
* Backport 1.45:Raymond Hettinger2002-10-061-1/+11
| | | | Allow abspath to still do something sensisble if the nt module can not be imported.
* Assorted changes needed to release 2.2.2b1.Tim Peters2002-10-065-20/+23
|
* Backport 1.45:Raymond Hettinger2002-10-061-1/+2
| | | | | | Fix a problem in site.py which triggers in case sys.path is empty. Bugfix candidate for 2.2.2.
* Backport 1.12 and 1.13 and normalize whitespace (remove formfeeds):Raymond Hettinger2002-10-061-15/+12
| | | | | | | | | | | SF #515021, print the refused list to the DEBUGSTREAM, so the parameter is used Note: There is a TBD (aka FIXME) for how best to handle the refused addresses. smtp_RCPT(): Removed a somewhat embarrassing debugging line, found by Scot Stevenson. Could be a bug fix candidate, but probably doesn't matter much unless a certain blue-nosed cat suddenly becomes corporeal and starts emailing some stmp.py (sic) fronted mailer.
* Backport 1.60 and 1.62:Raymond Hettinger2002-10-061-4/+4
| | | | | | | | | | Patch #586999: Fix multiline string in sendmail example. smptlib did not handle empty addresses. The problem was that it expected rfc822.parseaddr() to return None upon a parse failure. The actual, documented return value for a parse failure is (None, None). Closes SF bug 602029.
* Backport 1.151 and 1.152:Raymond Hettinger2002-10-061-1/+1
| | | | | Treat file://localhost/ as local too (same as file:/ and file:///). Fixes #607789, bugfix candidate.
* Backport 1.17:Raymond Hettinger2002-10-061-1/+4
| | | | Ignore IOError exceptions when writing the message.
* Backport 1.7:Raymond Hettinger2002-10-061-0/+2
| | | | SF # 555779, import user doesn't work with CGIs
* Backport 1.28 and 1.29:Raymond Hettinger2002-10-061-0/+2
| | | | | SF #515026, delete global variable that was apparently used only in a for loop.
* Backport 1.42 documenting impending deprecation in favor of the emailRaymond Hettinger2002-10-061-0/+5
| | | | module.
* Backport 1.13 documenting impending deprecation in favor of the emailRaymond Hettinger2002-10-061-1/+5
| | | | module.
* Backport 1.3 documenting impending deprecation in favor of the emailRaymond Hettinger2002-10-061-0/+5
| | | | module.
* Backport 1.23 documenting impending deprecation in favor to the emailRaymond Hettinger2002-10-061-0/+4
| | | | package.