summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add more example exceptions that unpickling can raise.Neil Schemenauer2002-03-221-1/+2
|
* Handle os.listdir("") case correctly on Windows. Closes bug 500705.Neil Schemenauer2002-03-221-4/+5
|
* Disallow open()ing of directories. Closes SF bug 487277.Neil Schemenauer2002-03-221-0/+28
|
* better solution for bug #533234 courtesy of Tim.Skip Montanaro2002-03-221-1/+2
| | | | Michael: use this version as the bugfix candidate...
* guarantee that the dst flag of synthetic "time" tuples passed to strftimeSkip Montanaro2002-03-221-1/+1
| | | | is always 0. This closes bug #533234.
* use stat attributes instead of tuple entriesWalter Dörwald2002-03-221-3/+2
| | | | and remove the unneccessary "import stat" statement.
* Fix broken HTML in the head; this was reported by a user as causing Opera 6.01Fred Drake2002-03-221-1/+1
| | | | | to crash. The user has reported the problem to Opera, but we still should generate something that passes for HTML.
* Add news about pymalloc being enabled.Neil Schemenauer2002-03-221-0/+9
|
* Use pymalloc for realloc() as well.Neil Schemenauer2002-03-221-2/+2
|
* Revert part of previous patch: several install_* subcommands expectAndrew M. Kuchling2002-03-221-1/+1
| | | | | | | | .compile to be None, and set it to true if it is. Caught by Pearu Peterson. Bugfix candidate, if the previous change is accepted for release22-maint.
* Enable pymalloc by default.Neil Schemenauer2002-03-222-341/+359
|
* Use pymalloc if it's enabled.Neil Schemenauer2002-03-227-24/+24
|
* Add pymalloc object memory management functions. These must beNeil Schemenauer2002-03-221-0/+24
| | | | | available even if pymalloc is disabled since extension modules might use them.
* Make PyObject_{NEW,New,Del,DEL} always use the standard malloc (PyMem_*)Neil Schemenauer2002-03-221-8/+23
| | | | | | and not pymalloc. Add the functions PyMalloc_New, PyMalloc_NewVar, and PyMalloc_Del that will use pymalloc if it's enabled. If pymalloc is not enabled then they use the standard malloc (PyMem_*).
* Generate with weaklink stubs, so missing routines (on MacOS 8.6 and earlier)Jack Jansen2002-03-222-2/+188
| | | | | | don't cause import failure. Fixes 531398, 2.2.1 candidate.
* - Weaklink InterfaceLib in _Res moduleJack Jansen2002-03-221-3/+6
| | | | | | | - forgot to pass libraryflags and stdlibraryflags on to ppc/carbon project generation. First half of fix to 531398.
* Enable pymalloc by default in the Windows build.Tim Peters2002-03-221-3/+6
|
* Add a simple test suite for netrc.py, and remove it from test_sundryAndrew M. Kuchling2002-03-222-1/+43
|
* SF bug 533198: Complex power underflow raises exception.Tim Peters2002-03-221-3/+9
| | | | | | | | | | | | | | | | | | | | | | | Konrad was too kind. Not only did it raise an exception, the specific exception it raised made no sense. These are old bugs in complex_pow() and friends: 1. Raising 0 to a negative power isn't a range error, it's a domain error, so changed c_pow() to set errno to EDOM in that case instead of ERANGE. 2. Changed complex_pow() to: A. Used the Py_ADJUST_ERANGE2 macro to try to clear errno of a spurious ERANGE error due to underflow in the libm pow() called by c_pow(). B. Produced different exceptions depending on the errno value: i) For errno==EDOM, raise ZeroDivisionError instead of ValueError. This is for consistency with the non-complex cases 0.0**-2 and 0**-2 and 0L**-2. ii) For errno==ERANGE, raise OverflowError. Bugfix candidate.
* [Bug #532115] netrc module was brokenAndrew M. Kuchling2002-03-221-11/+9
| | | | | | | | * 'macdef' (macro definition) wasn't parsed correctly * account value not reset for a subsequent 'default' line * typo: 'whitepace' -> 'whitespace' Bugfix candidate.
* [Bug #532136] Change path in README, as suggested by Ralph CorderoyAndrew M. Kuchling2002-03-211-2/+2
| | | | Bugfix candidate.
* Add missing Boolean optionsAndrew M. Kuchling2002-03-211-3/+2
| | | | | | | Remove unused no_compile flag Initialize the Boolean attribute .compile to 0 instead of None Bugfix candidate.
* Add unlisted Boolean options. Thomas H., can you please check that IAndrew M. Kuchling2002-03-211-1/+2
| | | | | | got this right? Bugfix candidate, unless Thomas notes a problem.
* [Bug #517451] bdist_rpm didn't list all of its Boolean options.Andrew M. Kuchling2002-03-211-1/+1
| | | | | | (Someone should check the other commands for this same error.) Bugfix candidate.
* Added an open_pathname() method which opens a resource file by pathname,Jack Jansen2002-03-211-7/+12
| | | | possibly converting from AppleSingle.
* For reasons I don't fully understand we sometimes get unexpected eventsJack Jansen2002-03-212-2/+8
| | | | | in MachoPython. As we don't have MacOS.HandleEvent() we drop these on the floor (with a print).
* Solve sync() signature conflict differently: manually return 0 ifJack Jansen2002-03-211-3/+5
| | | | we have GUSI's void sync().
* New checkin to convert from BinHex to AppleSingle encoding.Jack Jansen2002-03-211-0/+0
|
* Patch #532729: check for sem_init in -lrt.Martin v. Löwis2002-03-213-264/+313
|
* Fix grammarNeal Norwitz2002-03-211-1/+1
|
* [Apply SF patch #504943]Walter Dörwald2002-03-213-6/+23
| | | | | | This patch makes it possible to pass Warning instances as the first argument to warnings.warn. In this case the category argument will be ignored. The message text used will be str(warninginstance).
* Do not insert characters for unicode-escape decoders if the error modeMartin v. Löwis2002-03-212-14/+32
| | | | is "ignore". Fixes #529104.
* [Apply patch #500457 from the PyXML tracker]Andrew M. Kuchling2002-03-201-0/+9
| | | | | | Add iterator support to pulldom.DOMEventStream New feature, so not a bugfix candidate (though it should be safe for inclusion)
* Remove compiler warnings on Solaris 8.Neal Norwitz2002-03-204-3/+5
| | | | Can go into 2.2.x, but not necessary.
* Change raw "except:" constructs to pass on KeyboardInterrupt.Tim Peters2002-03-201-0/+4
| | | | | Bugfix candidate? Don't know -- never bothered me, but it's minor either way.
* SF# 522426, add doc for common parameter for filecmp.cmpfiles()Neal Norwitz2002-03-201-0/+1
|
* Make GzipFile an iterator. Closes bug #532621.Neil Schemenauer2002-03-201-0/+10
|
* Arrange to export the _PyMalloc_{Malloc, Realloc, Free} entry points. OnTim Peters2002-03-201-3/+3
| | | | | | | | | | | | | Windows some modules are considered (by me, and I don't care what anyone else thinks about this <wink>) to be part of "the core" despite that they happen to be compiled into separate DLLs (the "to DLL or not to DLL?" question on Windows is nearly arbitrary). Making the pymalloc entry points available to them allows the Windows build to complete without incident when WITH_PYMALLOC is #define'd. Note that this isn't unprecedented. Other "private API" functions we export include _PySequence_IterSearch, _PyEval_SliceIndex, _PyCodec_Lookup, _Py_ZeroStruct, _Py_TrueStruct, _PyLong_New and _PyModule_Clear.
* A faster version of the find_prefix_at_end() function (that I found in theAndrew M. Kuchling2002-03-201-9/+7
| | | | | | last Medusa release) Should be safe as a bugfix candidate, though it's not fixing a bug.
* [Bug #528914] PyTraceBack_Store/Fetch were deleted in 1997, but theirAndrew M. Kuchling2002-03-191-3/+1
| | | | | | prototypes remain. Noted by Yakov Markovitch. Bugfix candidate.
* Expand LINKCC in configure.in. Suggested in bug report #529713.Martin v. Löwis2002-03-192-5/+5
|
* Adjust some poor wording in the text that explains what events are usedFred Drake2002-03-191-27/+29
| | | | | for (reported by Keith Briggs). Wrap some very long lines.
* Clarify that copy_reg.pickle() is not intended for use with "classic" classes.Fred Drake2002-03-191-3/+5
| | | | | | This was stated before, but a minor grammatical error made it difficult to be sure of the meaning. This closes SF bug #530143.
* Record 2.2.1c1 release date.Tim Peters2002-03-191-1/+1
|
* [Bug #531616] Make HTTPS work again by adding a sendall method to theAndrew M. Kuchling2002-03-181-0/+3
| | | | | | | | | | FakeSocket class. Without it, the sendall() call got the method on the underlying socket object, and that messed up SSL. Does httplib use other methods of sockets that FakeSocket doesn't support? Someone should take a look... (I'll try to give it a once-over.) 2.2.1 bugfix candidate.
* To make 'urllib.py -t' run again, change FTP URL to a file that actuallyAndrew M. Kuchling2002-03-181-1/+1
| | | | exists.
* use -kb on idle/Icons/minusnode.gif ("cvs up" kept checking it out allFredrik Lundh2002-03-181-0/+0
| | | | the time...)
* Drop the PyCore_* memory API.Neil Schemenauer2002-03-184-92/+71
|
* Re-enable GC of generator objects.Neil Schemenauer2002-03-181-6/+6
|
* Re-enable GC of method objects.Neil Schemenauer2002-03-181-7/+6
|