Re: [Pythonmac-SIG] Discussion of Python IDE's: strengths and weaknesses (long)
Hello, > Wolfgang's question has prompted me to think more generally about each > Python IDE for OS Xthat has been discussed. I've used, or tried to use, > every one of them over the past several months, and I'd like to offer a > brief discussion of each, plus some that have not been discussed at > length. So, in no particular order: > 1. Boa Constructor. > 2. Spe, > 3. Eric3 > 4. WingIDE: > 5. IDLE and PythonIDE, > 6. PyOxide. > ActiveState's Komodo; > I hope this helps, and isn't Too Much Information (TM). You could easily make a Pyzine article out of that. You didn't happen to try out Pythoncard yet...? *duck* Sincerely, Wolfgang -- P.S.: My From-address is correct ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
[Pythonmac-SIG] Stability of (I)DEs, particularly WingIDE? (Re: [Boa Constr] Re: ANN: Boa Constructor for OS X available)
Hello, > I have yet to encounter a Python editor on the Mac that does this > gracefully. Eric3, Spe, PyOxide,and now Boa--they all crash at times, > and sometimes all the time, when trying to eval/debug scripts. > To be perfectly honest, when it comes to the eval/debug cycle, Emacs + > terminal is about the only thing that works for me. Any opinions on how WingIDE compares to the others concerning this issue? TIA, Sincerely, Wolfgang Keller -- P.S.: My From-address is correct ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?
Hello, > does "every" system possessing a driver for such a file system use > the getxattr &c functions to access these features? There is a Posix standard API for extended attributes. And afaik all Linuxes and even Windows are implementing this standard. As for Apple, no clue. The ACLs in MacOS X are Posix however, afaik. Best regards, Wolfgang Keller -- P.S.: My From-address is correct ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?
Hello, >> > Dumb question: How about integrating it "officially" in the Macpython >> > distribution, so that all file objects on MacOS X.4 automatically have >> > an xattr dict? >> >> Are these functions in any way standard (eg. does FreeBSD have >> them?). If so, they should probably be detected at configure time. > I don't believe FreeBSD has them, but the SELinux project has them > for ACLs, though they are poorly documented. They may also exist in > other file systems, such as ReiserFS. Also, the concept exists on > Solaris as well. Basically _every_ "modern" file system has extended attributes. > The trick is that on Solaris and SELinux they're purely an ACL issue > as far as I know. The irony is that it seems that currently _no_ OS that supports extended attributes allows the user to actually use them. Because there's no UI. > I believe Tiger is the first OS to fully deploy an abstract > meta-data infrastructure in the FS. Most definitely not. In fact MacOS X actually seems to be (one of) the last OSes which supports user-definable extended attributes. As I've been told, OS/400 had even a real "filebase" including relations etc. for decades. VMS had EAs for decades as well. XFS is probably th eoldest unix filesystem with EAs. OS/2's HPFS has them since it existed etc... BeOS was/is apparently the only OS that allowed end user to actually use extended attributes. Through its "Tracker". While MacOS X.4 doesn't (provide a UI to user-defined extended attributes). Still. BTW: How many years after Jobs generated all hype bubbles to drag Amelio away from Be, hype bubbles which extremely ressembled those that MS created around "Chicago" in order to FUD users and companies away from OS/2...? It's been so long ago I can't even remember it. >> Another question is if empty xattr dicts should appear on platforms >> with no support for them. > Yes, they should appear empty, and I would imagine, throw an > Exception on any attempt to set them. Exactly. And, imho, the API (a dict) should be identical on all platforms that support EAs, not just on MacOS X. Best regards Wolfgang Keller -- P.S.: My From-address is correct ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?
Hello, > On May 3, 2005, at 11:09 AM, Wolfgang Keller wrote: >> has anyone already wrapped the getxattr(), setxattr(), >> removexattr(), listxattr() functions on MacOS 10.4 for >> Python? > I took a stab at it today. Hey, I had asked _whether_ someone has done it, I didn't ask you _to_ _do_ _it_! ;-) > Get the xattr package from pythonmac packages <http://pythonmac.org/ packages/>> Shame on me, I don't even have MacOS X.4 yet. *drvvf* > I don't expose getxattr, etc. as public API, because the options they > take don't translate well to Python. Public API is simply an "xattr" > type that you can wrap over a path or fd, and then it's used in a > dict-like way. That's _exactly_ the way it should be done. :-) Dumb question: How about integrating it "officially" in the Macpython distribution, so that all file objects on MacOS X.4 automatically have an xattr dict? Best regards, Wolfgang Keller -- P.S.: My From-address is correct ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] PyOXIDE wishes?
Hello, > Update the PyOXIDE homepage - What homepage? There is nothing there. - Get rid of the HTTP/HTML forum and use a mailinglist instead. With bi-directional gatewaying to gmane.org, obviously. Best regards Wolfgang Keller -- P.S.: My From-address is correct ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
[Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?
Hello, has anyone already wrapped the getxattr(), setxattr(), removexattr(), listxattr() functions on MacOS 10.4 for Python? TIA, Best regards Wolfgang Keller -- P.S.: My From-address is correct ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] Mac User Python Newbies
> Speaking of DrPython, I have an example of having it packaged in the > py2app svn trunk.. but as it uses wxScintilla, it isn't really very fun > to play with. Dumb question: What's wrong with wxScintilla? Doesn't SPE use it as well? What's Boa using? Best regards, Wolfgang Keller ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] Mac User Python Newbies
> To some extent, while Guido could endorse something (which is more or > less the case with IDLE), there is no way to name something the > "official one", and even if there were, there's nothing to stop folks > from going out on their own anyway. Sure, but... > Thus is the nature of open-source. > How many Linux distros are there? ...how many FreeBSD distributions are there? And what is the consequence for the users, developers, administrators of systems running on FreeBSD compared to Linux? *duck* >:-> Best regards Wolfgang Keller ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] Mac User Python Newbies
> I tried SPE, PythonCard, PyOxice, PyPE, eclipse and > wing (under x11). Supposed to run on MacOS X: Eric3, Boa Constructor, DrPython (?), Leo (not exactly a conventional IDE) Maybe someday as well: BlackAdder It doesn't seem to me that there are no IDEs available for Python on MacOS X (or any other common system), but rather the opposite is true imho: There are so many different ones that in fact the development ressources get scattered instead of concentrated and in the end none gets the effort that would be required to make it "rock-solid" and "newbie-proof". And (from my outsider perspective as a "constant newbie") this seems to be somehow symptomatic for the Python "community" altogether: Usually for each "problem" to solve, there are several implementations competing with each other. Other examples besides IDEs: DB modules, web frameworks, ORMs... If for each given problem one implementation was chosen as "the official one" and efforts would be concentrated on "hardening" this one and merging in good features/concepts from the others as far as possible, newbies would maybe get less confused and could maybe also get more productive more quickly due to "better quality" of the "batteries included" in python... Best regards Wolfgang Keller ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] Re: Mac newbie
> 3a Command R can wait for the third tier because I have a trick: I > run a script "onchange.py python somefile.py" which runs somefile.py > whenever I save the file. But a newbie wouldn't know how to create > this script. Stakeout? Best regards Wolfgang Keller ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] ANN: PyOXIDE 0.7.1 - Cocoa based Python IDE
> PyOXIDE 0.7.1 is now available on my idisk (as PyOXIDE_0.7.1.dmg): Hey, no screenshots on the WWW site? ;-) Regards, Wolfgang Keller ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] Folder Actions in Python?
> Is there a way to write "folder actions" for MacOS X in Python? In fact it seems there is more than one way to use kqueue from Python, which is more efficient than Finder Folder Actions. First, there is effectively a Python module PyKQueue. The current version is 1.4, available from http://ox.eicat.ca/~dgilbert/files/PyKQueue.html. The version available at http://fink.sourceforge.net/pdb/package.php/pykqueue-py23 is the old 1.3. Second, there is Stakeout, an ObjC program, available from http://michael-mccracken.net/blog/blosxom.pl/computers/mac/programming/meetWatch.html And finally, the development of a kqueuereactor is now foreseen for twisted. :-) There are also kernel modules available for Linux which provide similar functionality. BTW: It seems that the MacOS X Finder still polls the filesystem instead of using kqueue - Ouch. Best regards, Wolfgang Keller ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
[Pythonmac-SIG] Folder Actions in Python?
Hello, this may potentially be a dumb FAQ, but: Is there a way to write "folder actions" for MacOS X in Python? I would guess to enable this the corresponding script would at least have to be applescript-able itself...? Related question: I read somewhere that FreeBSD has a similar notification mechanism built-in - is this feature available in MacOS X as well or does it depend on the "native" BSD filesystem? If it is available, is there a way (preferably without havong to learn C) to use it from Python on MacOS X? Any other way to implement such a function in Python without having to poll the corresponding folder all the time (ouch)? TIA, Best regards Wolfgang Keller ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig