Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Entirely rewritten parseaddr() function by Sjoerd Mullender. | Guido van Rossum | 1997-09-15 | 1 | -53/+92 |
| | | | | (Includes a patch he sent me a few days later.) | ||||
* | Added code to emit trailing ',' for singleton tuples in two places. | Guido van Rossum | 1997-09-14 | 1 | -1/+7 |
| | |||||
* | Three independent changes: | Guido van Rossum | 1997-09-12 | 1 | -5/+10 |
| | | | | | | | | | - Don't use "from copy_reg import *". - Use cls.__module__ instead of calling whichobject(cls, cls.__name__); also try __module__ in whichmodule(), just in case. - After calling save_reduce(), add the object to the memo. | ||||
* | #Added doc string. | Guido van Rossum | 1997-09-09 | 1 | -1/+8 |
| | |||||
* | Make functionality more closely the same as what's implemented by default. | Guido van Rossum | 1997-09-09 | 1 | -8/+12 |
| | |||||
* | *** empty log message *** | Guido van Rossum | 1997-09-09 | 1 | -0/+115 |
| | |||||
* | Renamed platform specific subdirectories to plat-*. | Guido van Rossum | 1997-09-09 | 96 | -16133/+0 |
| | |||||
* | Renamed dos_8x3 to dos-8x3. | Guido van Rossum | 1997-09-09 | 61 | -8526/+0 |
| | |||||
* | These directories renamed: tkinter -> lib-tk, stdwin -> lib-stdwin. | Guido van Rossum | 1997-09-09 | 46 | -6876/+0 |
| | |||||
* | Added test for __all__. | Guido van Rossum | 1997-09-08 | 2 | -0/+22 |
| | |||||
* | #Adapt the doc string to reality. | Guido van Rossum | 1997-09-08 | 1 | -7/+6 |
| | |||||
* | Initialize self.__tempfiles to [] in the constructor (else it remains | Guido van Rossum | 1997-09-08 | 1 | -0/+1 |
| | | | | | a shared class variable -- but each instance will attempt to clean it up entirely ob cleanup). | ||||
* | Change packages -> site-packages | Guido van Rossum | 1997-09-08 | 1 | -8/+10 |
| | |||||
* | *Semantic change*: when unpickling the instance variables of an | Guido van Rossum | 1997-09-08 | 1 | -2/+1 |
| | | | | | | | | | | instance, use inst.__dict__.update(value) instead of a for loop with setattr() over the value.keys(). This is more consistent (the pickling doesn't use getattr() either but pickles inst.__dict__) and avoids problems with instances that have a __setattr__ hook. But it *is* a semantic change (because the setattr hook is no longer used). So beware! | ||||
* | Look for uuencoded test files in the directory containing this module, too. | Guido van Rossum | 1997-09-07 | 1 | -2/+6 |
| | | | | | (This is necessary because when imported as test.test_rgbimg, the test directory is not on sys.path.) | ||||
* | Look for uuencoded test files in the directory containing this module, too. | Guido van Rossum | 1997-09-07 | 1 | -1/+2 |
| | | | | | (This is necessary because when imported as test.test_rgbimg, the test directory is not on sys.path.) | ||||
* | Pass optional arguments (globals(), locals(), []) to __import__() so | Guido van Rossum | 1997-09-07 | 1 | -1/+1 |
| | | | | | | | it will run as package test, e.g. this will run the test suite: import test.regrtest test.regrtest.main() | ||||
* | Fix details in the test: | Guido van Rossum | 1997-09-07 | 1 | -3/+13 |
| | | | | | | - traceback should go to stdout! - don't import ni, import t1! - nicer support for command line options, only if run as __main__ | ||||
* | Added feeble test for reload() of packages and submodules. | Guido van Rossum | 1997-09-06 | 2 | -0/+5 |
| | |||||
* | Test set for package import. | Guido van Rossum | 1997-09-06 | 2 | -0/+212 |
| | |||||
* | Made the 'info' argument to SyntaxError optional, so phase-2 syntax | Guido van Rossum | 1997-09-05 | 1 | -8/+11 |
| | | | | | | | | | errors are handled (these gave ``TypeError: not enough arguments''). Also changed its __str__() to correct a typo (missing self.) and return str(self.msg) to ensure the result is always string. Also changed the default __str__ to simply return str(self.args). | ||||
* | Now produces some reassuring output. | Jeremy Hylton | 1997-09-04 | 1 | -0/+9 |
| | |||||
* | Many more tests, including tests of many optional arguments. | Jeremy Hylton | 1997-09-04 | 1 | -0/+47 |
| | |||||
* | Added some try-excepts so that it can be imported in restricted mode | Guido van Rossum | 1997-09-04 | 1 | -6/+15 |
| | | | | | | (though some type names are undefined in that case, e.g. CodeType (inaccessible), FileType (not always accessible), and TracebackType and FrameType (inaccessible). | ||||
* | The re test suite is very slow on slower hosts. | Guido van Rossum | 1997-09-04 | 1 | -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 Rossum | 1997-09-03 | 1 | -3/+3 |
| | |||||
* | One patch from Sjoerd and one from Jack. | Guido van Rossum | 1997-09-03 | 1 | -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 and | Guido van Rossum | 1997-09-03 | 1 | -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 Rossum | 1997-09-03 | 1 | -2/+0 |
| | |||||
* | Add the same _keep_alive patch (by Michael Scharff) that was added to | Guido van Rossum | 1997-09-03 | 1 | -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. | ||||
* | #typo | Guido van Rossum | 1997-08-30 | 1 | -1/+1 |
| | |||||
* | Write out the dynamic OS choice, to avoid exec statements. | Guido van Rossum | 1997-08-29 | 1 | -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 in | Guido van Rossum | 1997-08-29 | 1 | -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 is | Barry Warsaw | 1997-08-29 | 1 | -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 Warsaw | 1997-08-29 | 1 | -1/+6 |
| | |||||
* | user.py -- when imported, execfile(~/.pythonrc.py). | Guido van Rossum | 1997-08-28 | 1 | -0/+38 |
| | |||||
* | Fixed bugs regarding lines starting with '.' (both receiving and sending). | Guido van Rossum | 1997-08-26 | 1 | -4/+25 |
| | | | | Added a minimal test function. | ||||
* | Explicitly close the socket and temp file in URLopener.retrieve(), so | Guido van Rossum | 1997-08-26 | 1 | -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 semantics | Barry Warsaw | 1997-08-25 | 1 | -0/+131 |
| | |||||
* | Output for sequence unpacking test | Barry Warsaw | 1997-08-25 | 1 | -0/+1 |
| | |||||
* | Added a few more tests of exception class raising | Barry Warsaw | 1997-08-22 | 1 | -0/+8 |
| | |||||
* | generated output for new tests | Barry Warsaw | 1997-08-22 | 1 | -0/+2 |
| | |||||
* | Added tests of the new builtin functions issubclass() and isinstance() | Barry Warsaw | 1997-08-22 | 1 | -0/+36 |
| | |||||
* | Interpret three slashes in file: URL as local file (for Netscape on | Guido van Rossum | 1997-08-20 | 1 | -4/+4 |
| | | | | Windows/Mac). | ||||
* | Make sure the objects returned by __getinitargs__() are kept alive (in | Guido van Rossum | 1997-08-20 | 1 | -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 Rossum | 1997-08-18 | 1 | -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 %Z | Guido van Rossum | 1997-08-18 | 2 | -3/+6 |
| | |||||
* | Forgot to check in the fixed output for print | Guido van Rossum | 1997-08-18 | 1 | -1/+1 |
| | |||||
* | Add missing comma to make a tuple of (tagOrId). | Guido van Rossum | 1997-08-18 | 2 | -2/+2 |
| | |||||
* | Oops. Of course, print b should also be print `b`. :-( | Guido van Rossum | 1997-08-18 | 1 | -1/+1 |
| |