summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* The re test suite is very slow on slower hosts.Guido van Rossum1997-09-041-0/+3
| | | | To save time, only run the first and last 10 tests except in verbose mode.
* Different test for Unix -- rely on os.sep instead of sys.platform.Guido van Rossum1997-09-031-3/+3
|
* One patch from Sjoerd and one from Jack.Guido van Rossum1997-09-031-7/+14
| | | | | | | | | | | Sjoerd: add separate administration of temporary files created y URLopener.retrieve() so cleanup can properly remove them. The old code removed everything in tempcache which was a bad idea if the user had passed a non-temp file into it. (I added a line to delete the tempcache in cleanup() -- it still seems to make sense.) Jack: in basejoin(), interpret relative paths starting in "../". This is necessary if the server uses symbolic links.
* Give in to Mike Meyer -- add *both* lib/python1.5/packages andGuido van Rossum1997-09-031-7/+9
| | | | | lib/site-python to the path (if they exist). This is a reasonable compromise.
* #Removed debug print that was accidentally left in.Guido van Rossum1997-09-031-2/+0
|
* Add the same _keep_alive patch (by Michael Scharff) that was added toGuido van Rossum1997-09-031-0/+19
| | | | | copy.deepcopy() a while ago. Can't reproduce this but it doesn't break anything and it looks like the code could have the same problem.
* #typoGuido van Rossum1997-08-301-1/+1
|
* Write out the dynamic OS choice, to avoid exec statements.Guido van Rossum1997-08-291-51/+66
| | | | | Adding support for a new OS is now a bit more work, but I bet that 'dos' or 'nt' will cover most situations...
* New site.py semantics. Searches inGuido van Rossum1997-08-291-28/+103
| | | | | <*prefix>/lib/python<version>/packages for *.pth files containing directories that are appended to sys.path.
* New file, which is imported by the built-in module when python isBarry Warsaw1997-08-291-0/+164
| | | | | started with the -X option. This file contains the definitions for the built-in exception classes.
* Expanded r() function to handle class exceptions.Barry Warsaw1997-08-291-1/+6
|
* user.py -- when imported, execfile(~/.pythonrc.py).Guido van Rossum1997-08-281-0/+38
|
* Fixed bugs regarding lines starting with '.' (both receiving and sending).Guido van Rossum1997-08-261-4/+25
| | | | Added a minimal test function.
* Explicitly close the socket and temp file in URLopener.retrieve(), soGuido van Rossum1997-08-261-0/+2
| | | | | | | | | that multiple retrievals using the same connection will work. This leaves open the more general problem that after f = urlopen("ftp://...") f must be closed before another retrieval from the same host should be attempted.
* regression test for new sequence unpacking semanticsBarry Warsaw1997-08-251-0/+131
|
* Output for sequence unpacking testBarry Warsaw1997-08-251-0/+1
|
* Added a few more tests of exception class raisingBarry Warsaw1997-08-221-0/+8
|
* generated output for new testsBarry Warsaw1997-08-221-0/+2
|
* Added tests of the new builtin functions issubclass() and isinstance()Barry Warsaw1997-08-221-0/+36
|
* Interpret three slashes in file: URL as local file (for Netscape onGuido van Rossum1997-08-201-4/+4
| | | | Windows/Mac).
* Make sure the objects returned by __getinitargs__() are kept alive (inGuido van Rossum1997-08-201-0/+18
| | | | | | the memo) to avoid a certain kind of nasty crash. (Not easily reproducable because it requires a later call to __getinitargs__() to return a tuple that happens to be allocated at the same address.)
* Change default verbosity so that there are only three levels left: -q,Guido van Rossum1997-08-181-12/+15
| | | | | | default and -v. In default mode, the name of each test is printed. -v is the same as the old -vv. -q is more quiet than the old default mode; that's fine I think.
* Tweaks to cope with strftime returning 0 without error for %ZGuido van Rossum1997-08-182-3/+6
|
* Forgot to check in the fixed output for printGuido van Rossum1997-08-181-1/+1
|
* Add missing comma to make a tuple of (tagOrId).Guido van Rossum1997-08-182-2/+2
|
* Oops. Of course, print b should also be print `b`. :-(Guido van Rossum1997-08-181-1/+1
|
* Use imp.find_module() as the most certain way to find the test data.Guido van Rossum1997-08-151-1/+5
|
* generated by regrtest.py -gJeremy Hylton1997-08-151-0/+1
|
* test the zlib moduleJeremy Hylton1997-08-151-0/+94
| | | | only produce output if somethign goes wrong
* Added tests for \b, \B (AMK).Guido van Rossum1997-08-151-0/+13
|
* Last minut changes for \B, \S (?). AMK.Guido van Rossum1997-08-151-2/+2
|
* The usual.Guido van Rossum1997-08-1528-92/+910
|
* Moved some non-standard format characters out of the standard list.Guido van Rossum1997-08-141-20/+22
| | | | | | | Also moved %c and %Z out of there, even though they are standard, because these are locale dependent (and e.g. on Windows and Mac they return different strings). Finally, sorted the tables slightly different, to match my standard docs better (%a before %A).
* OK, reop is safe again.Guido van Rossum1997-08-141-2/+2
|
* set LOOPS to 10000Guido van Rossum1997-08-141-1/+1
|
* Print `a` so encrypted text is shown in ascii, not binary.Guido van Rossum1997-08-142-2/+2
|
* Don't call sys.exit() all over the place -- simply return the exitGuido van Rossum1997-08-141-4/+4
| | | | | status from main() and call sys.exit(main()) in the startup stub at the end of the file.
* Comment out use of reop.expand_escape and reop._expand until theirGuido van Rossum1997-08-141-2/+2
| | | | bugginess has been fixed.
* Fred Lundh's latest versions.Guido van Rossum1997-08-146-22/+42
|
* Add dummies for create/delete filehandles, just so that vanilla GrailGuido van Rossum1997-08-142-0/+12
| | | | 0.3 won't break on Windows.
* Fixed (and documented, see Doc/libmimify.tex) mime_decode_header() andGuido van Rossum1997-08-141-4/+6
| | | | mime_encode_header().
* 1.5a3 prerelease 1 from AMKGuido van Rossum1997-08-134-14/+57
|
* Add try-finally to close the file after loading it inGuido van Rossum1997-08-131-13/+16
| | | | | ModuleLoader.load_module! (Thanks to Daniel Larsson who complained about this.)
* Various changes by AMK, e.g. remove \e, \cX, add \vGuido van Rossum1997-08-131-19/+22
|
* New dialog from Fred LundhGuido van Rossum1997-08-122-0/+424
|
* Fixes for the Mac. (Jack)Guido van Rossum1997-08-123-5/+16
|
* Changes suggested by Jim fulton:Guido van Rossum1997-08-121-13/+10
| | | | | - Moved most imports to the top, for faster loadingf when using ni. - Always open the temp file in binary mode.
* Added TemporaryFile and wrapper class by Jim Fulton.Guido van Rossum1997-08-121-2/+41
| | | | Look in more env vars (for NT: TEMP, TMP).
* Allow paths without drive specifier (Jack).Guido van Rossum1997-08-121-4/+8
|
* Rewrite normcase() using string.translate...Guido van Rossum1997-08-121-14/+6
|