summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix up unescaped tilde; reported by several people.Fred Drake2002-03-181-1/+1
|
* Remove extra verb; reported by Detlef Lannert.Fred Drake2002-03-181-2/+1
|
* Backport of _CFmodule.c 1.11 and _Winmodule 1.8:Jack Jansen2002-03-182-2/+2
| | | | | Lurking bug found by patch for 531291: FSSpecs should be passed to Py_BuildValue by address, not by value.
* Backport of _Resmodule.c 1.10 and ressupport.py 1.20:Jack Jansen2002-03-182-95/+67
| | | | | Some of the newer routines return an OSErr, like most toolbox calls, in stead of depending on ResError(). Second half of fix for #531291.
* Make StringIO work in non-unicode builds.Michael W. Hudson2002-03-182-14/+15
| | | | | Lots of tests fail in non-unicode builds, but I think most of these are "bugs" in the tests. I hope so, anyway.
* backport jackjansen's checkin ofMichael W. Hudson2002-03-183-69/+776
| | | | | | | | revision 1.2 of ERRNO.py revision 1.2 of FILE.py revision 1.2 of IN.py Regenerated for Irix 6.5.
* backport jackjansen's checkin ofMichael W. Hudson2002-03-181-1/+2
| | | | | | revision 1.3 of regen Patch by Michael Pruett: make regen work on Irix 6.0 and 6.5.
* amk's fix attached toMichael W. Hudson2002-03-183-1/+26
| | | | [ 516299 ] urlparse can get fragments wrong
* Remove extraneous #define as per effbot's instructions in:Michael W. Hudson2002-03-181-2/+0
| | | | | | [ 530285 ] redefining SRE_CODE in Modules/sre.h Another one for the trunk, later.
* doerwalter's failing examples fromMichael W. Hudson2002-03-181-0/+8
| | | | [ 529104 ] broken error handling in unicode-escape
* Martin's fix forMichael W. Hudson2002-03-181-14/+24
| | | | | | | | [ 529104 ] broken error handling in unicode-escape I presume this will need to be fixed on the trunk, too. Later.
* FixMichael W. Hudson2002-03-181-7/+9
| | | | | | | | [ 531306 ] ucs4 build horked. Classic C mistake, I think. Also squashed a couple of warnings in the ucs4 build.
* Finished 2.2.1 release notes.Jack Jansen2002-03-181-2/+45
|
* Fix for SF bug 528132 (Armin Rigo): classmethod().__get__() segfaultGuido van Rossum2002-03-182-0/+7
| | | | | | | | | | | 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.
* A first cut at NEWS for 2.2.1c1.Michael W. Hudson2002-03-171-4/+54
| | | | | | | | | | | 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.
* Backport a checkin of jvr's:Michael W. Hudson2002-03-171-1/+4
| | | | | | on MacOSX/Darwin, use ranlib when building static libs. I hope this belongs on the branch...
* Backport a checkin of lemburg's:Michael W. Hudson2002-03-171-1/+0
| | | | Remove mentioning of -U option in "python -h" output.
* Another Guido backport:Michael W. Hudson2002-03-171-3/+13
| | | | | Quick build: clarify that you have to do "make install" as root; OS info: add info about Red Hat's python and python2.
* Backport a checkin of Guido's:Michael W. Hudson2002-03-172-14/+8
| | | | Remove stub for unicode.txt. Resort README in dictionary order.
* Backport nnorwitz's checkin of revision 1.119:Michael W. Hudson2002-03-171-1/+1
| | | | Fix typo
* Backport montanero's checkin of revision 1.7:Michael W. Hudson2002-03-171-8/+11
| | | | | update text to refer to ServerProxy class in preference to Server, which is only retained for backward compatibility with older versions of the library.
* Backport my fix from a whiles back:Michael W. Hudson2002-03-171-9/+9
| | | | | | | | | 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.
* Backport a little test from Skip.Michael W. Hudson2002-03-171-0/+4
|
* SF patch 530070: pydoc regression, from Martin and Guido.Tim Peters2002-03-172-5/+30
| | | | | Change the way __doc__ is handled, to avoid blowing up on non-string __doc__ values.
* Backport Tim's checkin of revision 1.5:Michael W. Hudson2002-03-171-11/+18
| | | | This test left a new set of 3 junk files behind each time it was run.
* Stop using not-exposed-in-22x os.O_ constants.Michael W. Hudson2002-03-171-17/+1
|
* So there is some merit in slogging through ~4800 lines of cvs log.Michael W. Hudson2002-03-171-3/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Take Tim's work on file.truncate out of 2.2.1 again.Michael W. Hudson2002-03-174-120/+48
|
* Merge jackjansen's checking of revision 1.5.Michael W. Hudson2002-03-161-0/+8
|
* Backport Tim's work on getting file.truncate working better on Win32.Michael W. Hudson2002-03-164-48/+127
| | | | | "cvs diff | patch" managed to stick the NEWS item in the 2.2 final section! I wonder which silly man wrote patch <wink>.
* backport bwarsaw's checkin ofMichael W. Hudson2002-03-161-3/+7
| | | | | | | | | | | | 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.
* backport my checkin ofMichael W. Hudson2002-03-161-2/+9
| | | | | | | | | | | | 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.
* This checkin backport two checkins by Skip.Michael W. Hudson2002-03-161-6/+15
| | | | | | | | | | | | | | | | 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.
* backport loewis' checkin ofMichael W. Hudson2002-03-161-1/+1
| | | | | | revision 2.23 of pypcre.c Include Python.h first. Fixes #530159.
* backport gvanrossum's checkin ofMichael W. Hudson2002-03-161-0/+89
| | | | | | | | | | | | | | | 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).
* backport gvanrossum's checkin ofMichael W. Hudson2002-03-161-1/+37
| | | | | | | | | | | | | 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.
* backport loewis' checkin ofMichael W. Hudson2002-03-161-84/+106
| | | | | | revision 2.26 of _localemodule.c Verify arguments for nl_langinfo. Fixes #528879.
* Naughty Fred forgot to mark this as a bugfix candidate.Michael W. Hudson2002-03-161-14/+51
| | | | | | | backport fdrake's checkin of revision 1.5 of log.py Set/update self.cwd properly.
* Fix stupid typo in example.Fred Drake2002-03-161-1/+1
|
* Markup error: braces not properly marked in dictionary displayFred Drake2002-03-161-1/+1
| | | | | grammer productions. Fixes SF bug #520959.
* Clarify the descriptions of the positive and negative lookbehind assertions.Fred Drake2002-03-161-9/+30
| | | | | Added examples of positive lookbehind assertions. This closes SF bug #529708.
* pdfTeX 0.13 and 0.14 do not agree on the name of the macro, and I will notFred Drake2002-03-161-0/+8
| | | | | | 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.
* Revise the markup related to the grammar productions to increase theFred Drake2002-03-157-98/+95
| | | | | | level of predictability. This is not really "good" markup, but is arguably better than we had before. This closes SF bug #523117.
* Make the release status obvious in the title area.Fred Drake2002-03-152-2/+2
|
* Update to reflect changes in the extending & embedding doc.Fred Drake2002-03-151-1/+1
|
* Wrap a couple of long lines.Fred Drake2002-03-151-2/+4
|
* Patch #527427: minidom fails to use NodeList sometimes.Martin v. Löwis2002-03-151-4/+4
|
* backport gvanrossum's checkin ofMichael W. Hudson2002-03-151-0/+12
| | | | | | | | revision 1.120 of test_descr.py Test for the fix I just checked in to moduleobject.c. Bugfix candidate.
* backport gvanrossum's checkin ofMichael W. Hudson2002-03-151-7/+19
| | | | | | | | | | | | | | 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.
* backport akuchling's checkin ofMichael W. Hudson2002-03-151-0/+1
| | | | | | | | | | | | 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