summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Intern __name__.Martin v. Löwis2004-03-231-1/+9
|
* Decref all if ensure_fromlist fails. Fixes #876533.Martin v. Löwis2004-03-231-2/+3
| | | | Backported to 2.3.
* Basic dependency checking. setup() has two new optional argumentsAnthony Baxter2004-03-225-3/+144
| | | | | | | | | | | | | | | | | | | | | | | requires and provides. requires is a sequence of strings, of the form 'packagename-version'. The dependency checking so far merely does an '__import__(packagename)' and checks for packagename.__version__ You can also leave off the version, and any version of the package will be installed. There's a special case for the package 'python' - sys.version_info is used, so requires= ( 'python-2.3', ) just works. Provides is of the same format as requires - but if it's not supplied, a provides is generated by adding the version to each entry in packages, or modules if packages isn't there. Provides is currently only used in the PKG-INFO file. Shortly, PyPI will grow the ability to accept these lines, and register will be updated to send them. There's a new command 'checkdep' command that runs these checks. For this version, only greater-than-or-equal checking is done. We'll add the ability to specify an optional operator later.
* Patch #911176: Move test function into __main__Martin v. Löwis2004-03-221-12/+12
|
* convert from a howto to a manualFred Drake2004-03-221-29/+29
|
* Lost reference.Armin Rigo2004-03-221-6/+8
|
* Added global runctx function to profile to fix SF Bug #716587Nicholas Bastin2004-03-225-7/+46
|
* The fix in ceval.c 2.386 allows iteration-by-iteration line tracing even inArmin Rigo2004-03-221-0/+23
| | | | single-line loops.
* Fix SF bug #765624.Armin Rigo2004-03-221-5/+12
|
* Fix (really) for tight loop line eventsNicholas Bastin2004-03-221-1/+2
|
* Test for tight loop line event fix, SF bug #765624Nicholas Bastin2004-03-221-0/+25
|
* 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.