Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always initialize Py_FileSystemDefaultEncoding on Unix in Py_Initialize, | Martin v. Löwis | 2003-03-05 | 1 | -2/+1 |
| | | | | | and not as a side effect of setlocale. Expose it as sys.getfilesystemencoding. Adjust test case. | ||||
* | Actually *do* override the type in AppBuilder. | Jack Jansen | 2003-03-05 | 1 | -1/+1 |
| | |||||
* | Moved some application-bundle specific code from the BundleBuilder class to | Jack Jansen | 2003-03-05 | 1 | -5/+9 |
| | | | | | | AppBuilder, and set the default type to BNDL (overridden in AppBuilder). This surfaced when trying to build help bundles. | ||||
* | Attempting to save the shell raised an error related to saving | Kurt B. Kaiser | 2003-03-04 | 1 | -2/+8 |
| | | | | breakpoints, which are not implemented in the shell | ||||
* | SF 693333 | Kurt B. Kaiser | 2003-03-04 | 1 | -0/+3 |
| | | | | | Modify subprocess to print a reasonable message upon receiving a 'quit' or 'exit' | ||||
* | test_ioctl is an expected skip on Windows. | Tim Peters | 2003-03-04 | 1 | -0/+1 |
| | |||||
* | [Bug #693470] 'licence' as an alias for 'license' doesn't work. | Andrew M. Kuchling | 2003-03-03 | 1 | -1/+10 |
| | | | | This patch makes it work again. | ||||
* | SF 695861 | Kurt B. Kaiser | 2003-03-03 | 1 | -1/+11 |
| | | | | | | | Eliminate extra blank line in shell output. Caused by stdout not being flushed upon completion of subprocess' Executive.runcode() when user code ends by outputting an unterminated line, e.g. print "test", | ||||
* | [Bug #69389] List register command in __all__, so setup.py --help-commands ↵ | Andrew M. Kuchling | 2003-03-03 | 1 | -0/+1 |
| | | | | will now list it | ||||
* | Improve description | Andrew M. Kuchling | 2003-03-03 | 1 | -1/+1 |
| | |||||
* | Fix bug | Michael W. Hudson | 2003-03-03 | 1 | -0/+31 |
| | | | | | | | | [ 555817 ] Flawed fcntl.ioctl implementation. with my patch that allows for an array to be mutated when passed as the buffer argument to ioctl() (details complicated by backwards compatibility considerations -- read the docs!). | ||||
* | Call AEInteractWithUser() before bringing up any of the dialogs (with the | Jack Jansen | 2003-03-03 | 1 | -1/+13 |
| | | | | | | exception of the ProgressBar, which I think is okay to show in the background). This is a prerequisitite for the fix of #684975. | ||||
* | Patch #671666: Alias ANSI code page to "mbcs". | Martin v. Löwis | 2003-03-03 | 1 | -0/+16 |
| | |||||
* | Undo the apply() removals; this code needs to run under Python 1.5.2. | Guido van Rossum | 2003-03-02 | 2 | -14/+14 |
| | |||||
* | MyComplex now works. | Guido van Rossum | 2003-03-02 | 1 | -1/+1 |
| | |||||
* | test_load_from_canned_string(): Created a DATA2 string to test a canned | Tim Peters | 2003-03-02 | 1 | -2/+66 |
| | | | | proto 2 pickle too. | ||||
* | TestOnlySetsInBinaryOps: Simplified the non-inplace tests by using | Tim Peters | 2003-03-02 | 1 | -44/+16 |
| | | | | | | assertRaises. Fixed a repeated subtle bug in the inplace tests by removing the possibilty that a self.fail() call could raise a TypeError that the test catches by mistake. | ||||
* | Typo repairs in new code. | Tim Peters | 2003-03-02 | 1 | -3/+7 |
| | |||||
* | SF bug 693121: Set == non-Set is a TypeError. | Tim Peters | 2003-03-02 | 2 | -18/+49 |
| | | | | | | | | | Allow mixed-type __eq__ and __ne__ for Set objects. This is messier than I'd like because Set *also* implements __cmp__. I know of one glitch now: cmp(s, t) returns 0 now when s and t are both Sets and s == t, despite that Set.__cmp__ unconditionally raises TypeError (and by intent). The rub is that __eq__ gets tried first, and the x.__eq__(y) True result convinces Python that cmp(x, y) is 0 without even calling Set.__cmp__. | ||||
* | The doctest was printing Sets, but that's unreliable because set | Tim Peters | 2003-03-01 | 1 | -6/+9 |
| | | | | | elements get displayed in undefined dict order. Use a Set subclass instead (which arranges to sort the elements for display). | ||||
* | Fix comment, mode really is used | Neal Norwitz | 2003-03-01 | 1 | -1/+1 |
| | |||||
* | Fix SF patch #695581, "returnself" -> "return self" | Neal Norwitz | 2003-03-01 | 1 | -1/+1 |
| | |||||
* | Reindent the new code properly. | Guido van Rossum | 2003-03-01 | 1 | -22/+22 |
| | |||||
* | - New function sys.exc_clear() clears the current exception. This is | Guido van Rossum | 2003-03-01 | 1 | -0/+44 |
| | | | | | | rarely needed, but can sometimes be useful to release objects referenced by the traceback held in sys.exc_info()[2]. (SF patch #693195.) Thanks to Kevin Jacobs! | ||||
* | [Patch #695090 from Bernhard Herzog] Allow specifying both py_modules and ↵ | Andrew M. Kuchling | 2003-02-28 | 1 | -20/+6 |
| | | | | packages | ||||
* | Handle iconv initialization erorrs | Neal Norwitz | 2003-02-28 | 1 | -1/+1 |
| | |||||
* | Fix SF bugs #692951 and 692988, test_timeout.py needs 'network' resource | Neal Norwitz | 2003-02-28 | 2 | -0/+12 |
| | | | | | require -u network to run test_timeout since it fails when not connected to a network. | ||||
* | Getting rid of macfs. | Jack Jansen | 2003-02-27 | 3 | -9/+9 |
| | |||||
* | Added a deprecation warning. | Jack Jansen | 2003-02-27 | 1 | -0/+3 |
| | |||||
* | M rpc.py | Kurt B. Kaiser | 2003-02-27 | 2 | -43/+46 |
| | | | | | | | | M run.py Move exception formatting out of rpc.py. This allows each end of the link to format and print exceptions how and where it sees fit and makes it easier for threads to display their own exceptions. | ||||
* | Changing the window type to movable modal isn't enough to make the dialogs ↵ | Jack Jansen | 2003-02-27 | 1 | -0/+0 |
| | | | | movable: apprently you also need to set a bit in the dlgx resource. Did this. | ||||
* | * separate opcode definitions into opcode.py | Skip Montanaro | 2003-02-27 | 1 | -178/+51 |
| | | | | | * add disassemble_string * allow classes and strings containing bytecode to be disassembled | ||||
* | new opcode module - extract opcode definitions from dis.py - eventually | Skip Montanaro | 2003-02-27 | 1 | -0/+188 |
| | | | | should be generated automatically | ||||
* | simple test case for dis module | Skip Montanaro | 2003-02-27 | 1 | -0/+53 |
| | |||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 38 | -91/+85 |
| | |||||
* | Use floor division (// and __[r]floordiv__ in right-dispatch test. | Guido van Rossum | 2003-02-27 | 1 | -23/+23 |
| | |||||
* | Use floor division (//). | Guido van Rossum | 2003-02-27 | 1 | -3/+3 |
| | |||||
* | Module review: | Raymond Hettinger | 2003-02-27 | 1 | -47/+22 |
| | | | | | | | | | | * Changed variable name from 'list' to 'flist'. * Replaced "while 1" with "while True". * Replaced if/elif/elif/elif structure with a shorter and faster dispatch dictionary that maps attrs to methods. * Simplified and sped comparison logic by using ifilter, ifilterfalse, and dict.fromkeys. * Used True and False rather than 1 and 0. | ||||
* | Module review: | Raymond Hettinger | 2003-02-26 | 1 | -40/+30 |
| | | | | | | | * Replaced "while 1" with "while True" * Rewrote read() and readline() for clarity and speed. * Replaced variable 'list' with 'hlist' * Used augmented assignment in two places. | ||||
* | The macfs, macostools, and plistlib should not be expected to run | Fred Drake | 2003-02-26 | 1 | -0/+33 |
| | | | | | beyond Mac OS and Darwin. I'm not even sure they should be run on Darwin, but I'll let someone more knowledgable on that tell us. | ||||
* | [Bug #668662] Patch from Pearu Pearson: if a C source file is | Andrew M. Kuchling | 2003-02-26 | 1 | -0/+2 |
| | | | | | | | specified with an absolute path, the object file is also written to an absolute path. The patch drops the drive and leading '/' from the source path, so a path like /path/to/foo.c results in an object file like build/temp.i686linux/path/to/foo.o. | ||||
* | use bare raise so you get the original tb | Just van Rossum | 2003-02-26 | 1 | -1/+1 |
| | |||||
* | Port test_ucn and test_unicodedata to PyUnit. Add a few tests for error | Walter Dörwald | 2003-02-26 | 4 | -266/+337 |
| | | | | | cases increasing coverage in unicodedata.c from 87% to 95% (when the normalization tests are run). From SF patch #662807. | ||||
* | use the same Python for running the bootstrap script and the main program | Just van Rossum | 2003-02-26 | 1 | -1/+9 |
| | |||||
* | remove sitecustomize hack, will be solved elsewhere | Just van Rossum | 2003-02-26 | 1 | -25/+0 |
| | |||||
* | Let's try making the dialogs at least Movable Modal. | Jack Jansen | 2003-02-25 | 1 | -0/+0 |
| | |||||
* | If a resource file cannot be decoded because the directory is readonly | Jack Jansen | 2003-02-25 | 2 | -44/+41 |
| | | | | | | | | | | | create a temporary file. This fixes #688011. Got rid of the install() method in macresource, and replaced it with a resource_filename() method which will optionally decode a given resourcefile (which may be applesingle-encoded) and return the real resourcefile. Use this new method in buildtools to copy the correct resource file to the bundle. This fixes #688007. | ||||
* | Reverted the rev. 1.8 change: the magic for decoding resourcefiles | Jack Jansen | 2003-02-25 | 1 | -4/+0 |
| | | | | is now in buildtools. | ||||
* | tweak error message | Just van Rossum | 2003-02-25 | 1 | -2/+2 |
| | |||||
* | - renamed the --copyfile option to --file. | Just van Rossum | 2003-02-25 | 1 | -4/+6 |
| | | | | | - tweaked the help text a little. (Jack: up to you to change your client code.) |