Re: [Pyobjc-dev] Auto bridging instances by conversion
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2003-02-03 15:58:21
|
On Monday, Feb 3, 2003, at 10:30 America/New_York, Just van Rossum wrote: > bb...@ma... wrote: > >> The fact that NSString<->PyString are converted is a bug -- > > To me it isn't, it's what I call "transparent". This feature is > absolutely a _pleasure_ to work with. It's what I call a "real pain in the ass", at least when NSMutableString gets bridged into a PyString. Why can't we wrap the NSString class cluster with some cruft that makes it pythonic instead of converting it to something that it wasn't? There is absolutely no namespace clash between NSString and PyString, with the added bonus that NSString can do just about everything that PyString can with one line of code or less. -bob |