summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test for lack of implicit return line eventNicholas Bastin2004-03-221-9/+27
|
* Fix for line events in the case:Armin Rigo2004-03-221-1/+31
| | | | | | | | def f(a): if a: print 5 else: pass
* Patch #871657: Set EDOM for `nan' return values on FreeBSD and OpenBSD.Hye-Shik Chang2004-03-222-12/+25
| | | | This fixes a problem that math.sqrt(-1) doesn't raise math.error.
* New parser. Next up, making the current parser use this parserAnthony Baxter2004-03-221-0/+362
|
* Added configure check for broken poll() on some unix systems (MacOS X 10.3)Nicholas Bastin2004-03-214-7/+128
| | | | Fixes SF Bug #850981
* SF bug 847019 datetime.datetime initialization needs more strict checkingTim Peters2004-03-212-2/+30
| | | | | | | | | It's possible to create insane datetime objects by using the constructor "backdoor" inserted for fast unpickling. Doing extensive range checking would eliminate the backdoor's purpose (speed), but at least a little checking can stop honest mistakes. Bugfix candidate.
* Restored revision 2.87.Armin Rigo2004-03-211-12/+5
|
* Change parse_qsl() to accept control-name's with no equal sign (e.g., "name")Brett Cannon2004-03-211-1/+5
| | | | when keep_blank_values is true.
* Remove 'now'Andrew M. Kuchling2004-03-211-1/+1
|
* PyTuple_New(): vrbl i no longer referenced, so removed it (which killsTim Peters2004-03-211-1/+1
| | | | off a new compiler wng under MSVC6).
* Normalized files in test_unicode_file to eliminate failure on OSXNicholas Bastin2004-03-211-9/+29
|
* This is the fastest I could get on Intel GCC. I kept the memset() in to clearArmin Rigo2004-03-211-4/+11
| | | | | | | | the newly created tuples, but tuples added in the freelist are now cleared in tupledealloc already (which is very cheap, because we are already Py_XDECREF'ing all elements anyway). Python should have a standard Py_ZAP macro like ZAP in pystate.c.
* Changed file.name to be the object passed as the 'name' argument to file()Nicholas Bastin2004-03-212-17/+23
| | | | Fixes SF Bug #773356
* [Part of patch #909005] Added map parameter for file_dispatcher and ↵Andrew M. Kuchling2004-03-211-4/+4
| | | | dispatcher_with_send
* [Part of patch #909005] Repeating exception changed from 'raise ↵Andrew M. Kuchling2004-03-211-5/+5
| | | | socket.error, why' to just raise. Make use of connect_ex() raise socket.error with 2-tuple instead of just error code
* [Part of patch #909005] Remove Mac code for writableAndrew M. Kuchling2004-03-211-8/+2
|
* [Part of patch #909005] Set initial poll flagsAndrew M. Kuchling2004-03-211-2/+2
|
* [Part of patch #909005] Use True/FalseAndrew M. Kuchling2004-03-211-13/+13
|
* Bug #920575: Add a workaround for GNU libc nl_langinfo()'s returning NULL.Hye-Shik Chang2004-03-212-2/+9
| | | | (Reported by Matthias Klose)
* [Patch #900071] Be case-insensitive when removing 'usage:' stringAndrew M. Kuchling2004-03-211-1/+1
|
* [Part of patch #909005] Handle POLLPRI flag, and various errors cases. ↵Andrew M. Kuchling2004-03-211-1/+3
| | | | Fixes bug #887279
* [Patch #918212] Support XHTML's 'id' attribute, which can be on any element.Andrew M. Kuchling2004-03-212-6/+31
|
* [Patch #905863] Support the CVS version of Tcl/Tk, which has the version ↵Andrew M. Kuchling2004-03-211-1/+1
| | | | number 8.5
* [Patch #850977] Detect Tcl/Tk libraries on FreeBSD/OpenBSD. Bugfix candidateAndrew M. Kuchling2004-03-211-7/+15
|
* Update URLsAndrew M. Kuchling2004-03-211-2/+2
|
* Moved tracebackobject to traceback.h, Closes SF Bug #497067Nicholas Bastin2004-03-213-24/+27
|
* Fix typo in comment.Raymond Hettinger2004-03-211-1/+1
|
* SF bug 917108: warnings.py does not define _test().Tim Peters2004-03-211-8/+3
| | | | Removed the entire __name__ == '__main__' block.
* Add identity shortcut to PyObject_RichCompareBool.Raymond Hettinger2004-03-211-1/+11
|
* Modified string.split documentation to reflect behaviour of splitting emtpy ↵Nicholas Bastin2004-03-211-0/+5
| | | | string. Closes SF bug #811604
* recursive_isinstance(), recursive_issubclass(): New code here returnedTim Peters2004-03-211-2/+2
| | | | | NULL in case of error, but the functions are declared to return int. MSVC 6 properly complains about that. Return -1 on error instead.
* [693255] also back out corresponding NEWS item...Just van Rossum2004-03-211-2/+0
|
* concrete example of why retaining old objects is goodSkip Montanaro2004-03-211-1/+9
|
* Patch #853488: Tix hlist missing entryconfigure and entrycget methods.Martin v. Löwis2004-03-211-0/+2
|
* Patch #853488: Add hlist entry_configure and entry_cget methods.Martin v. Löwis2004-03-211-0/+11
|
* Remove unused instance attributes.Neil Schemenauer2004-03-211-2/+0
|
* Improve byte coding for multiple assignments.Raymond Hettinger2004-03-212-3/+77
| | | | Gives 30% speedup on "a,b=1,2" and 25% on "a,b,c=1,2,3".
* Removed extra period from \versionchanged entry; macro adds periodBrett Cannon2004-03-211-1/+1
| | | | automatically.
* Back out last patch that removed an entry from sys.path if it was not anBrett Cannon2004-03-211-1/+1
| | | | | existent path. Pointed out by jvr that entries could be non-file items for custom importers.
* Deal with case of when locale time values has characters that can be mistakenBrett Cannon2004-03-201-2/+14
| | | | | for regex syntax. Fixes bug #883604 .
* Limit the nesting depth of a tuple passed as the second argument toBrett Cannon2004-03-203-10/+58
| | | | isinstance() or issubclass() to the recursion limit of the interpreter.
* Fix for SF 780407.Guido van Rossum2004-03-201-1/+1
| | | | | Change %08l to %p to print a pointer. Will backport to 2.3.
* Get rid of listextend_internal() and explain why the special caseArmin Rigo2004-03-201-51/+25
| | | | 'a.extend(a)' isn't so special anyway.
* Fix for SF 777848.Guido van Rossum2004-03-201-6/+5
| | | | | | I've been bitten by this myself in the past half year. I hope this fix is right. I'll backport this to 2.3.
* SF patch 508730 CGIHTTPServer execfile should save cwdTim Peters2004-03-201-1/+3
| | | | | | | | | | | UNTESTED!!! This simple two-line patch has been sitting on SF for more than 2 years. I'm guessing it's because nobody knows how to test it -- I sure don't. It doesn't look like you can get to this part of the code on Unixish or Windows systems, so the "how to test it?" puzzle has more than one part. OTOH, if this is dead code, it doesn't matter either if I just broke it <wink>.
* Cancelled checkin, sorry.Armin Rigo2004-03-201-10/+6
|
* Clarify docs on where .pth files can exist.Brett Cannon2004-03-201-1/+2
|
* memset() hunt continuing. This is a net win.Armin Rigo2004-03-201-1/+3
|
* Remove non-existent paths.Brett Cannon2004-03-202-1/+3
|
* memset() with small memory sizes just kill us.Armin Rigo2004-03-201-2/+4
|