summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix splitext() to go up to the last dot, not the first.Guido van Rossum1997-01-221-3/+8
|
* Avoid traceback in selection_own_get() when no Tk widget owns theGuido van Rossum1997-01-212-6/+8
| | | | selection; return None instead.
* Version 1.1. Fix memory leak and expensive comparison with None.Guido van Rossum1997-01-181-3/+22
|
* Add stacksize argument to new.code().Guido van Rossum1997-01-171-1/+1
|
* Of course, when the type of the argument to dis() is unsupported, itGuido van Rossum1997-01-171-1/+1
| | | | should raise TypeError, not ValueError...
* More user friedly interface:Guido van Rossum1997-01-171-10/+25
| | | | | | | | | | | dis() still disassembles the last frame of the lats stack trace. dis(x) disassembles x, which may be a code object, function, or method. disassemble(co, [lasti]) disassembles a code object; the lasti argument is now optional. disco(...) is an alias for disassemble(...), for backward compatibility.
* Make as sure as we can that the forked child does not return andGuido van Rossum1997-01-171-12/+15
| | | | continue the tests.
* Test output for the SGI cl C module test script.Roger E. Masse1997-01-171-0/+1
|
* Lame test script for the SGI cl C module.Roger E. Masse1997-01-171-0/+78
|
* Output from test script for the bsddb C extension module.Roger E. Masse1997-01-161-0/+1
|
* Test script for the bsddb C extension module.Roger E. Masse1997-01-161-0/+69
|
* Minor output message changeRoger E. Masse1997-01-162-2/+14
|
* Merge several mods:Guido van Rossum1997-01-161-2/+12
| | | | | | | | - add opcodes BINARY_LSHIFT ... BINARY_OR - remove RESERVE_FAST - Skip M's suggestion for displaying which comparison operator is meant
* As per GvR recomendations, remove the restriction that binhex only run onRoger E. Masse1997-01-161-33/+43
| | | | | | | big-endian machines. This is done by directing the struct module's pack and unpack methods to treat the data always in bin endian format. This has been tested on irix (big endian) and solaris x86 (little endian) but not yet on the mac.
* test output for the binascii C module test script.Roger E. Masse1997-01-161-0/+1
|
* test script for the binascii C module.Roger E. Masse1997-01-162-0/+80
|
* test is no longer neededBarry Warsaw1997-01-162-32/+0
|
* Opps. Added tests for the last two methods that were missing fromRoger E. Masse1997-01-151-1/+11
| | | | the test program: 'grey2rgb' and 'rgb2grey'
* Modified to use 'rgbimg' instead of the SGI specific 'imgfile' for readingRoger E. Masse1997-01-151-24/+58
| | | | | | | | the imagefiles and converting tham to a format suitable for imageop. Also added two more tests 'rgb2rgb8' and 'rgb82rgb' which remove the dependence on the file 'greytest.rgb'. Note: test_imgfile.py still uses 'greytest.rgb'
* Irix 6 specific files -- thanks Sjoerd!Guido van Rossum1997-01-1558-0/+10664
|
* test(): close the pipe, just to shut up Purify.Barry Warsaw1997-01-141-0/+1
|
* Raise ConversionError instances the new fangled way, e.g.:Barry Warsaw1997-01-141-3/+4
| | | | | | raise ConversionError, msg where `msg' is passed as the argument to the constructor.
* Output for test of the timing moduleBarry Warsaw1997-01-131-0/+1
|
* Test of the timing moduleBarry Warsaw1997-01-131-0/+21
|
* Use the new regrtest harnessBarry Warsaw1997-01-131-4/+1
|
* updated the hex(-16) test since hex() of a signed literal has changed.Barry Warsaw1997-01-131-1/+1
|
* updated the oct(-100) test since oct() of a signed literal has changed.Barry Warsaw1997-01-131-1/+1
|
* Catch sunaudiodev.error on open() and re-raise TestFailed exception.Barry Warsaw1997-01-131-3/+7
|
* Oops, remove debugging statementsBarry Warsaw1997-01-131-1/+0
|
* A slightly better test of sunaudiodev module. Include the audio dataBarry Warsaw1997-01-132-22/+9
| | | | in the distribution.
* Rewrite the `hostname mismatch' test as per GvR suggestion.Barry Warsaw1997-01-131-2/+8
| | | | | | | Don't assume gethostbyaddr()'s primary hostname is the same as gethostname(), or even that gethostname() can be found in the list of hosts returned by gethostbyaddr(). We do test for at least one FQDN in gethostbyaddr().
* Use new struct which supports standardized sizesGuido van Rossum1997-01-111-5/+2
|
* Add __len__ methodGuido van Rossum1997-01-111-0/+4
|
* Use newer struct, which handles unsigned long rightGuido van Rossum1997-01-111-3/+1
|
* (ftplib.py): Added parse150() function and FTP.ntransfercmd(). This allowsFred Drake1997-01-101-3/+30
| | | | access to the expected size of a transfer when available.
* (Tkinter.py): Add support for Frame(w, class_="classname") as an alternativeFred Drake1997-01-102-2/+8
| | | | | | | to Frame(w, cnf={"class": "classname"}). I think this is the only widget other than Toplevel that needs to be concerned about setting the widget's class (-class must be the first option on the Tcl widget creation command).
* Test of the sunaudiodev module -- it simply plays a sound if it canBarry Warsaw1997-01-072-0/+39
| | | | | | find one and doesn't output any data that can be verified. If it can't find a sound file by looking in the standard Solaris locations (which we can extend later), it raises an ImportError.
* Added an os._exit(0) in the parent so we don't have two test processesBarry Warsaw1997-01-071-0/+3
| | | | after test_socket.py is run!
* New output file for strop testBarry Warsaw1997-01-061-0/+2
|
* Added a couple of strop.join() tests for large lists and long itemsBarry Warsaw1997-01-061-1/+20
| | | | within the lists (new output file to be checked in shortly).
* Fix the following bug:Guido van Rossum1997-01-032-8/+12
| | | | | | | | | | | - When dragging the mouse in either listbox, the *first* entry clicked on is selected rather than the last (but the last one is highlighted). This is done by changing the bindtags so that our binding is executed after the default binding (which sets the 'active' index to the last item selected), and using 'active' instead of 'anchor' as the index to ask for.
* This is a very inobstrusive test for the existance of the SGI cd moduleRoger E. Masse1997-01-031-0/+26
| | | | | and all it's attributes. More comprehensive examples can be found in Demo/cd and require that you have a CD and a CD ROM drive
* Output file for test_cd.pyRoger E. Masse1997-01-031-0/+1
|
* Some small changes.Guido van Rossum1997-01-031-5/+15
| | | | | | | | | | | | | | Raise ImportError instead of SystemExit when $DISPLAY is not set, so regrtest.py will do the right thing. Add a call to gl.clear() to clear the window before drawing in it. Add some verbose prints for completeness. Use gl.v2i() for the coordinates of one of the lines, for a little bit of variety. Reduce the time the window is displayed from 5 to 2 seconds.
* Output file for test_al.pyRoger E. Masse1997-01-031-0/+1
|
* This is a very inobstrusive test for the existance of the al module and allRoger E. Masse1997-01-031-0/+24
| | | | it's attributes. More comprehensive examples can be found in Demo/al
* Output of socket module test.Barry Warsaw1997-01-031-0/+18
|
* Test of the socket module. The following functions and methods areBarry Warsaw1997-01-031-0/+131
| | | | | | | | | | | | not currently tested (or even touched): # socket.fromfd() # sktobj.getsockopt() # sktobj.recvfrom() # sktobj.sendto() # sktobj.setblocking() # sktobj.setsockopt() # sktobj.shutdown()
* Updated to include the verbose flag from test_supportRoger E. Masse1997-01-031-152/+197
|
* Change the ``calcsize*3'' test to be portable to 64-bit machines.Guido van Rossum1997-01-031-3/+7
|