Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
ec15808 Backport of _Appmodule.c 1.10, appsupport.py 1.14: Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception. Should finally fix 531398. 2.2.1 candidate. Also blacklisted some constants with definitions that were not Python-compatible. 25 March 2002, 10:30:36 UTC
c629efa Backport of 1.20: Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception. Should finally fix 531398. 2.2.1 candidate. Also blacklisted some constants with definitions that were not Python-compatible. 25 March 2002, 10:25:56 UTC
c165e53 Backport of 1.7: Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, inAlso blacklisted some constants with definitions that were not Python-compatible. 25 March 2002, 10:23:56 UTC
fb25d88 Backport of _AEmodule.c 1.10 and aesupport.py 1.26: Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, inAlso blacklisted some constants with definitions that were not Python-compatible. 25 March 2002, 10:21:42 UTC
3dc3f09 Fix broken HTML in the head; this was reported by a user as causing Opera 6.01 to crash. The user has reported the problem to Opera, but we still should generate something that passes for HTML. 22 March 2002, 17:23:03 UTC
984d220 I was just testing you. Neil Norwitz gets the prize. (Fixed a typo in the description of the email package patch.) 22 March 2002, 16:41:18 UTC
2106a4d Added a NEWS item for the fix of SF bug #531966 in the email package. Also, added a header for 2.2.1c2 (if there isn't a c2, change this to 2.2.1 final). 22 March 2002, 16:25:54 UTC
5516c7b _handle_multipart(): Fixes for SF bug #531966. Specifically two situations are handled now: a multipart/* containing no payload (i.e. never set), and a multipart/* containing a scalar payload (i.e. Message.add_payload() having been called exactly once, not passing in a sequence object). _make_boundary(): Fixed bogus cut-n-paste error (self as first arg). I will merge these changes into the standalone email package and Python 2.3 separately. 22 March 2002, 16:21:56 UTC
25cf603 test_no_parts_in_a_multipart(): A test for the layout of a multipart/mixed message with no attachments. test_one_part_in_a_multipart(): A test for the layout of a multipart/mixed message with a single attachment. test_seq_parts_in_a_multipart(): A test for the layout of a multipart/mixed message with a single attachment that happens to be a sequence of length one. These tests ensure no regressions on the fix for SF bug #531966. I will merge these into the standalone email package and Python 2.3 trunk separately. 22 March 2002, 16:19:30 UTC
dba657f Backport of _Resmodule.c 1.10 and ressupport.py 1.21: Generate with weaklink stubs, so missing routines (on MacOS 8.6 and earlier) don't cause import failure. Fixes 531398, 2.2.1 candidate. 22 March 2002, 15:48:44 UTC
d963214 I forgot to regenerate this. Oops. 22 March 2002, 11:22:24 UTC
9247056 Merge of 1.13: checked in to convert from BinHex to AppleSingle. 21 March 2002, 20:19:30 UTC
3500f4e Merge rev. 1.5: Updated to new Universal Headers. Also, this checkin should make the file MacBinary again. 21 March 2002, 14:56:48 UTC
5f9c705 SF# 522426, add doc for common parameter for filecmp.cmpfiles() 20 March 2002, 18:54:03 UTC
50d20ca Adjust some poor wording in the text that explains what events are used for (reported by Keith Briggs). Wrap some very long lines. 19 March 2002, 14:37:14 UTC
3f855ed sync() has different return values depending on whether we build with GUSI or not. 19 March 2002, 11:01:20 UTC
8a2ca2b Files used for 2.2.1c1 distribution. 19 March 2002, 10:59:38 UTC
a583cf7 char/unsigned char mixup. 19 March 2002, 10:59:26 UTC
1d1b476 Clarify that copy_reg.pickle() is not intended for use with "classic" classes. This was stated before, but a minor grammatical error made it difficult to be sure of the meaning. This closes SF bug #530143. 19 March 2002, 03:33:14 UTC
1dbb679 Record 2.2.1c1 release date. 19 March 2002, 02:13:47 UTC
84b5f1a To make 'urllib.py -t' run again, change FTP URL to a file that actually exists. 18 March 2002, 22:19:24 UTC
0832165 This commit was manufactured by cvs2svn to create tag 'r221c1'. 18 March 2002, 16:47:35 UTC
0c3ea5d Fix up unescaped tilde; reported by several people. 18 March 2002, 16:47:35 UTC
8f3f845 Remove extra verb; reported by Detlef Lannert. 18 March 2002, 16:44:46 UTC
868c4f0 Backport of _CFmodule.c 1.11 and _Winmodule 1.8: Lurking bug found by patch for 531291: FSSpecs should be passed to Py_BuildValue by address, not by value. 18 March 2002, 15:54:29 UTC
45465f2 Backport of _Resmodule.c 1.10 and ressupport.py 1.20: Some of the newer routines return an OSErr, like most toolbox calls, in stead of depending on ResError(). Second half of fix for #531291. 18 March 2002, 15:38:24 UTC
d11f1fa Make StringIO work in non-unicode builds. Lots of tests fail in non-unicode builds, but I think most of these are "bugs" in the tests. I hope so, anyway. 18 March 2002, 13:31:31 UTC
fca4ed6 backport jackjansen's checkin of revision 1.2 of ERRNO.py revision 1.2 of FILE.py revision 1.2 of IN.py Regenerated for Irix 6.5. 18 March 2002, 13:10:41 UTC
c981082 backport jackjansen's checkin of revision 1.3 of regen Patch by Michael Pruett: make regen work on Irix 6.0 and 6.5. 18 March 2002, 13:10:13 UTC
1c136f3 amk's fix attached to [ 516299 ] urlparse can get fragments wrong 18 March 2002, 13:03:40 UTC
39d2b3c Remove extraneous #define as per effbot's instructions in: [ 530285 ] redefining SRE_CODE in Modules/sre.h Another one for the trunk, later. 18 March 2002, 12:59:38 UTC
724374d doerwalter's failing examples from [ 529104 ] broken error handling in unicode-escape 18 March 2002, 12:54:51 UTC
c2a5e3c Martin's fix for [ 529104 ] broken error handling in unicode-escape I presume this will need to be fixed on the trunk, too. Later. 18 March 2002, 12:47:52 UTC
36de099 Fix [ 531306 ] ucs4 build horked. Classic C mistake, I think. Also squashed a couple of warnings in the ucs4 build. 18 March 2002, 12:43:33 UTC
54ad27f Finished 2.2.1 release notes. 18 March 2002, 10:44:49 UTC
09f2187 Fix for SF bug 528132 (Armin Rigo): classmethod().__get__() segfault The proper fix is not quite what was submitted; it's really better to take the class of the object passed rather than calling PyMethod_New with NULL pointer args, because that can then cause other core dumps later. I also added a testcase for the fix to classmethods() in test_descr.py. I'll apply this to 2.3 too. 18 March 2002, 03:05:36 UTC
7eac98d A first cut at NEWS for 2.2.1c1. Please comment! You can find logs at http://starship.python.net/crew/mwh/cvslog3.txt on the assumption that you don't want to fight cvs yourself. In particular, I need a better explanation of the bugs that have been fixed in the email package. 17 March 2002, 20:47:11 UTC
18f69f8 Backport a checkin of jvr's: on MacOSX/Darwin, use ranlib when building static libs. I hope this belongs on the branch... 17 March 2002, 19:47:39 UTC
9bf2889 Backport a checkin of lemburg's: Remove mentioning of -U option in "python -h" output. 17 March 2002, 19:42:18 UTC
c104d89 Another Guido backport: Quick build: clarify that you have to do "make install" as root; OS info: add info about Red Hat's python and python2. 17 March 2002, 19:39:24 UTC
8967a68 Backport a checkin of Guido's: Remove stub for unicode.txt. Resort README in dictionary order. 17 March 2002, 19:36:48 UTC
2b92139 Backport nnorwitz's checkin of revision 1.119: Fix typo 17 March 2002, 19:31:28 UTC
e115134 Backport montanero's checkin of revision 1.7: update text to refer to ServerProxy class in preference to Server, which is only retained for backward compatibility with older versions of the library. 17 March 2002, 19:05:18 UTC
32b2b2d Backport my fix from a whiles back: Fix for [ #504284 ] Last build problems on AIX I'm ignoring the suggestion that this should be an autoconf test in the interests of having a fix today. Feel free to quibble. 17 March 2002, 19:02:10 UTC
3c9dbe2 Backport a little test from Skip. 17 March 2002, 18:59:32 UTC
4d761f2 SF patch 530070: pydoc regression, from Martin and Guido. Change the way __doc__ is handled, to avoid blowing up on non-string __doc__ values. 17 March 2002, 18:57:07 UTC
bf69e0c Backport Tim's checkin of revision 1.5: This test left a new set of 3 junk files behind each time it was run. 17 March 2002, 18:05:03 UTC
2de0ec6 Stop using not-exposed-in-22x os.O_ constants. 17 March 2002, 18:02:51 UTC
3ffb948 So there is some merit in slogging through ~4800 lines of cvs log. Bring tempfile.py up to date from the trunk. There have been three checkins (all by Tim): SF bug #509805 tempfile.gettempdir not threadsafe This is an ancient race when multiple threads call gettempdir() (or anything relying on it) for the first time. Fixed x-platform via the Big Hammer of rearranging the code to serialize the first calls. Subsequent calls are as fast as before. Note that the Python test suite can't provoke this bug: it requires setting up multiple threads making the very first calls into tempfile, but the test suite uses tempfile several times before getting to test_threadedtempfile. Bugfix candidate. [and] New TemporaryFile implementation for Windows: this doesn't need a TemproraryFileWrapper wrapper anymore, and should be immune from the problem that a temp file inherited by a spawned process caused an attempt to close the temp file in the spawning process to blow up (the unlink in TemporaryFileWrapper.close() blew up with a "Permission denied" error because, despite that the temp file got closed in the spawning process, the spawned process still had it open by virtue of C-level file descriptor inheritance). In context, that bug took days to figure out <wink/sigh>. [and] Thanks to Detlef Lannert for pointing out a typo in the code that uses _DummyMutex on platforms without threads. The first and third of these are pretty clearly bugfixes; I think the second is too. 17 March 2002, 17:54:32 UTC
98305a0 Take Tim's work on file.truncate out of 2.2.1 again. 17 March 2002, 15:55:50 UTC
eae11ba Merge jackjansen's checking of revision 1.5. 16 March 2002, 18:33:31 UTC
fe69139 Backport Tim's work on getting file.truncate working better on Win32. "cvs diff | patch" managed to stick the NEWS item in the 2.2 final section! I wonder which silly man wrote patch <wink>. 16 March 2002, 18:19:33 UTC
13510e7 backport bwarsaw's checkin of revision 4.7 of python-mode.el (py-honor-comment-indentation, py-compute-indentation): Fix the implementation to match the documentation for py-honor-comment-indentation w.r.t. not nil or t value. In that case it should still ignore ## for indentation purposes. Closes SF bug #523825, w/ patch provided by Christian Stork (mod'd by Barry). Python 2.2.1 candidate. 16 March 2002, 18:03:42 UTC
09a5bd8 backport my checkin of revision 1.54 of os.py Fix [ 530236 ] os.py assumes existence of statvfs_resul This was pretty dense of me. Sorry. 2.2.1 candidate. 16 March 2002, 18:02:20 UTC
2e6cc33 This checkin backport two checkins by Skip. backport montanaro's checkin of revision 1.24 of calendar.py make _localized_name instances work more like the tuples they replaced. In particular, negative indexes work and they are limited by the actual length of the names they represent (weekday and month names). This closes bug #503202. [and then] Corrected _localized_name.__getitem__ based on code in patch 503202 (which I thought was just a bug report, so didn't notice - doh!). This handles slicing, which v 1.23 didn't. 16 March 2002, 18:01:05 UTC
023db77 backport loewis' checkin of revision 2.23 of pypcre.c Include Python.h first. Fixes #530159. 16 March 2002, 17:58:21 UTC
bf05f2a backport gvanrossum's checkin of revision 1.121 of test_descr.py "Fix" for SF bug #520644: __slots__ are not pickled. As promised in my response to the bug report, I'm not really fixing it; in fact, one could argule over what the proper fix should do. Instead, I'm adding a little magic that raises TypeError if you try to pickle an instance of a class that has __slots__ but doesn't define or override __getstate__. This is done by adding a bozo __getstate__ that always raises TypeError. Bugfix candidate (also the checkin to typeobject.c, of course). 16 March 2002, 17:57:26 UTC
18d81af backport gvanrossum's checkin of revision 2.129 of typeobject.c "Fix" for SF bug #520644: __slots__ are not pickled. As promised in my response to the bug report, I'm not really fixing it; in fact, one could argule over what the proper fix should do. Instead, I'm adding a little magic that raises TypeError if you try to pickle an instance of a class that has __slots__ but doesn't define or override __getstate__. This is done by adding a bozo __getstate__ that always raises TypeError. 16 March 2002, 17:56:51 UTC
3df46a8 backport loewis' checkin of revision 2.26 of _localemodule.c Verify arguments for nl_langinfo. Fixes #528879. 16 March 2002, 17:54:20 UTC
7de1f39 Naughty Fred forgot to mark this as a bugfix candidate. backport fdrake's checkin of revision 1.5 of log.py Set/update self.cwd properly. 16 March 2002, 17:53:51 UTC
1ed6918 Fix stupid typo in example. 16 March 2002, 13:53:23 UTC
36e2586 Markup error: braces not properly marked in dictionary display grammer productions. Fixes SF bug #520959. 16 March 2002, 06:35:01 UTC
4170544 Clarify the descriptions of the positive and negative lookbehind assertions. Added examples of positive lookbehind assertions. This closes SF bug #529708. 16 March 2002, 05:10:22 UTC
c5e9264 pdfTeX 0.13 and 0.14 do not agree on the name of the macro, and I will not change the installed version on either of the machines I use to format the docs. Instead, use a compatibility hack to support both versions. This is also better for external users of the Python styles. 16 March 2002, 04:52:55 UTC
487b17d Revise the markup related to the grammar productions to increase the level of predictability. This is not really "good" markup, but is arguably better than we had before. This closes SF bug #523117. 15 March 2002, 23:18:05 UTC
03efe03 Make the release status obvious in the title area. 15 March 2002, 22:36:55 UTC
85895a5 Update to reflect changes in the extending & embedding doc. 15 March 2002, 22:36:01 UTC
93cd540 Wrap a couple of long lines. 15 March 2002, 14:37:44 UTC
9afa573 Patch #527427: minidom fails to use NodeList sometimes. 15 March 2002, 13:53:20 UTC
83a4a8a backport gvanrossum's checkin of revision 1.120 of test_descr.py Test for the fix I just checked in to moduleobject.c. Bugfix candidate. 15 March 2002, 10:35:55 UTC
78f7088 backport gvanrossum's checkin of revision 2.41 of moduleobject.c Fix for SF bug #529050 - ModuleType.__new__ crash. There were several places that assumed the md_dict field was always set, but it needn't be. Fixed these to be more careful. I changed PyModule_GetDict() to initialize md_dict to a new dictionary if it's NULL. Bugfix candidate. 15 March 2002, 10:35:36 UTC
8b23905 backport akuchling's checkin of revision 1.29 of asyncore.py [Bug #517554] When a signal happens during the select call in asyncore.poll, the select fails with EINTR, which the code catches. However, the code fails to clear the r/w/e arrays (like poll3 does), which means it acts as if every descriptor had received all possible events. Bug report and patch by Cesar Eduardo Barros 15 March 2002, 10:32:07 UTC
1b64810 Backport loewis' checkin of revision 1.104 of ext.tex revision 1.4 of windows.tex revision 1.1 of building.tex removal of unix.tex Patch #500136: Update Update ext build documentation. 2.2.1 candidate. 15 March 2002, 10:29:08 UTC
5ab6d2b This commit was manufactured by cvs2svn to create branch 'release22-maint'. 15 March 2002, 10:29:08 UTC
b14519b backport akuchling's checkin of revision 1.10 of test_cfgparser.py As part of fixing bug #523301, add a simple test of ConfigParser.write() 15 March 2002, 10:25:12 UTC
3813281 backport akuchling's checkin of revision 1.6 of test_cfgparser As part of fixing bug #523301, add a simple test of ConfigParser.write() 15 March 2002, 10:24:42 UTC
c790c97 I presume this should go here. backport akuchling's checkin of revision 1.39 of ConfigParser.py [Bug #523301] ConfigParser.write() produces broken output for values that were originally rfc822-like line continuations. Modified version of a patch from Matthias Ralfs. 15 March 2002, 10:24:14 UTC
2510b46 backport jhylton's checkin of revision 2.2 of cellobject.h Cells are not VAR objects. Noted by Jason Orendorff, SF #520768. Bug fix candidate for 2.1 & 2.2. 15 March 2002, 10:23:11 UTC
7d23700 Remove duplicate "import os" 15 March 2002, 01:35:19 UTC
48da568 Update version number prior to release candidate. 14 March 2002, 22:56:04 UTC
ce47633 Fiddle Windows installer to call this "2.2.1 release candidate 1". 14 March 2002, 22:46:55 UTC
21c9324 Rename this build 2.2.1c1. 14 March 2002, 22:43:45 UTC
ca1e941 Fiddle Windows build number description. 14 March 2002, 21:11:51 UTC
245689c zlib-1.1.4 news. 14 March 2002, 19:07:20 UTC
d82ae99 backport gvanrossum's checkin of revision 1.118 of test_descr.py Add a check that SF bug 516727 is really fixed. 14 March 2002, 17:16:27 UTC
4e49936 I don't understand it either... backport jhylton's checkin of revision 1.7 of test_pyclbr.py Fix pyclbr test of httplib without really understanding pyclbr. It seems that the new class HTTP11 in httplib.test() isn't discoverable by pyclbr, which causes this test to fail. 14 March 2002, 17:06:55 UTC
f0cd73e Move to zlib 1.1.4 on Windows (the new version that squashes the "double free" glitch). unicodeobject.c: squash compiler warnings. Noting that test_pyclbr currently fails in 2.2.1: test_others (__main__.PyclbrTest) ... ??? HTTP11 FAIL 13 March 2002, 23:56:48 UTC
6b1a0b7 Describe how to support the iterator protocol in extension types. This closes SF bug #420851. 13 March 2002, 03:56:54 UTC
5e92c5f SF #515015, raise exception if code not found in findsource() 13 March 2002, 03:19:18 UTC
8e539fc Change the way \textasciitilde is implemented so it works more consistently (dropping tildes into data that still goes through LaTeX-like processing is a bad idea). 13 March 2002, 02:45:58 UTC
14f6758 Update docstrings to use te attribute names of the new structures returned by stat and time functions. This closes SF patch #523271. 12 March 2002, 21:38:31 UTC
804fea9 Add a note that Py_None needs the same reference count treatment as any other PyObject *. This closes SF bug #494007. 12 March 2002, 20:18:01 UTC
066cecd "level" keyword argument in example should be "stacklevel". This closes SF bug #517684. 12 March 2002, 19:51:16 UTC
6ae46a7 Backport of 1.14: mkalias() now also works for folders. Fixes bug #515830. 12 March 2002, 15:05:11 UTC
8a94434 Documentation for PyObject_GetIter(), contributed by Greg Chapman (with only minor changes by Fred). This closes SF bug #498607. 11 March 2002, 19:01:58 UTC
3ddf8e3 backport loewis' checkin of revision 1.66 of ftplib.py Access the exception argument to see whether it starts with '500'. Fixes #527855. 11 March 2002, 10:20:36 UTC
fd268a1 backport gvanrossum's checkin of revision 1.117 of test_descr.py Bugfix candidate. Adapter from SF patch 528038; fixes SF bug 527816. The wrapper for __nonzero__ should be wrap_inquiry rather than wrap_unaryfunc, since the slot returns an int, not a PyObject *. 11 March 2002, 10:20:04 UTC
095fbeb backport gvanrossum's checkin of revision 2.128 of typeobject.c Bugfix candidate. Adapter from SF patch 528038; fixes SF bug 527816. The wrapper for __nonzero__ should be wrap_inquiry rather than wrap_unaryfunc, since the slot returns an int, not a PyObject *. 11 March 2002, 10:19:48 UTC
98f5a89 I *think* this should go in. May be wrong -- please howl in protest if so. backport jhylton's checkin of revision 1.46 of httplib.py Fix SF bug 525520. Don't automatically add a Host: header if the headers passed to request() already has a Host key. 11 March 2002, 10:19:16 UTC
f97cf81 backport tim_one's checkin of revision 2.111 of floatobject.c SF bug 525705: [2.2] underflow raise OverflowException. Another year in the quest to out-guess random C behavior. Added macros Py_ADJUST_ERANGE1(X) and Py_ADJUST_ERANGE2(X, Y). The latter is useful for functions with complex results. Two corrections to errno- after-libm-call are attempted: 1. If the platform set errno to ERANGE due to underflow, clear errno. Some unknown subset of libm versions and link options do this. It's allowed by C89, but I never figured anyone would do it. 2. If the platform did not set errno but overflow occurred, force errno to ERANGE. C89 required setting errno to ERANGE, but C99 doesn't. Some unknown subset of libm versions and link options do it the C99 way now. Bugfix candidate, but hold off until some Linux people actually try it, with and without -lieee. I'll send a help plea to Python-Dev. 11 March 2002, 10:17:17 UTC
back to top