summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a small bug when sys.argv[0] has an absolute path.Thomas Heller2002-11-071-1/+1
| | | | See http://mail.python.org/pipermail/distutils-sig/2002-November/003039.html
* Document the changed fdopen behaviour.Thomas Heller2002-11-071-0/+4
| | | | (Hope the markup is ok).
* NEWS entry for the changed fdopen function.Thomas Heller2002-11-071-0/+4
|
* Enforce valid filemode. Fixes SF Bug #623464.Thomas Heller2002-11-071-0/+6
|
* Try linking the major/minor test program. Fixes #634444.Martin v. Löwis2002-11-072-9/+9
|
* Fixed sre bug "[#581080] Provoking infinite scanner loops".Gustavo Niemeyer2002-11-072-4/+11
| | | | | | | | | | | | | | | | This bug happened because: 1) the scanner_search and scanner_match methods were not checking the buffer limits before increasing the current pointer; and 2) SRE_SEARCH was using "if (ptr == end)" as a loop break, instead of "if (ptr >= end)". * Modules/_sre.c (SRE_SEARCH): Check for "ptr >= end" to break loops, so that we don't hang forever if a pointer passing the buffer limit is used. (scanner_search,scanner_match): Don't increment the current pointer if we're going to pass the buffer limit. * Misc/NEWS Mention the fix.
* Script to create .app bundles. Largely untested.Jack Jansen2002-11-061-0/+160
|
* Add --check-tkinter to setup.py. Install IDLE. Fixes #634078.Martin v. Löwis2002-11-063-6/+31
|
* Use column= rather than col=; with Tk 8.4 col= no longer works.Guido van Rossum2002-11-061-3/+3
| | | | [SF patch 634250 -- that was an IDLEFORK patch.]
* Fixed bug "[#466200] ability to specify a 'verify' script".Gustavo Niemeyer2002-11-062-1/+8
| | | | | | | | | | | * Lib/distutils/command/bdist_rpm.py (bdist_rpm.initialize_options): Included verify_script attribute. (bdist_rpm.finalize_package_data): Ensure that verify_script is a filename. (bdist_rpm._make_spec_file): Included verify_script in script_options tuple. * Misc/NEWS Mention change.
* Add next() and __iter__() methods to StreamReader, StreamReaderWriterWalter Dörwald2002-11-062-0/+30
| | | | | | and StreamRecoder. This closes SF bug #634246.
* Make int("...") return a long if an int would overflow.Walter Dörwald2002-11-063-26/+31
| | | | | | Also remove the 512 character limitation for int(u"...") and long(u"..."). This closes SF bug #629989.
* Fix NameError exception ('name' undefined)Andrew M. Kuchling2002-11-061-0/+1
|
* Handle really big steps in extended slices.Michael W. Hudson2002-11-062-6/+3
| | | | Fixes a test failure on 64 bit platforms (I hope).
* Fix docstring typosAndrew M. Kuchling2002-11-061-2/+2
|
* Old change (probably suggested by Jason Tishler) The GNU/Windows compiler is ↵Andrew M. Kuchling2002-11-061-10/+9
| | | | now called MinGW
* [Patch #633635 from David M. Cooke]Andrew M. Kuchling2002-11-061-1/+1
| | | | Make docs accurate; getch() in nodelay mode returns -1
* [Patch #633635 from David M. Cooke]Andrew M. Kuchling2002-11-061-6/+14
| | | | | | Make keyname raise ValueError if passed -1, avoiding a segfault Make getkey() match the docs and raise an exception in nodelay mode The return type of getch() is int, not chtype
* Fixed bug #470582, using a modified version of patch #527371,Gustavo Niemeyer2002-11-064-18/+33
| | | | | | | | | | | | | | | | | | | from Greg Chapman. * Modules/_sre.c (lastmark_restore): New function, implementing algorithm to restore a state to a given lastmark. In addition to the similar algorithm used in a few places of SRE_MATCH, restore lastindex when restoring lastmark. (SRE_MATCH): Replace lastmark inline restoring by lastmark_restore(), function. Also include it where missing. In SRE_OP_MARK, set lastindex only if i > lastmark. * Lib/test/re_tests.py * Lib/test/test_sre.py Included regression tests for the fixed bugs. * Misc/NEWS Mention fixes.
* Fix for bug 631247: configure should test the build directory forJack Jansen2002-11-062-3/+13
| | | | being on a case-insensitive filesystem, not the source directory.
* Skip the test_nocaret test when running as jython. Jython happens to addFinn Bock2002-11-061-1/+4
| | | | a caret in this case too.
* Make the test pass for jython where there are no sys.executable.Finn Bock2002-11-061-3/+7
|
* By default when getting the search menu, the currently highligtedChui Tey2002-11-062-2/+6
| | | | text is the search term.
* Fix minor wording and 2 typosNeal Norwitz2002-11-051-3/+3
|
* Support sdist.Martin v. Löwis2002-11-051-0/+4
|
* Whoops, fix the typo correctly this timeNeal Norwitz2002-11-051-2/+2
|
* Use PyOS_snprintf() instead of sprintf and wrap the long lineNeal Norwitz2002-11-051-2/+4
|
* Add an entry for pdb's new `pp' command.Barry Warsaw2002-11-051-0/+3
|
* Document the new `pp' command.Barry Warsaw2002-11-051-0/+5
|
* Implement a `pp' command, which is like `p' except that itBarry Warsaw2002-11-051-6/+21
| | | | pretty-prints the value of its expression argument.
* Fix minor typosNeal Norwitz2002-11-051-2/+2
|
* Minor cleanups, markup.Fred Drake2002-11-051-2/+2
|
* Document that images go away when they go away. Fixes #632323.Martin v. Löwis2002-11-051-0/+18
|
* parse(), _parseheaders(), _parsebody(): A fix for SF bug #633527,Barry Warsaw2002-11-051-9/+22
| | | | | | | | | | | | | | | | | | where in lax parsing, the first non-header line after a header block (e.g. the first line not containing a colon, and not a continuation), can be treated as the first body line, even without the RFC mandated blank line separator. rfc822 had this behavior, and I vaguely remember problems with this, but can't remember details. In any event, all the tests still pass, so I guess we'll find out. ;/ This patch works by returning the non-header, non-continuation line from _parseheader() and using that as the first header line prepended to fp.read() if given. It's usually None. We use this approach instead of trying to seek/tell the file-like object.
* test_no_separating_blank_line(): A test for SF bug #633527, noBarry Warsaw2002-11-051-16/+36
| | | | | | separating blank line between a header block and body text. Tests both lax and strict parsing.
* A message with no separating blank line between the headers and theBarry Warsaw2002-11-051-0/+4
| | | | body. A test message for SF bug #633527.
* test_text_plain_in_a_multipart_digest(): A test of the fix for SF bugBarry Warsaw2002-11-051-0/+4
| | | | | #631350, where a subobject in a multipart/digest isn't a message/rfc822.
* _parsebody(): A fix for SF bug #631350, where a subobject in aBarry Warsaw2002-11-051-2/+6
| | | | | | | | | | multipart/digest isn't a message/rfc822. This is legal, but counter to recommended practice in RFC 2046, $5.1.5. The fix is to look at the content type after setting the default content type. If the maintype is then message or multipart, attach the parsed subobject, otherwise use set_payload() to set the data of the other object.
* Test case, distilled from SF bug #631350, where a subobject in aBarry Warsaw2002-11-051-0/+19
| | | | | multipart/digest isn't a message/rfc822. This is legal, but counter to recommended practice in RFC 2046, $5.1.5.
* Another round on SF patch 618135: gzip.py and files > 2GTim Peters2002-11-052-7/+15
| | | | | | | | | | The last round boosted "the limit" from 2GB to 4GB. This round gets rid of the 4GB limit. For files > 4GB, gzip stores just the last 32 bits of the file size, and now we play along with that too. Tested by hand (on a 6+GB file) on Win2K. Boosting from 2GB to 4GB was arguably enough "a bugfix". Going beyond that smells more like "new feature" to me.
* Repair inconsistent use of tabs and spaces.Jeremy Hylton2002-11-051-1/+1
|
* Remove use of string module and reflow a couple of long lines.Jeremy Hylton2002-11-051-10/+10
|
* Bump __version__ (yes, to 2.5 "minus")Barry Warsaw2002-11-051-1/+1
|
* Jason Mastaler's patch to break the dependence on rfc822.py for theBarry Warsaw2002-11-052-5/+446
| | | | address parsing routines. Closes SF patch #613434.
* * bzmodule.cGustavo Niemeyer2002-11-051-3/+3
| | | | More fixes of XDECREF'd values not initialized.
* Fix an old bug in poll(). When a signal is handled while we'reGuido van Rossum2002-11-051-0/+2
| | | | | | | | | | | | blocked in select(), this will raise select.error with errno set to EINTR. The except clauses correctly ignores this error, but the rest of the logic will then call read() for all objects in select's *input* list of read file descriptors. Then when an object's read_handler() is naive, it will call recv() on its socket, which will raise an IOError, and then asyncore decides to close the socket. To fix this, we simply return in this case. Backport candidate.
* Fix SF #633935, test_bz2 failsNeal Norwitz2002-11-051-1/+1
| | | | | Needed to init ret since it was Py_XDECREF()d on error. All regressions pass in debug build for me.
* Use PyList_CheckExact and PyTuple_CheckExact for checking whetherMichael W. Hudson2002-11-051-1/+1
| | | | PySequence_Fast needs to do anything siginificant.
* Fix a few minor nits. Still need to actually proofread this.Fred Drake2002-11-051-15/+18
|
* This is Alex Martelli's patchMichael W. Hudson2002-11-052-9/+16
| | | | | | [ 633870 ] allow any seq assignment to a list slice plus a very silly little test case of my own.