Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove extra copy of test_key_with_exception that somehow appeared | Michael W. Hudson | 2003-12-04 | 1 | -7/+0 |
| | | | | during a CVS merge. | ||||
* | Fixes and tests for various "holding pointers when arbitrary Python code | Michael W. Hudson | 2003-12-04 | 1 | -0/+45 |
| | | | | | | can run" bugs as discussed in [ 848856 ] couple of new list.sort bugs | ||||
* | Typo repair; added some comments and horizontal whitespace. | Tim Peters | 2003-12-04 | 1 | -9/+10 |
| | |||||
* | Adding an interface to the high-level Open Scripting Architecture, | Jack Jansen | 2003-12-03 | 2 | -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 Hammond | 2003-12-03 | 2 | -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örwald | 2003-12-03 | 2 | -4/+11 |
| | | | | and pass them along to the PrettyPrinter constructor. | ||||
* | Patch #750542: pprint now will pretty print subclasses of list, tuple | Walter Dörwald | 2003-12-03 | 2 | -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 one | Guido van Rossum | 2003-12-03 | 1 | -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 with | Mark Hammond | 2003-12-03 | 2 | -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 be | Mark Hammond | 2003-12-03 | 1 | -0/+21 |
| | | | | encoded using the default file system encoding. | ||||
* | An interface to the LaunchServices API. | Jack Jansen | 2003-12-02 | 1 | -0/+65 |
| | |||||
* | OS/2+EMX: make the link() emulation available as os.link() | Andrew MacIntyre | 2003-12-02 | 1 | -0/+1 |
| | |||||
* | EMX lacks an implementation of link(). As Mailman wants os.link() to | Andrew MacIntyre | 2003-12-02 | 1 | -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 the | Andrew MacIntyre | 2003-12-02 | 1 | -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 extensions | Andrew MacIntyre | 2003-12-02 | 1 | -2/+2 |
| | |||||
* | SF patch #852140: keyword.py - use __contains__ and bool | Raymond Hettinger | 2003-12-02 | 1 | -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öwis | 2003-12-01 | 1 | -0/+6 |
| | | | | Backported to 2.3. | ||||
* | Apply extract functions instead of lambda. | Raymond Hettinger | 2003-12-01 | 2 | -3/+4 |
| | |||||
* | Revert previous change. MAL preferred the old version. | Raymond Hettinger | 2003-12-01 | 1 | -4/+41 |
| | |||||
* | As discussed on python-dev, added two extractor functions to the | Raymond Hettinger | 2003-12-01 | 1 | -0/+39 |
| | | | | operator module. | ||||
* | Simplifed the code. | Raymond Hettinger | 2003-12-01 | 1 | -41/+4 |
| | |||||
* | Add testcases for _winreg segfault (SF 851056). | Guido van Rossum | 2003-11-30 | 1 | -1/+3 |
| | |||||
* | Fix a bug discovered by Kalle Svensson: comparing sys.maxint to | Guido van Rossum | 2003-11-29 | 1 | -1/+1 |
| | | | | 2**32-1 makes no sense. Use 2**31-1 instead. | ||||
* | - Removed FutureWarnings related to hex/oct literals and conversions | Guido van Rossum | 2003-11-29 | 5 | -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 returning | Raymond Hettinger | 2003-11-28 | 1 | -0/+7 |
| | | | | | an exception raised by the key function. (Suggested by Michael Hudson.) | ||||
* | See SF #848614: distutils' msvccompiler now tries to detect that MSVC6 | Thomas Heller | 2003-11-28 | 1 | -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 Jansen | 2003-11-27 | 1 | -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 Hettinger | 2003-11-26 | 3 | -18/+21 |
| | |||||
* | Fix a typo introduced at 1.21 | Kurt B. Kaiser | 2003-11-25 | 1 | -1/+1 |
| | | | | | | M IOBinding.py Backported to 23-maint | ||||
* | Keybindings with the Shift modifier now work correctly. So do bindings | Kurt B. Kaiser | 2003-11-24 | 5 | -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 the | Kurt B. Kaiser | 2003-11-24 | 2 | -1/+14 |
| | | | | | | IDLE version to 1.1a0. Modified Files: NEWS.txt idlever.py | ||||
* | * Checkin remaining documentation | Raymond Hettinger | 2003-11-24 | 1 | -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 that | Barry Warsaw | 2003-11-23 | 1 | -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 hash | Raymond Hettinger | 2003-11-23 | 1 | -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 Hettinger | 2003-11-22 | 1 | -0/+10 |
| | | | | Brings the functionality back in line with sets.py. | ||||
* | Allow temporary hashability for the __contains__ test. | Raymond Hettinger | 2003-11-21 | 1 | -0/+2 |
| | | | | (Requested by Alex Martelli.) | ||||
* | issubset() and issuperset() to work with general iterables | Raymond Hettinger | 2003-11-21 | 1 | -0/+4 |
| | |||||
* | test_applesingle is an expected skip almost anywhere. | Guido van Rossum | 2003-11-20 | 1 | -29/+40 |
| | |||||
* | SF bug 839548: Bug in type's GC handling causes segfaults. | Tim Peters | 2003-11-20 | 1 | -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 Win32 | Raymond Hettinger | 2003-11-20 | 1 | -0/+1 |
| | |||||
* | Fix typo fix. | Walter Dörwald | 2003-11-20 | 1 | -4/+4 |
| | |||||
* | Patch #831747: Add skip_accept_encoding parameter to putrequest. | Martin v. Löwis | 2003-11-19 | 1 | -3/+7 |
| | |||||
* | Get rid of MacOS9 support. Paths are still hard-coded, that'll be fixed | Jack Jansen | 2003-11-19 | 1 | -16/+3 |
| | | | | later. | ||||
* | Remove deprecation of sets.Set.update(). | Raymond Hettinger | 2003-11-19 | 1 | -4/+0 |
| | |||||
* | Fix typos. | Walter Dörwald | 2003-11-19 | 1 | -4/+4 |
| | |||||
* | - After an exception, run.py was not setting the exception vector. Noam | Kurt B. Kaiser | 2003-11-19 | 2 | -1/+6 |
| | | | | | | | Raphael suggested correcting this so pdb's postmortem pm() would work. IDLEfork Patch 844675 Modified: NEWS.txt run.py | ||||
* | __init__(): The docstring was incorrect regarding how header wrapping | Barry Warsaw | 2003-11-19 | 1 | -5/+4 |
| | | | | | | gets done when maxheaderlen <> 0. The header really gets wrapped via the email.Header.Header class, which has a more sophisticated algorithm than just splitting on semi-colons. | ||||
* | Modified version by Bob Ippolito. It passes the just-added test_applesingle | Jack Jansen | 2003-11-18 | 1 | -63/+100 |
| | | | | | after some minor mods. Fixes #803498, but should NOT be backported because the original problem seems to be unreproducable. | ||||
* | Fix for [ 765456 ]: testAFakeZlib failed on platforms that use a | Just van Rossum | 2003-11-18 | 1 | -0/+7 |
| | | | | | statically linked zlib module, but since the problem it tests can't exist on these systems, simply skip it then. Will backport. | ||||
* | Test the applesingle decoder. | Jack Jansen | 2003-11-18 | 1 | -0/+72 |
| |