Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A few lines were indented using spaces instead of tabs -- fix them. | Guido van Rossum | 1998-03-26 | 12 | -265/+282 |
| | |||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 2 | -280/+280 |
| | |||||
* | Reindented with tabs only (seems fair to the Windows crowd). | Guido van Rossum | 1998-03-26 | 1 | -99/+99 |
| | |||||
* | Get rid of the Emacs cruft now that Python-mode guess the desired settings! | Guido van Rossum | 1998-03-26 | 2 | -8/+0 |
| | |||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 36 | -930/+930 |
| | |||||
* | Get rid of the Emacs cruft now that Python-mode guess the desired settings! | Guido van Rossum | 1998-03-26 | 1 | -6/+0 |
| | |||||
* | Support 'whence' parameter to seek(). | Guido van Rossum | 1998-03-25 | 1 | -2/+11 |
| | |||||
* | Give in to Timmy's Tedious Tab Theorem. | Guido van Rossum | 1998-03-23 | 1 | -1/+1 |
| | |||||
* | Give in to the tab police. | Guido van Rossum | 1998-03-20 | 6 | -285/+295 |
| | |||||
* | Fix indent of one line in mkarg(), that got indented badly by the | Guido van Rossum | 1998-03-19 | 1 | -1/+1 |
| | | | | recent reindent! | ||||
* | Add obvious needed else clause to format_exception(). | Guido van Rossum | 1998-03-18 | 1 | -0/+2 |
| | |||||
* | Prefer clock() over times() for timer function, except on the Mac, | Guido van Rossum | 1998-03-17 | 1 | -4/+7 |
| | | | | | where we use GetTicks() -- its clock() is a crock, with only 1 second accuracy, I believe. | ||||
* | As Mike Fletcher pointed out, a __deepcopy__() method should be called | Guido van Rossum | 1998-03-13 | 1 | -1/+1 |
| | | | | with the memo as an argument. | ||||
* | Added support for "data" URL, by Sjoerd Mullender. | Guido van Rossum | 1998-03-12 | 1 | -0/+40 |
| | |||||
* | Instead of 'import mac', use 'import os' -- this way, the path syntax | Guido van Rossum | 1998-03-03 | 1 | -9/+9 |
| | | | | | manipulation routines can be used on non-Mac platforms (e.g. to manipulate pathnames in a Mac specific archive). | ||||
* | Initialize adlist variable in getrouteaddr(), so an illegal address | Guido van Rossum | 1998-03-03 | 1 | -0/+1 |
| | | | | doesn't cause a traceback. | ||||
* | Typo (coestring -> codestring) discovered by Mark Hammond. | Guido van Rossum | 1998-03-02 | 1 | -1/+1 |
| | |||||
* | Sjoerd writes: When a multipart message is incomplete, mimify crashes. | Guido van Rossum | 1998-02-27 | 1 | -0/+6 |
| | |||||
* | New version of tb_lineno(), this time *not* using try-except, to avoid | Guido van Rossum | 1998-02-26 | 1 | -8/+8 |
| | | | | | | disturbing the current exception, and returning tb.tb_lineno, which is the line number of thr traceback, rather than the current line number. By Jim Hugunin. | ||||
* | A working version of the 'args' command (it prints the current values | Guido van Rossum | 1998-02-25 | 1 | -5/+12 |
| | | | | | of the variables known to hold arguments, but that's as close as I can get, and generally it's close enough). | ||||
* | Add test for core dump -- make sure it doesn't come back! | Guido van Rossum | 1998-02-25 | 1 | -0/+5 |
| | |||||
* | Tweak the tb_lineno() function to be compatible with JPython, which | Guido van Rossum | 1998-02-25 | 1 | -4/+8 |
| | | | | has no line number table etc. | ||||
* | Typo: baseWidht -> baseWidth. | Guido van Rossum | 1998-02-24 | 1 | -1/+1 |
| | |||||
* | Fix bug in trace_vdelete(); should use master's delete command. | Guido van Rossum | 1998-02-19 | 1 | -1/+2 |
| | |||||
* | Added debug statements to report data actually sent and received on | Guido van Rossum | 1998-02-19 | 1 | -0/+2 |
| | | | | the socket. | ||||
* | Fix for literal null bytes -- these must be replaced by the four | Guido van Rossum | 1998-02-19 | 1 | -2/+3 |
| | | | | characters \, 0, 0, 0. | ||||
* | Fixed a bug in the gauss() function. The bug was reported by Mike | Guido van Rossum | 1998-02-19 | 1 | -5/+6 |
| | | | | | | | | Miller, who complained that its kurtosis was bad, and then fixed by Lambert Meertens (author of the original algorithm) who discovered that the mathematical analysis leading to his solution was wrong, and provided a corrected version. Mike then tested the fix and reported that the kurtosis was now good. | ||||
* | Add rmd() (remove directory command); fix comment in parse257. | Guido van Rossum | 1998-02-19 | 1 | -2/+8 |
| | | | | | In login(), force passwd and acct to '' when they are None (this can happen in the test program!). | ||||
* | Faster implementation of normcase (using string.lower( | Guido van Rossum | 1998-02-19 | 1 | -8/+2 |
| | | | | | | | string.replace(...)) instead of a for loop). Don't call normcase() in normpath() -- the filesystem just might be case preserving... | ||||
* | Feature added by Bill van Melle: when no timezone is present, assume | Guido van Rossum | 1998-02-19 | 1 | -7/+14 |
| | | | | local time -- that's better than failure. | ||||
* | (1) Change normpath() to *not* also call normcase(). | Guido van Rossum | 1998-02-18 | 1 | -7/+7 |
| | | | | | | | (2) Fix normcase() to use string.lower() and string.replace() -- it turns out that the table constructed for translate() didn't work in locales that have a different number of lowercase and uppercase letters. | ||||
* | Fix sign reversal in mktime_tz discovered by Bill van Melle. | Guido van Rossum | 1998-02-18 | 1 | -1/+1 |
| | |||||
* | Andrew Kuchling writes: | Guido van Rossum | 1998-02-16 | 1 | -1/+1 |
| | | | | | | | | First, the RNG in whrandom.py sucks if you let it seed itself from the time. The problem is the line: t = int((t&0xffffff) | (t>>24)) Since it ORs the two parts together, the resulting value has mostly ON bits. Change | to ^, and you don't lose any randomness. | ||||
* | Adding output of test_xmllib.py | Guido van Rossum | 1998-02-13 | 1 | -0/+1 |
| | |||||
* | Fixed typo in docstring: "__ version__" --> "__version__" | Fred Drake | 1998-02-13 | 1 | -1/+1 |
| | |||||
* | Fix a horrible race condition -- various routines were storing the | Guido van Rossum | 1998-02-13 | 1 | -9/+7 |
| | | | | | | | | | | | most recently opened URL in self.openedurl of the URLopener instance. This doesn't really work if multiple threads share the same opener instance! Fix: openedurl was actually simply the type prefix (e.g. "http:") followed by the rest of the URL; since the rest of the URL is available and the type is effectively determined by where you are in the code, I can reconstruct the full URL easily, e.g. "http:" + url. | ||||
* | Added rmtree(), to recursively remove a directory tree. | Guido van Rossum | 1998-02-06 | 1 | -0/+32 |
| | | | | Code by David Ascher (docstring by me). | ||||
* | Two suggested features by Sjoerd: | Guido van Rossum | 1998-02-05 | 1 | -6/+7 |
| | | | | | | - use the tempcache in the open() method, too. - use the "unwrap"ped url as key for the tempcache. | ||||
* | (1) Use matchobj.groups(), not matchbj.group() to get all groups. | Guido van Rossum | 1998-02-05 | 1 | -4/+8 |
| | | | | | (2) Provisional hack to avoid dying when trying to turn echo on or off on Macs, where os.system() doesn't exist. | ||||
* | Make this test work when imported from the interpreter instead of run | Guido van Rossum | 1998-01-29 | 1 | -1/+6 |
| | | | | from regrtest.py (it still works there too, of course). | ||||
* | Sez The Dragon: | Guido van Rossum | 1998-01-29 | 1 | -24/+25 |
| | | | | | Ok, I fixed the quotes, along with a bug or two. Also added another exception. | ||||
* | SMTP client by The Dragon De Monsyne <dragondm@integral.org>. | Guido van Rossum | 1998-01-29 | 1 | -0/+278 |
| | |||||
* | New version of xmllib from Sjoerd. | Guido van Rossum | 1998-01-29 | 2 | -57/+187 |
| | | | | | | | | | | | | | The main incompatibility is that the error reporting method is now called as parser.syntax_error(msg) instead of parser.syntax_error(lineno, msg) This new version also has some code to deal with the <?xml?> and <!DOCTYPE> tags at the start of an XML document. The documentation has been updated, and a small test module has been created. | ||||
* | (This fix is really by Jeremy) | Guido van Rossum | 1998-01-27 | 1 | -22/+29 |
| | | | | | | | | | | | Here's my suggested replacement for gzip.py for 1.5.1. I've re-implemeted methods readline and readlines, added an _unread, and tweaked read and _read. I tried a more complicated buffer scheme for unread (using a list of strings and string.join), but it was more complicated and slower. This version is a lot faster than the current version and is still pretty simple. | ||||
* | Unpickler.load_inst(), Unpickler.load_obj(), Unpickler.load_build(): | Barry Warsaw | 1998-01-26 | 1 | -7/+28 |
| | | | | | | | | | | | | Fixed problems when unpickling in restricted execution environments. These methods try to assign to an instance's __class__ attribute, or access the instances __dict__, which are prohibited in REE. For the first two methods, I re-implemented the old behavior when assignment to value.__class__ fails. For the load_build() I also re-implemented the old behavior when inst.__dict__.update() fails but this means that unpickling in REE is semantically different than unpickling in unrestricted mode. | ||||
* | get(): Fixed a bug in the merge order of the dictionaries. This makes | Barry Warsaw | 1998-01-26 | 1 | -3/+4 |
| | | | | | a copy of the defaults dictionary and merges the section's dictionary into it so that sections can override the defaults. | ||||
* | Revamped, to match py_compile.py: | Guido van Rossum | 1998-01-19 | 1 | -58/+97 |
| | | | | | | - added docstrings - support option to specify a different purported directory name - reindented with 4 spaces | ||||
* | Add Gopher to list of protocols that support query strings. | Guido van Rossum | 1998-01-19 | 1 | -0/+1 |
| | |||||
* | Fix bad new bug in ftp code -- the test for existing file using NLST | Guido van Rossum | 1998-01-19 | 1 | -0/+4 |
| | | | | would set the transfer to text mode instead of the specified mode. | ||||
* | Fix to ismount(). Can't remember who told me this. | Guido van Rossum | 1998-01-19 | 1 | -2/+3 |
| |