summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Wrapper modules for _Launch and _OSA weren't added yet. Fixed.Jack Jansen2003-12-092-0/+2
|
* Move list and tuple tests from test_types.py to their own scripts:Walter Dörwald2003-12-087-514/+696
| | | | | | test_tuple.py and test_list.py. Common tests for tuple, list and UserList are shared (in seq_tests.py and list_tests.py). Port tests to PyUnit. (From SF patch #736962)
* Implement itertools.groupby()Raymond Hettinger2003-12-061-1/+107
| | | | | | | Original idea by Guido van Rossum. Idea for skipable inner iterators by Raymond Hettinger. Idea for argument order and identity function default by Alex Martelli. Implementation by Hye-Shik Chang (with tweaks by Raymond Hettinger).
* Variation of Thomas Heller's patch (722638) for improving readabilitySteve Purcell2003-12-061-10/+26
| | | | | | of test failure output. Irrelevant traceback levels are pruned from formatted traceback strings.
* Finished update to universal header 3.4.2.Jack Jansen2003-12-0519-79/+443
|
* Reverting to previous version, which works. And I don't really care aboutJack Jansen2003-12-051-83/+0
| | | | | the new waste functionality because it's probably going to be dropped anyway.
* Compile the files in the same order they are passed to the compiler.Thomas Heller2003-12-053-3/+15
| | | | | | | | | Use case: Sometimes 'compiling' source files (with SWIG, for example) creates additionl files which included by later sources. The win32all setup script requires this. There is no SF item for this, but it was discussed on distutils-sig: http://mail.python.org/pipermail/distutils-sig/2003-November/003514.html
* SF bug #849662. Dramatically, improve comparison speed for "if shl == None".Raymond Hettinger2003-12-041-0/+2
|
* Fix error in exception message.Brett Cannon2003-12-041-1/+1
|
* Remove extra copy of test_key_with_exception that somehow appearedMichael W. Hudson2003-12-041-7/+0
| | | | during a CVS merge.
* Fixes and tests for various "holding pointers when arbitrary Python codeMichael W. Hudson2003-12-041-0/+45
| | | | | | can run" bugs as discussed in [ 848856 ] couple of new list.sort bugs
* Typo repair; added some comments and horizontal whitespace.Tim Peters2003-12-041-9/+10
|
* Adding an interface to the high-level Open Scripting Architecture,Jack Jansen2003-12-032-0/+212
| | | | | | by request of Donovan Preston. In return, he promised to use this to create a Python OSA component, which would turn Python into a first-class OSA scripting language (like AppleScript itself).
* Fix test_unicode_file errors on platforms without Unicode file support,Mark Hammond2003-12-032-19/+27
| | | | | by setting TESTFN_UNICODE_UNENCODEABLE on these platforms. test_unicode_file only attempts to use the name for testing if not None.
* Add parameters indent, width and depth to pprint.pprint() and pprint.pformat()Walter Dörwald2003-12-032-4/+11
| | | | and pass them along to the PrettyPrinter constructor.
* Patch #750542: pprint now will pretty print subclasses of list, tupleWalter Dörwald2003-12-032-13/+52
| | | | and dict too, as long as they don't overwrite __repr__().
* Reduce the size of Big String and Big Binary tests to 2**14 (minus oneGuido van Rossum2003-12-031-2/+2
| | | | | | | for Big String). This should make the tests pass on Win98SE. Note that the docs only promise lengths up to 2048. Unfortunately this no longer tests for the segfault I was seeing earlier, but I'm confident I've nailed that one. :-) Fixes SF 852281. Will backport to 2.3.
* Add test for bug "[ 846133 ] os.chmod/os.utime/shutil do not work withMark Hammond2003-12-032-78/+148
| | | | | | | unicode filenames" Reorganize tests into functions so more combinations of unicode/encoded/ascii can be tested, and while I was at it, upgrade to unittest based test.
* Add TESTFN_UNICODE_UNENCODEABLE, a unicode filename that can not beMark Hammond2003-12-031-0/+21
| | | | encoded using the default file system encoding.
* An interface to the LaunchServices API.Jack Jansen2003-12-021-0/+65
|
* OS/2+EMX: make the link() emulation available as os.link()Andrew MacIntyre2003-12-021-0/+1
|
* EMX lacks an implementation of link(). As Mailman wants os.link() toAndrew MacIntyre2003-12-021-0/+79
| | | | | | implement its locking scheme, this module implements a crude link() by way of copying the source to the destination provided the destination doesn't already exist.
* To find the curses extension as a DLL (on OS/2), we need to adjust theAndrew MacIntyre2003-12-021-0/+15
| | | | | | library search path to include the extension directory. Without this, the curses_panel extension can't find the curses extension/DLL, which exports some curses symbols to it.
* use same compiler switches as core for extensionsAndrew MacIntyre2003-12-021-2/+2
|
* SF patch #852140: keyword.py - use __contains__ and boolRaymond Hettinger2003-12-021-5/+1
| | | | Use a set instead of dict with values equal to one.
* Convert path objects to strings in askdirectory. Fixes #852314.Martin v. Löwis2003-12-011-0/+6
| | | | Backported to 2.3.
* Apply extract functions instead of lambda.Raymond Hettinger2003-12-012-3/+4
|
* Revert previous change. MAL preferred the old version.Raymond Hettinger2003-12-011-4/+41
|
* As discussed on python-dev, added two extractor functions to theRaymond Hettinger2003-12-011-0/+39
| | | | operator module.
* Simplifed the code.Raymond Hettinger2003-12-011-41/+4
|
* Add testcases for _winreg segfault (SF 851056).Guido van Rossum2003-11-301-1/+3
|
* Fix a bug discovered by Kalle Svensson: comparing sys.maxint toGuido van Rossum2003-11-291-1/+1
| | | | 2**32-1 makes no sense. Use 2**31-1 instead.
* - Removed FutureWarnings related to hex/oct literals and conversionsGuido van Rossum2003-11-295-58/+49
| | | | | | | | | | and left shifts. (Thanks to Kalle Svensson for SF patch 849227.) This addresses most of the remaining semantic changes promised by PEP 237, except for repr() of a long, which still shows the trailing 'L'. The PEP appears to promise warnings for operations that changed semantics compared to Python 2.3, but this is not implemented; we've suffered through enough warnings related to hex/oct literals and I think it's best to be silent now.
* Make sure the list.sort's decorate step unwinds itself before returningRaymond Hettinger2003-11-281-0/+7
| | | | | an exception raised by the key function. (Suggested by Michael Hudson.)
* See SF #848614: distutils' msvccompiler now tries to detect that MSVC6Thomas Heller2003-11-281-0/+10
| | | | | | | is installed but the registry settings are incomplete because the gui has never been run. Already backported to release23-maint.
* 2.4a0 Package Manager shouldn't attempt to use the 2.3 database.Jack Jansen2003-11-271-1/+1
| | | | | Things will definitely change before 2.4, but for now use a slightly different URL.
* Add optional fillchar argument to ljust(), rjust(), and center() string methods.Raymond Hettinger2003-11-263-18/+21
|
* Fix a typo introduced at 1.21Kurt B. Kaiser2003-11-251-1/+1
| | | | | | M IOBinding.py Backported to 23-maint
* Keybindings with the Shift modifier now work correctly. So do bindingsKurt B. Kaiser2003-11-245-74/+83
| | | | | | | | | | | | | | | | which use the Space key. Limit unmodified user keybindings to the function keys. Python Bug 775353, IDLEfork Bugs 755647, 761557 Improve error handling during startup if there's no Tkinter. M NEWS.txt M PyShell.py M config-keys.def M configHandler.py M keybindingDialog.py Backport candidate.
* Update NEWS.txt to include some items missed earlier. Update theKurt B. Kaiser2003-11-242-1/+14
| | | | | | IDLE version to 1.1a0. Modified Files: NEWS.txt idlever.py
* * Checkin remaining documentationRaymond Hettinger2003-11-241-14/+59
| | | | | | | * Add more tests * Refactor and neaten the code a bit. * Rename union_update() to update(). * Improve the algorithms (making them a closer to sets.py).
* test_guess_all_types(): Use a more robust test for checking thatBarry Warsaw2003-11-231-4/+7
| | | | | | | | | | guess_all_extensions() returns (at least) what we expect. As Jeff Epler suggests in http://mail.python.org/pipermail/python-dev/2003-September/038264.html We use a set to test the results. This fixes the test when test_urllib2 is run before test_mimetypes.
* * Simplify hash function and add test to show effectiveness of the hashRaymond Hettinger2003-11-231-13/+72
| | | | | | | | | | | | | | | function. * Add a better test for deepcopying. * Add tests to show the __init__() function works like it does for list and tuple. Add related test. * Have shallow copies of frozensets return self. Add related test. * Have frozenset(f) return f if f is already a frozenset. Add related test. * Beefed-up some existing tests.
* Extend temporary hashability to remove() and discard().Raymond Hettinger2003-11-221-0/+10
| | | | Brings the functionality back in line with sets.py.
* Allow temporary hashability for the __contains__ test.Raymond Hettinger2003-11-211-0/+2
| | | | (Requested by Alex Martelli.)
* issubset() and issuperset() to work with general iterablesRaymond Hettinger2003-11-211-0/+4
|
* test_applesingle is an expected skip almost anywhere.Guido van Rossum2003-11-201-29/+40
|
* SF bug 839548: Bug in type's GC handling causes segfaults.Tim Peters2003-11-201-0/+205
| | | | | | | | Also SF patch 843455. This is a critical bugfix. I'll backport to 2.3 maint, but not beyond that. The bugs this fixes have been there since weakrefs were introduced.
* test_applesingle is an expected skip on Win32Raymond Hettinger2003-11-201-0/+1
|
* Fix typo fix.Walter Dörwald2003-11-201-4/+4
|