summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace sequential split/join calls on strings with a single replace call.Brett Cannon2004-03-232-11/+5
| | | | Thanks Andrew Gaul.
* Convert input to a string object. Fixes #909230.Martin v. Löwis2004-03-231-0/+1
| | | | Backported 2.3.
* ...for work done at PyCon 2004 (and beyond...)Nicholas Bastin2004-03-231-0/+1
|
* Make socket.sslerror a subclass of socket.error .Brett Cannon2004-03-234-1/+9
| | | | Added socket.error to the socket module's C API.
* more markup nitsFred Drake2004-03-231-12/+13
|
* Replace code in urllib for basejoin (undocumented) with urlparse.urljoin .Brett Cannon2004-03-231-59/+2
| | | | | | | Test suites for urllib and urlparse run with each other's function to verify correctness of replacement and both test suites pass. Bumped urllib's __version__ attribute up a minor number.
* fix markup nitsFred Drake2004-03-231-4/+4
|
* add the distutils modules to the global modules listFred Drake2004-03-231-1/+3
|
* Add runctx to __all__.Guido van Rossum2004-03-231-1/+1
|
* give the document indexesFred Drake2004-03-231-0/+16
|
* - use recommended Python style in examples (no spaces around "=" forFred Drake2004-03-231-59/+83
| | | | | | | | keyword args) - format multi-line calls to distutils.core.setup() consistently, and in line with general practice (one keyword arg per line, comma/newline after the last - fix a few typos
* Added command line options for profile.py - one for stats output fileNicholas Bastin2004-03-233-13/+39
| | | | and one for sort order when using stdout. Uses optparse.
* merge Anthony Baxter's distutils API reference into the packageFred Drake2004-03-231-1/+1541
| | | | author's documentation
* 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
|