Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Carbon.File for FSSpec and FSRef conversion, not macfs. | Jack Jansen | 2003-03-02 | 1 | -4/+4 |
| | |||||
* | _CG module only needs the ApplicationServices framework, not Carbon. | Jack Jansen | 2003-03-02 | 1 | -2/+1 |
| | |||||
* | 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 |
| | |||||
* | Fix from Greg Chapman from SF bug #695651: a complex subclass | Guido van Rossum | 2003-03-02 | 1 | -2/+3 |
| | | | | | | | | | | | | | | constructor, when passed a single complex argument, returns the argument unchanged. This should be done only for the complex base class; a complex subclass should of course cast the value to the subclass in this case. The fix also revealed a segfault in complex_getnewargs(): the argument for the Py_BuildValue() format code "D" is the *address* of a Py_complex struct, not the value. (This corroborated by the API documentation.) I expect this needs to be backported to 2.2.3. | ||||
* | Commit MvL's doc patch for SF bug #221327. This adds an example of | Guido van Rossum | 2003-03-02 | 1 | -0/+22 |
| | | | | calling into Python from a C thread. | ||||
* | 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. | ||||
* | Add updates for alpha2 | Andrew M. Kuchling | 2003-03-02 | 1 | -3/+7 |
| | |||||
* | Expand itertools paragraph | Andrew M. Kuchling | 2003-03-02 | 1 | -3/+9 |
| | |||||
* | 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 | 3 | -23/+61 |
| | | | | | | | | | 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 |
| | |||||
* | get_completer() takes no args | Neal Norwitz | 2003-03-01 | 1 | -1/+1 |
| | |||||
* | Added implementation notes for [re]set_exc_info(). | Guido van Rossum | 2003-03-01 | 1 | -0/+61 |
| | |||||
* | 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 | 5 | -12/+116 |
| | | | | | | 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! | ||||
* | Several of the tools can make direct calls the inner iterators. | Raymond Hettinger | 2003-03-01 | 1 | -9/+24 |
| | |||||
* | Removed duplicate test from inner loop. | Raymond Hettinger | 2003-03-01 | 1 | -6/+1 |
| | | | | The PyIter_Check is already performed by PyObject_GetIter. | ||||
* | Add news item for patch #695090 | Andrew M. Kuchling | 2003-02-28 | 1 | -0/+4 |
| | |||||
* | [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 | 3 | -1/+14 |
| | | | | | require -u network to run test_timeout since it fails when not connected to a network. | ||||
* | Just pointed out the code was better written with | Neal Norwitz | 2003-02-28 | 1 | -25/+24 |
| | | | | | | | try: # ... except ImportError, why: except: # ... All other changes are re-indenting/formatting. | ||||
* | Fix SF bug #690012 | Neal Norwitz | 2003-02-28 | 1 | -0/+2 |
| | |||||
* | Fix SF bug #690012 (among others), iconv_codec stops build | Neal Norwitz | 2003-02-28 | 2 | -6/+8 |
| | | | | | | | | Change setup.py to catch all exceptions. - Rename module if the exception was an ImportError - Only warn if the exception was any other error Revert _iconv_codec to raising a RuntimeError. | ||||
* | compile_atom(): Neal's last checkin removing the setting of i broke | Barry Warsaw | 2003-02-28 | 1 | -0/+3 |
| | | | | | | the build, so I'm restoring it. I'm not sure what Neal's intent was, since the line following the one he removed was "REQN(i, 1)" so i is obviously used. ;) | ||||
* | Check modes on install and temporary directories. Fixes #693230. | Jack Jansen | 2003-02-28 | 1 | -1/+1 |
| | |||||
* | Removed silly print. | Jack Jansen | 2003-02-28 | 1 | -1/+0 |
| | |||||
* | SF doc patch #692001, properties and __getattribute__. I added some | Guido van Rossum | 2003-02-28 | 1 | -8/+54 |
| | | | | stuff, and changed 'property' to 'descriptor'. | ||||
* | Moved the Apple workaround for the guard define for wchar_t out of | Jack Jansen | 2003-02-28 | 1 | -1/+2 |
| | | | | | the #ifdef HAVE_NCURSES_H: the same problem exists on OSX 10.1 with a fink-installed curses (which uses curses.h as the include file name). | ||||
* | use proper constant instead of comment (noted by nnorwitz) | Just van Rossum | 2003-02-28 | 1 | -1/+1 |
| | |||||
* | Fix spelling and grammar. | Raymond Hettinger | 2003-02-28 | 1 | -5/+5 |
| | |||||
* | Remove setting i since it isn't used. Found in unrelated bug 690012. | Neal Norwitz | 2003-02-28 | 1 | -3/+0 |
| | |||||
* | Fix SF bug #694816, remove comparison of unsigned value < 0 | Neal Norwitz | 2003-02-28 | 1 | -2/+2 |
| | |||||
* | In make clobber also clean out the Python.framework. | Jack Jansen | 2003-02-27 | 1 | -0/+1 |
| | |||||
* | 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. | ||||
* | Added a note about EasyDialogs dialogs having become movable. | Jack Jansen | 2003-02-27 | 1 | -0/+2 |
| | |||||
* | StdFilterProc() uses InOut parameters. | Jack Jansen | 2003-02-27 | 2 | -5/+14 |
| | |||||
* | 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 |
| |