summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Update test output to reflect change in SyntaxError formatting.Fred Drake2000-08-151-1/+1
| | | | This closes SourceForge bug #110628 (Jitterbug PR#278).
* Bump version to 0.9.1.Greg Ward2000-08-151-1/+1
|
* Fixed the move-RPM-files hack so it knows about the '--binary-only' andGreg Ward2000-08-151-8/+11
| | | | '--source-only' options.
* Added support for the '--dist-dir' option, including a mildly nastyGreg Ward2000-08-151-4/+23
| | | | | hack to find the two created RPM files (source and binary) and move them to the "dist dir" (default "dist").
* Fix long-hidden inconsistency in internal interface: 'find_modules()' nowGreg Ward2000-08-151-7/+2
| | | | | represents packages as strings, not tuples. This allowed a simplification in 'get_package_dir()', too -- can now assume that 'package' is a string.
* tests for binascii.b2a_hex() and binascii.a2b_hex().Barry Warsaw2000-08-151-0/+19
|
* Added a test of the md5.hexdigest() method. Funny enough, this testBarry Warsaw2000-08-151-0/+6
| | | | | had yet-another Python implementation of a binary-data-to-hex-digit encoder!
* Initial revisionDavid Scherer2000-08-1573-0/+12383
|
* Remove the test for abspath with an empty path - too hard to do in a ↵Mark Hammond2000-08-141-1/+0
| | | | cross-platform manner.
* Test for fix to bug #110673: os.abspatth() now always returns os.getcwd() on ↵Mark Hammond2000-08-141-0/+5
| | | | Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName())
* Fix for Bug #110673: os.abspatth() now always returns os.getcwd() on ↵Mark Hammond2000-08-141-4/+7
| | | | Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName())
* Check in the correct output - even though the module itself may not survive!Mark Hammond2000-08-141-0/+76
|
* Overhauld 'check_config_h()': now returns a (status, details) tuple,Greg Ward2000-08-131-26/+45
| | | | and is much better documented to boot.
* Added a whinging comment about the ugliness of constructing the BCPPGreg Ward2000-08-131-0/+10
| | | | argument list.
* Rene Liebscher:Greg Ward2000-08-131-18/+23
| | | | | | | | | * use self.debug_print() for debug messages * uses now copy.copy() to copy lists * added 'shared_lib_extension=".dll"', ... , this is necessary if you want use the compiler class outside of the standard distutils build process. * changed result type of check_config_h() from int to string
* Rene Liebscher:Greg Ward2000-08-131-4/+3
| | | | | | * changed some list.extend([...]) to list.append(...) * added '/g0' to compiler_options, so compiler doesn't stop after 100 warnings
* get_export_symbols() changed, adds now module init function if not givenGreg Ward2000-08-131-8/+4
| | | | by the user.
* Rene Liebscher: ext.export_symbols is now always a list (added 'or []').Greg Ward2000-08-131-1/+1
|
* Typo fix in docstring.Greg Ward2000-08-131-2/+1
|
* Fix references to functions formerly imported from 'util'.Greg Ward2000-08-131-20/+23
|
* Bring Tools/compiler almost up to date. Specifically:Thomas Wouters2000-08-123-348/+349
| | | | | | | | | | - fix tab space issues (SF patch #101167 by Neil Schemenauer) - fix co_flags for classes to include CO_NEWLOCALS (SF patch #101145 by Neil) - fix for merger of UNPACK_LIST and UNPACK_TUPLE into UNPACK_SEQUENCE, (SF patch #101168 by, well, Neil :) - Adjust bytecode MAGIC to current bytecode. TODO: teach compile.py about list comprehensions.
* Updated this module after the recent grammar changesAndrew M. Kuchling2000-08-121-11/+15
|
* list comprehensions. seeSkip Montanaro2000-08-122-0/+47
| | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details.
* Merge UNPACK_LIST and UNPACK_TUPLE into a single UNPACK_SEQUENCE, since theyThomas Wouters2000-08-111-2/+2
| | | | | | | did the same anyway. I'm not sure what to do with Tools/compiler/compiler/* -- that isn't part of distutils, is it ? Should it try to be compatible with old bytecode version ?
* Add largefile support for Linux64 and WIn64. Add test_largefile and some minorTrent Mick2000-08-113-7/+142
| | | | | | | | | | change to regrtest.py to allow optional running of test_largefile ('cause it's slow on Win64). This closes patches: http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100510&group_id=5470 and http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100511&group_id=5470
* Use built in function filter instead of doing it laboriously by hand.Sjoerd Mullender2000-08-111-5/+4
|
* add better algorithm to get fully qualified domain name for localhostPeter Schneider-Kamp2000-08-101-17/+21
| | | | | | | in smtplib.ehlo() and smtplib.helo(). closes patch #101103 closes bug #110935
* remove all occurence of math.rint() from the sourcesPeter Schneider-Kamp2000-08-103-14/+1
| | | | (and yes, "Currintly" also counts <0.5 wink>)