summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use Carbon.File for FSSpec and FSRef conversion, not macfs.Jack Jansen2003-03-021-4/+4
|
* _CG module only needs the ApplicationServices framework, not Carbon.Jack Jansen2003-03-021-2/+1
|
* Undo the apply() removals; this code needs to run under Python 1.5.2.Guido van Rossum2003-03-022-14/+14
|
* MyComplex now works.Guido van Rossum2003-03-021-1/+1
|
* Fix from Greg Chapman from SF bug #695651: a complex subclassGuido van Rossum2003-03-021-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 ofGuido van Rossum2003-03-021-0/+22
| | | | calling into Python from a C thread.
* test_load_from_canned_string(): Created a DATA2 string to test a cannedTim Peters2003-03-021-2/+66
| | | | proto 2 pickle too.
* Add updates for alpha2Andrew M. Kuchling2003-03-021-3/+7
|
* Expand itertools paragraphAndrew M. Kuchling2003-03-021-3/+9
|
* TestOnlySetsInBinaryOps: Simplified the non-inplace tests by usingTim Peters2003-03-021-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 Peters2003-03-021-3/+7
|
* SF bug 693121: Set == non-Set is a TypeError.Tim Peters2003-03-023-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 setTim Peters2003-03-011-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 usedNeal Norwitz2003-03-011-1/+1
|
* Fix SF patch #695581, "returnself" -> "return self"Neal Norwitz2003-03-011-1/+1
|
* get_completer() takes no argsNeal Norwitz2003-03-011-1/+1
|
* Added implementation notes for [re]set_exc_info().Guido van Rossum2003-03-011-0/+61
|
* Reindent the new code properly.Guido van Rossum2003-03-011-22/+22
|
* - New function sys.exc_clear() clears the current exception. This isGuido van Rossum2003-03-015-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 Hettinger2003-03-011-9/+24
|
* Removed duplicate test from inner loop.Raymond Hettinger2003-03-011-6/+1
| | | | The PyIter_Check is already performed by PyObject_GetIter.
* Add news item for patch #695090Andrew M. Kuchling2003-02-281-0/+4
|
* [Patch #695090 from Bernhard Herzog] Allow specifying both py_modules and ↵Andrew M. Kuchling2003-02-281-20/+6
| | | | packages
* Handle iconv initialization erorrsNeal Norwitz2003-02-281-1/+1
|
* Fix SF bugs #692951 and 692988, test_timeout.py needs 'network' resourceNeal Norwitz2003-02-283-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 withNeal Norwitz2003-02-281-25/+24
| | | | | | | try: # ... except ImportError, why: except: # ... All other changes are re-indenting/formatting.
* Fix SF bug #690012Neal Norwitz2003-02-281-0/+2
|
* Fix SF bug #690012 (among others), iconv_codec stops buildNeal Norwitz2003-02-282-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 brokeBarry Warsaw2003-02-281-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 Jansen2003-02-281-1/+1
|
* Removed silly print.Jack Jansen2003-02-281-1/+0
|
* SF doc patch #692001, properties and __getattribute__. I added someGuido van Rossum2003-02-281-8/+54
| | | | stuff, and changed 'property' to 'descriptor'.
* Moved the Apple workaround for the guard define for wchar_t out ofJack Jansen2003-02-281-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 Rossum2003-02-281-1/+1
|
* Fix spelling and grammar.Raymond Hettinger2003-02-281-5/+5
|
* Remove setting i since it isn't used. Found in unrelated bug 690012.Neal Norwitz2003-02-281-3/+0
|
* Fix SF bug #694816, remove comparison of unsigned value < 0Neal Norwitz2003-02-281-2/+2
|
* In make clobber also clean out the Python.framework.Jack Jansen2003-02-271-0/+1
|
* Getting rid of macfs.Jack Jansen2003-02-273-9/+9
|
* Added a deprecation warning.Jack Jansen2003-02-271-0/+3
|
* M rpc.pyKurt B. Kaiser2003-02-272-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 Jansen2003-02-271-0/+2
|
* StdFilterProc() uses InOut parameters.Jack Jansen2003-02-272-5/+14
|
* Changing the window type to movable modal isn't enough to make the dialogs ↵Jack Jansen2003-02-271-0/+0
| | | | movable: apprently you also need to set a bit in the dlgx resource. Did this.
* * separate opcode definitions into opcode.pySkip Montanaro2003-02-271-178/+51
| | | | | * add disassemble_string * allow classes and strings containing bytecode to be disassembled
* new opcode module - extract opcode definitions from dis.py - eventuallySkip Montanaro2003-02-271-0/+188
| | | | should be generated automatically
* simple test case for dis moduleSkip Montanaro2003-02-271-0/+53
|
* Get rid of many apply() calls.Guido van Rossum2003-02-2738-91/+85
|
* Use floor division (// and __[r]floordiv__ in right-dispatch test.Guido van Rossum2003-02-271-23/+23
|
* Use floor division (//).Guido van Rossum2003-02-271-3/+3
|