summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>)
* Improve MHMailbox: messages are now sorted in numerical order.Guido van Rossum2000-08-101-3/+8
| | | | Also don't allow leading zeros in message numbers.
* Tweak curses.wrapper so it initializes colors if they are available.Eric S. Raymond2000-08-091-0/+9
|
* -- added a couple of missing Tkinter constants (canvas item styles,Fredrik Lundh2000-08-091-0/+22
| | | | place bordermode, etc)
* -- don't mess up in winfo_visualsavailable if the system onlyFredrik Lundh2000-08-091-0/+2
| | | | supports a single visual (closes bug #110603)
* -- added optional newstate argument to Wm.state. The newstate argFredrik Lundh2000-08-091-4/+4
| | | | was added in Tk 8.3 (this fixes the first part of Bug #110605)
* -- use explicit conversion instead of u-string literal in the testFredrik Lundh2000-08-091-4/+8
| | | | | code, to make the new Tkinter.py run under 1.5.2 -- changed Text.yview argument name (for consistency with xview)
* -- added xview_moveto, xview_scroll, yview_moveto, yview_scrollFredrik Lundh2000-08-091-3/+19
| | | | to the Text method (closes Bug #110605)
* -- untabification (use "diff -b" to verify)Fredrik Lundh2000-08-092-2859/+2858
|
* -- changed findall to return empty strings instead of NoneFredrik Lundh2000-08-091-0/+1
| | | | for undefined groups
* -- enabled some temporarily disabled RE testsFredrik Lundh2000-08-083-6/+39
| | | | | -- added basic unicode tests to test_re -- added test case for Sjoerd's xmllib problem to re_tests
* -- whitespace cleanup (real changes coming in next checkin)Fredrik Lundh2000-08-081-20/+20
|
* -- whitespace cleanup (more tests to be added in the next commit)Fredrik Lundh2000-08-081-23/+23
|
* Barry's patch to test the new setdefault() method.Guido van Rossum2000-08-081-0/+12
|
* Barry's patch to implement the new setdefault() method.Guido van Rossum2000-08-081-0/+4
|
* Fix so 'split_quoted()' handles any whitespace delimiter (not just space).Greg Ward2000-08-081-2/+2
|
* Removing UTF-16 aware Unicode comparison code. This kind of compareMarc-André Lemburg2000-08-082-51/+53
| | | | | | | function (together with other locale aware ones) should into a new collation support module. See python-dev for a discussion of this removal. Note: This patch should also be applied to the 1.6 branch.
* -- reset marks if repeat_one tail doesn't matchFredrik Lundh2000-08-073-120/+168
| | | | | | | (this should fix Sjoerd's xmllib problem) -- added skip field to INFO header -- changed compiler to generate charset INFO header -- changed trace messages to support post-mortem analysis
* Fix so the 'install_libbase' directory -- where .pth files are installed --Greg Ward2000-08-071-1/+1
| | | | | | participates in the "--root" hack, ie. it also has a new root directory hacked on at the very last minute (essential if the .pth file is to be included in an RPM or other smart installer!).
* Fix so we clear or reinitialize various data structures before populatingGreg Ward2000-08-071-0/+5
| | | | | (allows the same FancyGetopt object to be used multiple times with different option tables).