Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch by Tony Lownds: build an IDLE applet too, if _tkinter is available. | Jack Jansen | 2002-09-12 | 1 | -1/+21 |
| | | | | I modified the patch to make it a non-fatal error if IDLE isn't built. | ||||
* | Patch by Tony Lownds: add the Resources directory to sys.path. | Jack Jansen | 2002-09-12 | 1 | -0/+6 |
| | |||||
* | Merge from DS_RPC_BRANCH | Kurt B. Kaiser | 2002-09-12 | 1 | -2/+2 |
| | | | | | Modified Files: INSTALL.txt | ||||
* | Remove unnecessary imports | Neal Norwitz | 2002-09-12 | 1 | -4/+0 |
| | |||||
* | Remove unused local variables | Neal Norwitz | 2002-09-12 | 2 | -2/+0 |
| | |||||
* | Remove unnecessary imports | Neal Norwitz | 2002-09-12 | 7 | -10/+0 |
| | |||||
* | When testing for localhost/ first map to lower case. Spotted by Skip. | Jack Jansen | 2002-09-12 | 1 | -1/+1 |
| | |||||
* | Treat file://localhost/ as local too (same as file:/ and file:///). | Jack Jansen | 2002-09-12 | 1 | -1/+1 |
| | | | | Fixes #607789, bugfix candidate. | ||||
* | Mode rU for universal newlines, not rT. Spotted by Guido. | Jack Jansen | 2002-09-12 | 1 | -2/+2 |
| | |||||
* | Minor revision to the "\\" patch, including updating the docs a little to | Fred Drake | 2002-09-12 | 1 | -5/+6 |
| | | | | | | | | accomodate the fact that they are more general now that they are for the os.path module and not just posixpath. This and the previous patch should be combined and applied to the 2.2-maint branch. | ||||
* | add note about os.path.join and drive letters on Windows. | Skip Montanaro | 2002-09-12 | 1 | -1/+4 |
| | |||||
* | If PyXML is installed, there is no Node.allnodes, so that portion of | Fred Drake | 2002-09-12 | 1 | -11/+22 |
| | | | | the test should be skipped if that's the case. | ||||
* | Relax a test so it passes either with the standard library or PyXML. | Fred Drake | 2002-09-12 | 1 | -1/+1 |
| | | | | | | The original expected value is actually wrong, but we'll pick up the real fix and test when we refresh the xml package from PyXML before 2.3a1. | ||||
* | Fix warnings on 64-bit platforms about casts from pointers to ints. | Guido van Rossum | 2002-09-12 | 3 | -3/+5 |
| | | | | Two of these were real bugs. | ||||
* | Only build the 'dl' extension when sys.maxint equals 2**31-1. | Guido van Rossum | 2002-09-12 | 1 | -3/+5 |
| | | | | | This module raises "SystemError: module dl requires sizeof(int) == sizeof(long) == sizeof(char*)" when compiled on 64-bit platforms. | ||||
* | Remove another mention of "import string". | Walter Dörwald | 2002-09-12 | 1 | -3/+2 |
| | | | | | The file itself still mentions Python 1.5.1, so it might need further updates. | ||||
* | Fix typo reported by Paul Clifford. | Fred Drake | 2002-09-12 | 1 | -1/+3 |
| | | | | Note that there is no str.joinfields(), use str.join() instead. | ||||
* | Fix for platforms where int != long. | Michael W. Hudson | 2002-09-12 | 1 | -1/+1 |
| | |||||
* | Undocumented feature: MHMailbox sets the msg object's _mh_msgno | Guido van Rossum | 2002-09-12 | 1 | -1/+12 |
| | | | | | | | | attribute to the (stringized) message number (if this attribute is settable). This is useful so users of this class can report the correct message number (e.g. when classifying spam). Also added a blank line before the first method of each class. | ||||
* | I don't think it's safe to use map.iteritems() in the various poll | Guido van Rossum | 2002-09-12 | 1 | -103/+107 |
| | | | | | | | | | | | | | | routines. I got some errors "dictionary changed size during iteration" when running ZEO tests on machine while doing heavy forground work in another window, and thinking about it, I believe that it should be okay if readable() or writable() modifies the map. I also finally made all the spacing conform to the Python style guide: no space between a function/method name and the following left parenthesis (fixed lots of occurrences), spaces around assignment operators (fixed a few, always of the form "map=..."), and a blank line between the class statement and the first method definition (a few). | ||||
* | Bump to 2.3.1 to pick up the missing file. | Barry Warsaw | 2002-09-12 | 1 | -1/+1 |
| | |||||
* | Pass None to AHGotoPage(). | Jack Jansen | 2002-09-11 | 1 | -1/+1 |
| | |||||
* | The debugger source view only understood mac-style linefeeds. Fixed. | Jack Jansen | 2002-09-11 | 1 | -2/+3 |
| | |||||
* | Revise text about the level of DOM support, and provide pointers to | Fred Drake | 2002-09-11 | 1 | -23/+32 |
| | | | | | | | the work of the XML-SIG in the main body of the text. Modify the markup in a few places to avoid wrapping lines in bad places, and just general cleanliness. | ||||
* | Add Mats Wichmann, another snake farmhand. | Guido van Rossum | 2002-09-11 | 1 | -0/+1 |
| | |||||
* | Apply diff2.txt from SF patch http://www.python.org/sf/572113 | Walter Dörwald | 2002-09-11 | 70 | -346/+271 |
| | | | | | | | | (with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining. | ||||
* | Alphabetize Qvist properly. | Guido van Rossum | 2002-09-11 | 1 | -1/+1 |
| | |||||
* | Insert an overflow check when the sequence repetition count is outside | Guido van Rossum | 2002-09-11 | 1 | -3/+30 |
| | | | | | | | the range of ints. The old code would pass random truncated bits to sq_repeat() on a 64-bit machine. Backport candidate. | ||||
* | Add Laura "force of nature" Creighton and Anders "snake farmer" Qvist, | Guido van Rossum | 2002-09-11 | 1 | -0/+2 |
| | | | | for their contributions to the snake farm. | ||||
* | The list(xrange(sys.maxint / 4)) test blew up on 64-bit platforms. | Guido van Rossum | 2002-09-11 | 1 | -15/+21 |
| | | | | | | | | Because ob_size is a 32-bit int but sys.maxint is LONG_MAX which is a 64-bit value, there's no way to make this test succeed on a 64-bit platform. So just skip it when sys.maxint isn't 0x7fffffff. Backport candidate. | ||||
* | Patch suggested by Hamish Lawson: add an __iter__() that returns | Guido van Rossum | 2002-09-11 | 1 | -0/+3 |
| | | | | iter(self.keys()). | ||||
* | Fix *really* embarrassing typo reported by Raymond Hettinger. | Michael W. Hudson | 2002-09-11 | 1 | -1/+1 |
| | |||||
* | Use distutils.debug.DEBUG instead of distutils.core.DEBUG. | Jeremy Hylton | 2002-09-11 | 7 | -11/+9 |
| | | | | | Note that distutils.core.DEBUG still works if client code uses it, but the core code avoids circular references by using distutils.debug. | ||||
* | Define DEBUG in a separate module to resolve circular references. | Jeremy Hylton | 2002-09-11 | 1 | -0/+6 |
| | |||||
* | Remove mentioning of Python 2.0 limitations. Fixes #607783. | Martin v. Löwis | 2002-09-11 | 1 | -10/+10 |
| | |||||
* | Untested code for 64-bit platforms. range_length() is declared as int | Guido van Rossum | 2002-09-11 | 1 | -1/+8 |
| | | | | | | | | | | but returns r->len which is a long. This doesn't even cause a warning on 32-bit platforms, but can return bogus values on 64-bit platforms (and should cause a compiler warning). Fix this by inserting a range check when LONG_MAX != INT_MAX, and adding an explicit cast to (int) when the test passes. When r->len is out of range, PySequence_Size() and hence len() will report an error (but an iterator will still work). | ||||
* | A slight change to SET_LINENO-less tracing. | Michael W. Hudson | 2002-09-11 | 5 | -12/+59 |
| | | | | | This makes things a touch more like 2.2. Read the comments in Python/ceval.c for more details. | ||||
* | Bunch more tests. | Michael W. Hudson | 2002-09-11 | 1 | -9/+83 |
| | |||||
* | get_payload(): Document that calling it with no arguments returns a | Barry Warsaw | 2002-09-11 | 1 | -2/+3 |
| | | | | reference to the payload. | ||||
* | Ignore IOError exceptions when writing the message. | Mark Hammond | 2002-09-11 | 1 | -1/+4 |
| | |||||
* | test_both(): I believe this was a typo: m is only defined if no | Barry Warsaw | 2002-09-11 | 1 | -1/+1 |
| | | | | | | | | | | | | exception occurred so it should only be closed in the else clause. Without this change we can an UnboundLocalError on Linux: Traceback (most recent call last): File "Lib/test/test_mmap.py", line 304, in ? test_both() File "Lib/test/test_mmap.py", line 208, in test_both m.close() UnboundLocalError: local variable 'm' referenced before assignment | ||||
* | test_quote_unquote(): Added a test for the rfc822.unquote() patch | Barry Warsaw | 2002-09-11 | 1 | -0/+6 |
| | | | | (adapted from Quinn Dunkan's mimelib SF patch #573204). | ||||
* | unquote(): Didn't properly de-backslash-ify. This patch (adapted from | Barry Warsaw | 2002-09-11 | 1 | -3/+3 |
| | | | | Quinn Dunkan's mimelib SF patch #573204) fixes the problem. | ||||
* | test_utils_quote_unquote(): Test for unquote() properly | Barry Warsaw | 2002-09-11 | 1 | -0/+7 |
| | | | | de-backslash-ifying. | ||||
* | rfc822.unquote() doesn't properly de-backslash-ify in Python prior to | Barry Warsaw | 2002-09-11 | 1 | -1/+12 |
| | | | | | 2.3. This patch (adapted from Quinn Dunkan's SF patch #573204) fixes the problem and should get ported to rfc822.py. | ||||
* | Converted to Vise 8. | Jack Jansen | 2002-09-11 | 1 | -0/+0 |
| | |||||
* | Clarify who maintains Tkinter and who maintains Tk. | Fred Drake | 2002-09-10 | 1 | -3/+4 |
| | |||||
* | At Jim Fulton's request, increase the maxstring value of _saferepr to | Guido van Rossum | 2002-09-10 | 1 | -1/+7 |
| | | | | | | a more reasonable value. Backport candidate. | ||||
* | I left some debugging junk in here; removed it. Also replaced a few | Tim Peters | 2002-09-10 | 1 | -2/+3 |
| | | | | | more instances of the bizarre "del f; del m" ways to spell .close() (del won't do any good here under Jython, etc). | ||||
* | All set for 2.3 installer, except for upgrade of Vise version. | Jack Jansen | 2002-09-10 | 1 | -0/+0 |
| |