pyobjc-dev Mailing List for PyObjC (Page 243)
Brought to you by:
ronaldoussoren
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(1) |
Feb
(2) |
Mar
(3) |
Apr
(30) |
May
(18) |
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2002 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
(13) |
Aug
|
Sep
(23) |
Oct
(180) |
Nov
(291) |
Dec
(95) |
2003 |
Jan
(338) |
Feb
(352) |
Mar
(97) |
Apr
(46) |
May
(226) |
Jun
(184) |
Jul
(145) |
Aug
(141) |
Sep
(69) |
Oct
(161) |
Nov
(96) |
Dec
(90) |
2004 |
Jan
(66) |
Feb
(87) |
Mar
(98) |
Apr
(132) |
May
(115) |
Jun
(68) |
Jul
(150) |
Aug
(92) |
Sep
(59) |
Oct
(52) |
Nov
(17) |
Dec
(75) |
2005 |
Jan
(84) |
Feb
(191) |
Mar
(133) |
Apr
(114) |
May
(158) |
Jun
(185) |
Jul
(62) |
Aug
(28) |
Sep
(36) |
Oct
(88) |
Nov
(65) |
Dec
(43) |
2006 |
Jan
(85) |
Feb
(62) |
Mar
(92) |
Apr
(75) |
May
(68) |
Jun
(101) |
Jul
(73) |
Aug
(37) |
Sep
(91) |
Oct
(65) |
Nov
(30) |
Dec
(39) |
2007 |
Jan
(24) |
Feb
(28) |
Mar
(10) |
Apr
(2) |
May
(18) |
Jun
(16) |
Jul
(21) |
Aug
(6) |
Sep
(30) |
Oct
(31) |
Nov
(153) |
Dec
(31) |
2008 |
Jan
(63) |
Feb
(70) |
Mar
(47) |
Apr
(24) |
May
(59) |
Jun
(22) |
Jul
(12) |
Aug
(7) |
Sep
(14) |
Oct
(26) |
Nov
(5) |
Dec
(5) |
2009 |
Jan
(10) |
Feb
(41) |
Mar
(70) |
Apr
(88) |
May
(49) |
Jun
(62) |
Jul
(34) |
Aug
(15) |
Sep
(55) |
Oct
(40) |
Nov
(67) |
Dec
(21) |
2010 |
Jan
(60) |
Feb
(17) |
Mar
(26) |
Apr
(26) |
May
(29) |
Jun
(4) |
Jul
(21) |
Aug
(21) |
Sep
(10) |
Oct
(12) |
Nov
(3) |
Dec
(19) |
2011 |
Jan
(3) |
Feb
(13) |
Mar
(8) |
Apr
(8) |
May
(17) |
Jun
(20) |
Jul
(21) |
Aug
(7) |
Sep
|
Oct
|
Nov
(9) |
Dec
(11) |
2012 |
Jan
(3) |
Feb
|
Mar
|
Apr
(5) |
May
(4) |
Jun
(14) |
Jul
(5) |
Aug
(2) |
Sep
(15) |
Oct
(2) |
Nov
(23) |
Dec
(1) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
|
Apr
|
May
(5) |
Jun
(1) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(12) |
Nov
(10) |
Dec
(3) |
2014 |
Jan
(7) |
Feb
(14) |
Mar
(2) |
Apr
|
May
(2) |
Jun
(11) |
Jul
(10) |
Aug
(4) |
Sep
|
Oct
(8) |
Nov
(1) |
Dec
(2) |
2015 |
Jan
(9) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(7) |
Jun
|
Jul
(5) |
Aug
(6) |
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
2016 |
Jan
(1) |
Feb
(1) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
|
Jul
(6) |
Aug
(8) |
Sep
(21) |
Oct
(17) |
Nov
|
Dec
(36) |
2017 |
Jan
(6) |
Feb
(2) |
Mar
(4) |
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(6) |
2018 |
Jan
(2) |
Feb
(3) |
Mar
(3) |
Apr
(14) |
May
(2) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(6) |
Oct
(16) |
Nov
(1) |
Dec
(6) |
2019 |
Jan
(3) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(7) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
(2) |
Dec
(1) |
2021 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2025 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ronald_Oussoren <ous...@co...> - 2003-05-07 11:32:41
|
On Wed, 7 May 2003 09:24:04 +0200, Dinu Gherman wrote > Dinu Gherman: > > > As a start I'd suggest these two for PyObjC: > > > > http://www.versiontracker.com > > http://www.macupdate.com > > In fact, Python and MacPython were already there: > > http://www.macupdate.com/search.php?keywords=python > > http://www.versiontracker.com/mp/ > new_search.m?productDB=mac&mode=Quick&OS_Filter=MacOSX&search=python > > But VersionTracker.com still says PyObjC 0.8 is the newest (311 > downloads, BTW), while MacUpdate.com doesn't know about it... > > Is it known who is actually maintaining this information? Bill, you > are listed with CodeFab for PyObjC on VersionTracker... I suggest > to write the list of such sites down somewhere in CVS in some "nor- > malised" fashion. I agree that adding us to more of these sites is usefull. I'll try to add us to macupdate.com, freshmeat.net and the python package index at python.org. Ronald |
From: Ronald_Oussoren <ous...@ci...> - 2003-05-07 11:29:32
|
On Wed, 7 May 2003 13:13:10 +0200, Jack Jansen wrote > Folks, > build from CVS is failing for me, with the dreaded > > ld: build/libffi/lib/libffi.a(darwin_closure.o) has local relocation > entries in non-writable section (__TEXT,__text) > > when linking objc/_objc.so. Is anyone else seeing this? I have the > March 8 snapshot of libffi, and the last build I tried (a couple of > weeks ago) worked fine... Your using an older snapshot of libffi. The snapshot that is currently on SF should work. Ronald |
From: Jack J. <Jac...@cw...> - 2003-05-07 11:12:12
|
Folks, build from CVS is failing for me, with the dreaded ld: build/libffi/lib/libffi.a(darwin_closure.o) has local relocation entries in non-writable section (__TEXT,__text) when linking objc/_objc.so. Is anyone else seeing this? I have the March 8 snapshot of libffi, and the last build I tried (a couple of weeks ago) worked fine... -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |
From: Jack J. <Jac...@cw...> - 2003-05-07 11:07:48
|
First of all: thanks to Gary and Zachary for following the tutorial to the letter and reporting bugs like these! Second, I think there's an important lesson in here: as the tutorial is going to be the very first thing newcomers will try it must be absolutely bug-free. In other words, before the next release we should do a code freeze and at that point someone should follow the tutorial (and follow it to the letter) to see that it still makes sense. I think it might be a good idea to create a document "distribution-build.txt" or something like that in which we record the steps that need to be taken when creating a new distribution. This could include stuff like testing the tutorial, but also the incantations needed to create the installers, addresses of mailing lists and websites where we want to post announcements, etc. I have such a document for MacPython distributions (in Mac/Distributions/readme.txt), and I find that with every distribution I do there's one of the steps that cause the "oh! good that I wrote this down, otherwise I would have forgotten" sensation. -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |
From: Jack J. <Jac...@cw...> - 2003-05-07 10:50:54
|
On Tuesday, May 6, 2003, at 16:05 Europe/Amsterdam, Just van Rossum wrote: > Jack Jansen wrote: > >> When I wrote the tutorial you still needed to do "import PyObjC". >> Then the PyObjC package finally disappeared, to make the names more >> compatible with Apple documentation (something that was on the todo >> list for a long time). Then nobody remembered to fix the tutorial:-( > > Hm, there's the objc module, which used to be called pyobjc, but that > happened long before I first worked with PyObjC and surely predates > your > tutorial. There's a new module called PyObjCTools, but in recent times > there has been no module called PyObjC, so I have my doubts "import > PyObjC" ever worked during the existence of the tutorial... ... Hmm... I'm pretty sure that I started with a clean environment when I wrote the tutorial, but maybe I goofed up somehow? -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |
From: Dinu G. <gh...@da...> - 2003-05-07 07:22:32
|
Dinu Gherman: > As a start I'd suggest these two for PyObjC: > > http://www.versiontracker.com > http://www.macupdate.com In fact, Python and MacPython were already there: http://www.macupdate.com/search.php?keywords=python http://www.versiontracker.com/mp/ new_search.m?productDB=mac&mode=Quick&OS_Filter=MacOSX&search=python But VersionTracker.com still says PyObjC 0.8 is the newest (311 downloads, BTW), while MacUpdate.com doesn't know about it... Is it known who is actually maintaining this information? Bill, you are listed with CodeFab for PyObjC on VersionTracker... I suggest to write the list of such sites down somewhere in CVS in some "nor- malised" fashion. Dinu -- Dinu C. Gherman ...................................................................... "Keep good relations with the Grecians." (George W. Bush, 12 Jun. 1999) |
From: Marcel W. <ma...@me...> - 2003-05-07 01:33:58
|
> > Of course, there is no formal definition of "pythonic", there there is > the list from "import this", the most well known (as well as abused) > one > is "Explicit is better than implicit". Not necessarily. For example, the polymorphism you get with OO is *implicit*. You didn't say which exact method you wanted, you just sent the message and let the system decide which specific implementation to use. And yes, there are still a number of people who consider this 'evil'. > Also appripriate is > > In the face of ambiguity, refuse the temptation to guess. Who is guessing? > as well as > > Errors should never pass silently. If they are actually errors in the first place... Marcel -- Marcel Weiher Metaobject Software Technologies ma...@me... www.metaobject.com Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc. |
From: Just v. R. <ju...@le...> - 2003-05-06 21:24:53
|
Zachery Bir wrote: > > Even tho this was my error, to make sure other people don't fall > > into the same silliness, you might want to change the tutorial to > > say: "Work through Defining the Classes of Currency Converter, > > Connecting ConverterController to the Interface, and stop at > > Implementing the Classes of Currency Converter". > > +1 Done, thanks. Just |
From: Zachery B. <zb...@ur...> - 2003-05-06 20:53:24
|
On Tuesday, May 6, 2003, at 04:14 PM, Gary Robinson wrote: >> Yes, but if you follow Apple's tutorial up to the the step listed in >> the tutorial, you don't have the two instances ConverterController and >> Converter... So there's a missing step somewhere. > > Wait, I figured it out. My silliness. > > The PyObjC tutorial says stop when you get to "Implementing the > Classes of > Currency Converter" in the Apple tuturial. > > However, I stopped when I got to "Defining the Classes of Currency > Converter" which is very different! > > Seems like Zac did the same thing?? d'oh. > Even tho this was my error, to make sure other people don't fall into > the > same silliness, you might want to change the tutorial to say: "Work > through > Defining the Classes of Currency Converter, Connecting > ConverterController > to the Interface, and stop at Implementing the Classes of Currency > Converter". +1 Zac |
From: Just v. R. <ju...@le...> - 2003-05-06 20:35:58
|
Gary Robinson wrote: > HOWEVER, I still have a problem. The CurrencyConverter.py I get after > doing all that is identical to step4-CurrencyConverter.py, except the > latter contains > > from Foundation import NSObject, NSObject > > as the first line, and mine doesn't have any line importing NSObject. > > Of course I can manually edit the file to add the import, but does > anybody have any idea why it wasn't put there automatically? Because it shouldn't be needed, the file in the tutorial was generated with an earlier version of NibClassBuilder.py, and someone forgot to update the tutorial (me). So: the code should be just fine... Just |
From: Gary R. <gro...@tr...> - 2003-05-06 20:15:15
|
> Yes, but if you follow Apple's tutorial up to the the step listed in > the tutorial, you don't have the two instances ConverterController and > Converter... So there's a missing step somewhere. Wait, I figured it out. My silliness. The PyObjC tutorial says stop when you get to "Implementing the Classes of Currency Converter" in the Apple tuturial. However, I stopped when I got to "Defining the Classes of Currency Converter" which is very different! Seems like Zac did the same thing?? Even tho this was my error, to make sure other people don't fall into the same silliness, you might want to change the tutorial to say: "Work through Defining the Classes of Currency Converter, Connecting ConverterController to the Interface, and stop at Implementing the Classes of Currency Converter". HOWEVER, I still have a problem. The CurrencyConverter.py I get after doing all that is identical to step4-CurrencyConverter.py, except the latter contains from Foundation import NSObject, NSObject as the first line, and mine doesn't have any line importing NSObject. Of course I can manually edit the file to add the import, but does anybody have any idea why it wasn't put there automatically? --Gary -- [http://ThisURLEnablesEmailToGetThroughOverzealousSpamFilters.org] Gary Robinson CEO Transpose, LLC gro...@tr... 207-942-3463 http://www.transpose.com http://radio.weblogs.com/0101454 |
From: Just v. R. <ju...@le...> - 2003-05-06 20:07:51
|
Zachery Bir wrote: > Yes, but if you follow Apple's tutorial up to the the step listed in > the tutorial, you don't have the two instances ConverterController and > Converter... So there's a missing step somewhere. Ha, that would be great, since step 5 is superfluous and needs to be removed (it was left over from an earlier version), and renumbering the later items will be a pain ;-) Just |
From: Zachery B. <zb...@ur...> - 2003-05-06 20:04:22
|
On Tuesday, May 6, 2003, at 01:53 PM, Just van Rossum wrote: > Gary Robinson wrote: > >> This step seemed to execute correctly, but my CurrencyConverter.py >> looks very different from step4-CurrencyConverter.py. Here is what it >> looks like: >> >>> from PyObjCTools import NibClassBuilder, AppHelper >>> >>> >>> >>> >>> >>> if __name__ == "__main__": >>> AppHelper.runEventLoop() >> >> That's the entire contents of the file. Lots of stuff seems to be >> missing. > > The tutorial contains step3-MainMenu.nib, that one should give the > right > output when you run it through nibclassbuilder. Yes, but if you follow Apple's tutorial up to the the step listed in the tutorial, you don't have the two instances ConverterController and Converter... So there's a missing step somewhere. Zac |
From: Just v. R. <ju...@le...> - 2003-05-06 17:54:01
|
Gary Robinson wrote: > This step seemed to execute correctly, but my CurrencyConverter.py > looks very different from step4-CurrencyConverter.py. Here is what it > looks like: > > > from PyObjCTools import NibClassBuilder, AppHelper > > > > > > > > > > > > if __name__ == "__main__": > > AppHelper.runEventLoop() > > That's the entire contents of the file. Lots of stuff seems to be > missing. The tutorial contains step3-MainMenu.nib, that one should give the right output when you run it through nibclassbuilder. (A nib "file" is indeed directory, but a special one called a package. Most of the OS hides the fact that it's really a directory, so in general it's ok to call it a file.) Just |
From: Michael H. <mw...@py...> - 2003-05-06 17:40:42
|
Gary Robinson <gro...@tr...> writes: > I don't know whether it means anything that tutorial.html refers to > MainMenu.nib as a "file" when in fact it is a directory with the following > contents: > > % ls -l MainMenu.nib > total 32 > -rw-r--r-- 1 garyrob staff 110 May 6 12:09 classes.nib > -rw-r--r-- 1 garyrob staff 589 May 6 12:09 info.nib > -rw-r--r-- 1 garyrob staff 6411 May 6 12:09 objects.nib > > > Maybe I should be referring to one of the files in MainMenu.nib, rather than > to MainMenu.nib itself??? Nope. Can't be more helpful than that, I'm afraid :-/ classes.nib looks a little small. Do things go wrong when you run NibClassBuilder.py on the .nib in the tutorial folder? Cheers, M. -- I wouldn't trust the Anglo-Saxons for much anything else. Given they way English is spelled, who could trust them on _anything_ that had to do with writing things down, anyway? -- Erik Naggum, comp.lang.lisp |
From: Gary R. <gro...@tr...> - 2003-05-06 17:34:46
|
I don't know whether it means anything that tutorial.html refers to MainMenu.nib as a "file" when in fact it is a directory with the following contents: % ls -l MainMenu.nib total 32 -rw-r--r-- 1 garyrob staff 110 May 6 12:09 classes.nib -rw-r--r-- 1 garyrob staff 589 May 6 12:09 info.nib -rw-r--r-- 1 garyrob staff 6411 May 6 12:09 objects.nib Maybe I should be referring to one of the files in MainMenu.nib, rather than to MainMenu.nib itself??? --Gary -- [http://ThisURLEnablesEmailToGetThroughOverzealousSpamFilters.org] Gary Robinson CEO Transpose, LLC gro...@tr... 207-942-3463 http://www.transpose.com http://radio.weblogs.com/0101454 |
From: Just v. R. <ju...@le...> - 2003-05-06 16:38:40
|
Dinu Gherman wrote: > Well, let's not try to impose anybody's definition of what "pythonic" > means to any group of people, like future Pythonistas coming from the > Cocoa camp. > > In fact, I still haven't found a good definition of what it means to > be "pythonic"... which is maybe good, because many great things lack > a good, satisfactory definition. Of course, there is no formal definition of "pythonic", there there is the list from "import this", the most well known (as well as abused) one is "Explicit is better than implicit". Also appripriate is In the face of ambiguity, refuse the temptation to guess. as well as Errors should never pass silently. > Saying something is pythonic, because it was in Python 0.x is probably > not enough as we can see with Booleans, say, which were doomed to be > evil until Python 2.2, or so. Sending messages to nil makes little sense in Python, as calling a method is always a two-step procedure: 1) get the bound method, 2) call the bound method. The fact that to emulate sending arbitrary messages to nil you need to create dummy bound method objects should (but apparently doesn't, to you ;-) clearly demonstrate that this does not fit the way Python _works_. IMO it has little to do with what is perceived to be Pythonic. > Wonderful-topic-for-a-discussion-fueled-by-Belgian-beer-;-)'ly, Sure thing ;-) Just |
From: Gary R. <gro...@tr...> - 2003-05-06 16:29:27
|
I'm working through tutorial.html. I've gone through the Cocoa tutorial steps, and have a nib file that looks like the appropriate CurrencyConverter application, and all the text fields behave properly, etc. At this point my MainMenu.nib directoty looks like step3-MainMenu.nib, as the tutorial says it shoud. The next step in the tutorial says: > 4. Create the skeleton Python script by running NibClassBuilder as a tool. > When invoked as a main program from the command line NibClassBuilder will > parse the NIB file and create a skeleton module for you. Invoke it as follows > (from the src directory): > > $ python $PYLIB/site-packages/PyObjC/PyObjCTools/NibClassBuilder.py \ > MainMenu.nib > CurrencyConverter.py > > The result of this can be seen in step4-CurrencyConverter.py. This step seemed to execute correctly, but my CurrencyConverter.py looks very different from step4-CurrencyConverter.py. Here is what it looks like: > from PyObjCTools import NibClassBuilder, AppHelper > > > > > > if __name__ == "__main__": > AppHelper.runEventLoop() That's the entire contents of the file. Lots of stuff seems to be missing. I have no idea why. As far as I can tell, I am doing the tutorial instructions exactly as described, and CurrencyConverter.py was in fact generated, but it apparently isn't correct. Any ideas? --Gary -- [http://ThisURLEnablesEmailToGetThroughOverzealousSpamFilters.org] Gary Robinson CEO Transpose, LLC gro...@tr... 207-942-3463 http://www.transpose.com http://radio.weblogs.com/0101454 |
From: Dinu G. <gh...@da...> - 2003-05-06 16:11:36
|
Just van Rossum: > -1. It may be the ObjC way, but it's not the Python way. Remember = we're > using Python to use Cocoa and not to write ObjC with a nicer syntax... Well, let's not try to impose anybody's definition of what "pythonic" means to any group of people, like future Pythonistas coming from the Cocoa camp. In fact, I still haven't found a good definition of what it means to be "pythonic"... which is maybe good, because many great things lack a good, satisfactory definition. Saying something is pythonic, because it was in Python 0.x is probably not enough as we can see with Booleans, say, which were doomed to be evil until Python 2.2, or so. Wonderful-topic-for-a-discussion-fueled-by-Belgian-beer-;-)'ly, Dinu -- Dinu C. Gherman ...................................................................... "All you have to do is tell [the people] they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in any country." (Hermann=A0Goering, President of the Reichstag, 1932-45) |
From: Just v. R. <ju...@le...> - 2003-05-06 14:18:43
|
Dinu Gherman wrote: > Ok, I'm looking deeper into the documentation.... so here we go! > Item 2 in pyobjc/Doc/warts.html currently says: > > In objective-C it is valid to call methods on nil, these calls > will be ignored. The nil 'object' is mapped to None and None > will not ignore method calls, but will most likely raise an > AttributeError. You'll have to remember this when translating > from Objective-C to python. > > This might lead to people who are trying to convert Cocoa code to > Python to change the application logic. I remember I wrote a Null > class that would behave as much as a "black whole" as possible. > It's in the O'Reilly Python Cookbook and available online here: > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/68205 > > This might benefit from some more detailed inspection using ver- > sion 2.3 of Python, which I haven't done, yet. > > I might be possible to replace the current None (as currently con- > verted from nil) with a singleton Null instance, possibly as an > option only, if the code rewriting ever becomes more of a real > issue... I know that it can be very convenient in some cases if > "nothing" happens in a well-defined way! ;-) -1. It may be the ObjC way, but it's not the Python way. Remember we're using Python to use Cocoa and not to write ObjC with a nicer syntax... Just |
From: Dinu G. <gh...@da...> - 2003-05-06 14:11:07
|
Ok, I'm looking deeper into the documentation.... so here we go! Item 2 in pyobjc/Doc/warts.html currently says: In objective-C it is valid to call methods on nil, these calls will be ignored. The nil 'object' is mapped to None and None will not ignore method calls, but will most likely raise an AttributeError. You'll have to remember this when translating from Objective-C to python. This might lead to people who are trying to convert Cocoa code to Python to change the application logic. I remember I wrote a Null class that would behave as much as a "black whole" as possible. It's in the O'Reilly Python Cookbook and available online here: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/68205 This might benefit from some more detailed inspection using ver- sion 2.3 of Python, which I haven't done, yet. I might be possible to replace the current None (as currently con- verted from nil) with a singleton Null instance, possibly as an option only, if the code rewriting ever becomes more of a real issue... I know that it can be very convenient in some cases if "nothing" happens in a well-defined way! ;-) Regards, Dinu -- Dinu C. Gherman ...................................................................... "Les gens se divisent en deux cat=E9gories=A0: les uns cherchent et ne trouvent pas, les autres trouvent et ne sont pas contents." (Mihail Eminescu)= |
From: Just v. R. <ju...@le...> - 2003-05-06 14:09:01
|
Jack Jansen wrote: > When I wrote the tutorial you still needed to do "import PyObjC". > Then the PyObjC package finally disappeared, to make the names more > compatible with Apple documentation (something that was on the todo > list for a long time). Then nobody remembered to fix the tutorial:-( Hm, there's the objc module, which used to be called pyobjc, but that happened long before I first worked with PyObjC and surely predates your tutorial. There's a new module called PyObjCTools, but in recent times there has been no module called PyObjC, so I have my doubts "import PyObjC" ever worked during the existence of the tutorial... Just |
From: Jack J. <Jac...@cw...> - 2003-05-06 13:36:44
|
On Tuesday, May 6, 2003, at 14:43 Europe/Amsterdam, Michael Hudson wrote: >>> But I suggest updating the Tutorial >>> (Documentation/PyObjC/tutorial/tutorial.html) so that it urges the >>> user to >>> "import Foundation" rather than "import PyObjC" since the latter >>> won't work. >> >> I agree. Caught me at first, as well. > > OK, another question: why is it done like this? When I wrote the tutorial you still needed to do "import PyObjC". Then the PyObjC package finally disappeared, to make the names more compatible with Apple documentation (something that was on the todo list for a long time). Then nobody remembered to fix the tutorial:-( -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |
From: Dinu G. <gh...@da...> - 2003-05-06 12:59:00
|
Michael Hudson: > OK, another question: why is it done like this? Excellent question! In fact, I was wondering why the many Mac modules on http://www.python.org/doc/current/modindex.html don't live under one common shelter, say a package named "mac", too? Wouldn't that help fighting "namespace pollution" disease? Or is it "too late"? Dinu -- Dinu C. Gherman ...................................................................... "The West won the world not by the superiority of its ideas or values or religion but rather by its superiority in applying organized vio- lence. Westerners often forget this fact, non-Westerners never do." (Samuel P. Huntington) |
From: Dinu G. <gh...@da...> - 2003-05-06 12:46:57
|
Hi, I'd like the PyObjC admins to consider the idea and open a page on some of the increasingly popular web databases describing soft- ware for people searching it. One small benefit is that usually they provide some download counters as well. As a start I'd suggest these two for PyObjC: http://www.versiontracker.com http://www.macupdate.com I'm using them a lot myself and I believe many thousends of users do so as well on a daily basis. Have a try with this one if you like: ;-) http://www.macupdate.com/info.php/id/11686 Regards, Dinu -- Dinu C. Gherman ...................................................................... "An age is called Dark, not because the light fails to shine, but because people refuse to see it." (James Michener) |