summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Promote the server version from a local variable to a class variable,Guido van Rossum2000-08-241-3/+4
| | | | | | | | | | so that a subclass can override it. This partly addresses Bug #112634 -- but the documentation is still wrong, since it suggests that you can set self.version *after* calling the base class __init__. In fact it must be done *before*. I'll fix that too.
* Whitespace cleanup; now passes the regression test (the last checkin madeFred Drake2000-08-241-21/+15
| | | | | | | it fail on a TabError (inconsistent tab/space usage)). Removed a comment about including a test since there is a regression test for this module.
* Updated test suite: test repr() and str() of cookies, and test metadataAndrew M. Kuchling2000-08-242-1/+15
| | | | fields with quoted values (as in Path="/acme")
* Updated version of Cookie.py (rev. 2.29) from timoAndrew M. Kuchling2000-08-241-19/+33
|
* Randall Hopper <aa8vb@yahoo.com>>:Fred Drake2000-08-241-3/+3
| | | | Make it easier to use HTTP POST with urlretrieve().
* Charles G. Waldman <cgq@fnal.gov>:Fred Drake2000-08-242-18/+4
| | | | | | | Update the test suite for the changes introduced by the EXTENDED_ARG opcode. This closes the regression test changes of SourceForge patch #100893.
* Charles G. Waldman <cgw@fnal.gov>:Fred Drake2000-08-241-1/+7
| | | | | | | | | Add the EXTENDED_ARG opcode to the virtual machine, allowing 32-bit arguments to opcodes instead of being forced to stick to the 16-bit limit. This is especially useful for machine-generated code, which can be too long for the SET_LINENO parameter to fit into 16 bits. This closes the implementation portion of SourceForge patch #100893.
* style nitsJeremy Hylton2000-08-231-4/+8
|
* When skipping a test, do not include a spurious space between the exceptionFred Drake2000-08-231-1/+1
| | | | name and the ":" that separates it from the value. (Minor cleanup.)
* add docstring explaining makefile limitationJeremy Hylton2000-08-231-1/+11
| | | | fix support for passing http version to connect in HTTP
* test case output for dospath regr testSkip Montanaro2000-08-231-0/+2
|
* new test - like test_ntpath but without splitunc test casesSkip Montanaro2000-08-231-0/+49
|
* added commonprefix test casesSkip Montanaro2000-08-231-0/+6
|
* updated to correct failing test casesSkip Montanaro2000-08-231-2/+2
|
* Restored commonprefix() semantics.Jack Jansen2000-08-231-23/+13
|
* Rehabilitate autotest.py.Tim Peters2000-08-232-1/+40
| | | | | In README: Write up (Guido's) rules for intra-test imports; warn against asserts; document test_support.use_large_resources.
* revert semantics of commonprefix to work character-by-characterSkip Montanaro2000-08-223-26/+11
|
* * added doc strings to urlopen and unquote_plusSkip Montanaro2000-08-221-1/+3
| | | | * fixed type in doc string for quote
* require list comprehensions to start with a for clauseSkip Montanaro2000-08-222-0/+7
|
* Patch by Toby Dickenson: don't die when an error occurs during stringGuido van Rossum2000-08-221-1/+7
| | | | | conversion in an exception, but instead display <unprintable %s object> where %s is the type name.
* Don't bother to 'mkpath()' the 'dist_dir' -- that's now taken care ofGreg Ward2000-08-221-2/+0
| | | | in archive_util.py.
* Ensure destination directory exists before trying to create a tarballGreg Ward2000-08-221-2/+4
| | | | or ZIP file.
* Don't reference a module named test.test_support. Always use plainGuido van Rossum2000-08-212-7/+1
| | | | test_support. Also fixed the expected output.
* Add a minimal test suite for the parser module.Fred Drake2000-08-212-0/+152
|
* Denis S. Otkidach <den@analyt.chem.msu.ru>:Fred Drake2000-08-211-2/+2
| | | | | | Let UserString.translate() method work with unicode data. This closes SourceForge patch #101246.
* Patch from Paul Schreiber <paul@commerceflow.com>:Fred Drake2000-08-211-6/+19
| | | | | | | | | | | | | | | | | | Patch description ----------------- This addresses four issues: (1) usernames and passwords in urls with special characters are now decoded properly. i.e. http://foo%2C:bar@www.whatever.com/ (2) Basic Auth support has been added to HTTPS, like it was in HTTP. (3) Version 1.92 sent the POSTed data, but did not deal with errors (HTTP responses other than 200) properly. HTTPS now behaves the same way HTTP does. (4) made URL-checking beahve the same way with HTTPS as it does with HTTP (changed == to !=).
* Add the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.Barry Warsaw2000-08-211-0/+2
|
* Add TestSkipped as another interesting item defined by test_support.Fred Drake2000-08-211-0/+4
|
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-212-0/+23
| | | | Additional test cases for the extended print form.
* Remove the winreg module from the project. I don't believe anyTim Peters2000-08-213-813/+0
| | | | | | | docs changes are needed (only reference to winreg I could find was in libwinreg.tex, which is documenting _winreg, and merely mentions that a higher-level winreg module *may* appear someday; that's still true).
* Changed the popen2.py _test function to use the "more" cmd whenTim Peters2000-08-201-5/+10
| | | | | | | | os.name == "nt". This makes test_popen2 pass under Win98SE. HOWEVER, the Win98 "more" invents a leading newline out of thin air, and I'm not sure that the other Windows flavors of "more" also do that. So, somebody please try under other Windows flavors!
* David Goodger's new getopt test module (thanks, David!).Tim Peters2000-08-202-0/+108
| | | | | https://sourceforge.net/patch/?func=detailpatch&patch_id=101110&group_id=5470 Accepted as-is, except for purging an "import *".
* Adding tests of the "attrs" optional argument, and of the js_outputMoshe Zadka2000-08-192-0/+20
| | | | functionality.
* Test case for Cookie.pyAndrew M. Kuchling2000-08-192-0/+33
|
* Added Tim O'Malley's Cookie.py module (master version atAndrew M. Kuchling2000-08-191-0/+718
| | | | | http://www.timo-tasi.org/python/Cookie.py) This is revision 2.26 according to Tim's RCS history.
* Better conformance to the Python Style Guide: use spaces around operators.Fred Drake2000-08-181-32/+33
|
* When a KeyboardInterrupt is caught, just use the "raise" syntax toFred Drake2000-08-181-2/+2
| | | | re-raise it instead of re-raising it "manually" the ugly way.
* Revise to use atexit instead of monkeying with sys.exitfunc directly.Fred Drake2000-08-181-9/+2
|
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-188-10/+20
|
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-182-2/+4
|
* Update to reflect the recent Grammar changes.Fred Drake2000-08-171-40/+42
|
* Apply SF patch #101135, adding 'import module as m' and 'from module importThomas Wouters2000-08-173-1/+35
| | | | | | | | name as n'. By doing some twists and turns, "as" is not a reserved word. There is a slight change in semantics for 'from module import name' (it will now honour the 'global' keyword) but only in cases that are explicitly undocumented.
* Apply SF patch #101029: call __getitem__ with a proper slice object if thereThomas Wouters2000-08-172-0/+320
| | | | | | | | is no __getslice__ available. Also does the same for C extension types. Includes rudimentary documentation (it could use a cross reference to the section on slice objects, I couldn't figure out how to do that) and a test suite for all Python __hooks__ I could think of, including the new behaviour.
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-176-12/+17
|
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-176-6/+14
|
* updated occurences of fqdn algorithm (closes patch #101197)Peter Schneider-Kamp2000-08-163-36/+8
|
* Use socket.getfqdn() instead of defining make_fqdn().Fred Drake2000-08-161-27/+2
|
* Revise the wrapper structure for the socket module:Fred Drake2000-08-163-301/+237
| | | | | | | | | | | | | | | socket.py is used for all platforms, and it defines the additional classes and alternate socket() function for Windows and BeOS systems. The plat-*/socket.py files are no longer needed, since there is a shared socket.py. make_fqdn() is provided, but I decided to call it getfqdn() to be consistent with the other names in the socket module. Since it is really a "get" operation and does not create a new name, this is the right name to give it. Move the docstring here from the _socket module.
* Apply SF patch #101151, by Peter S-K, which fixes smtplib's passing of theThomas Wouters2000-08-151-13/+27
| | | | | | 'helo' and 'ehlo' message, and exports the 'make_fqdn' function. This function should be moved to socket.py, if that module ever gets a Python wrapper.
* Chris Herborth <chrish@pobox.com>:Fred Drake2000-08-151-0/+9
| | | | | | | | | Minor updates for BeOS R5. Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding change in BeOS/README (by Fred). This closes SourceForge patch #100978.