Re: [Pyobjc-dev] More on integer values
Brought to you by:
ronaldoussoren
From: David E. <epp...@ic...> - 2003-02-03 16:00:03
|
On 2/3/03 9:02 AM -0500 bb...@ma... wrote: > We need unit tests. David: do you have a test case that demonstrates > the mishandling of integers with NSUndoManager? > > If you could send it to me, I will integrate it into the > test_nsundomanager.py in Lib/Foundation/test/. I can write a test, but first I have to know what I am testing for. Is it a bug that undoManager converts int to Cocoa integer? That Cocoa integers remain unconverted when sent back to the Python side? Or that I can't send a Cocoa integer to a method that expects an int? My feeling is that the first two are ok and the third is a problem, but I'm not seeing a concensus on this. -- David Eppstein UC Irvine Dept. of Information & Computer Science epp...@ic... http://www.ics.uci.edu/~eppstein/ |