[Python-Dev] Unipath package

2007-01-28 Thread Mike Orr
I finally finished my path package (Unipath) and put it in the Cheeseshop. http://sluggo.scrapping.cc/python/unipath/ There's a Path class for pathname calculations, and a FSPath subclass for filesystem calls. I'm hoping Path -- or something resembling it -- will find its way into os.path in

Re: [Python-Dev] Unipath package

2007-01-28 Thread Tobias Ivarsson
Hi! I am a MSc of Computer Engineering student from Sweden. A frequent reader of python-3000, and an occasional reader of python-dev for about a year now. I have wanted to get involved in the development of python for a while but haven't found the time before. Now, when I'm in the process of

Re: [Python-Dev] Unipath package

2007-01-28 Thread Michael Foord
Mike Orr wrote: I finally finished my path package (Unipath) and put it in the Cheeseshop. http://sluggo.scrapping.cc/python/unipath/ Hello Mike, Looking through the docs it looks like a great package. However, didn't Guido (on this list anyway) rule that he wouldn't accept a solution

Re: [Python-Dev] Unipath package

2007-01-28 Thread Steven Bethard
On 1/28/07, Michael Foord [EMAIL PROTECTED] wrote: Mike Orr wrote: I finally finished my path package (Unipath) and put it in the Cheeseshop. http://sluggo.scrapping.cc/python/unipath/ Hello Mike, Looking through the docs it looks like a great package. However, didn't Guido (on this

Re: [Python-Dev] Unipath package

2007-01-28 Thread Mike Orr
On 1/28/07, Tobias Ivarsson [EMAIL PROTECTED] wrote: I am a MSc of Computer Engineering student from Sweden. A frequent reader of python-3000, and an occasional reader of python-dev for about a year now. I have wanted to get involved in the development of python for a while but haven't found

Re: [Python-Dev] Unipath package

2007-01-28 Thread Mike Orr
On 1/28/07, Steven Bethard [EMAIL PROTECTED] wrote: On 1/28/07, Michael Foord [EMAIL PROTECTED] wrote: Mike Orr wrote: I finally finished my path package (Unipath) and put it in the Cheeseshop. http://sluggo.scrapping.cc/python/unipath/ Hello Mike, Looking through the docs it

Re: [Python-Dev] [Python-3000] Unipath package

2007-01-28 Thread Larry Hastings
I dropped the Cc: of Python-3000, because I don't think this discussion falls under that mailing list's charter. As I understand it, the Python-3000 mailing list is for discussing the details of implementing Python 3000. Stuff I'd like to see in Python 3000 doesn't go there, it goes to

Re: [Python-Dev] [Python-3000] Unipath package

2007-01-28 Thread Mike Orr
On 1/28/07, Larry Hastings [EMAIL PROTECTED] wrote: I dropped the Cc: of Python-3000, because I don't think this discussion falls under that mailing list's charter. As I understand it, the Python-3000 mailing list is for discussing the details of implementing Python 3000. Stuff I'd like to

Re: [Python-Dev] [Python-3000] Unipath package

2007-01-28 Thread Mike Orr
On 1/28/07, Mike Orr [EMAIL PROTECTED] wrote: Passing an absolute foreign path is an error, because there's no sane way to interpret C:\\ on Posix or / on Windows. There is in fact a very sane way to interpret / on Windows: the root directory of the current drive. It's equivalent to \.

Re: [Python-Dev] [Python-3000] Unipath package

2007-01-28 Thread Greg Ewing
Larry Hastings wrote: There is in fact a /very/ sane way to interpret / on Windows: the root directory of the current drive. Whether that's sane or not is debatable -- it depends entirely on what the application and/or user expect. A Unix user is probably expecting /foo to be completely

Re: [Python-Dev] [Python-3000] Unipath package

2007-01-28 Thread Greg Ewing
Mike Orr wrote: The issue is that *maybe* the programmer wants to copy /etc/mailcap on his Posix filesystem to \etc\mailcap on his Windows drive, That doesn't make sense. In order to do this, either the Windows file system must be mounted on the Unix system, in which case Unix paths are used

Re: [Python-Dev] Unipath package

2007-01-28 Thread Mike Orr
Thanks everyone who sent Windows and Mac unittest reports. I've got enough of them now. 95% of the Windows errors are because I forgot to remove symlinks from the control values. The repr() problem is more mysterious: somehow one path is turning into unicode while the other isn't. The chmod

Re: [Python-Dev] Unipath package

2007-01-28 Thread glyph
On 28 Jan, 06:30 pm, [EMAIL PROTECTED] wrote: The discussion has been hampered by the lack of released code. Only Orendorff's class has been widely used in production systems. The others have either never been used or only by their authors; they haven't made it to the Cheeseshop. Unipath is

Re: [Python-Dev] Problem with signals in a single threaded application

2007-01-28 Thread Martin v. Löwis
Greg Ewing schrieb: Correct me if I'm wrong, but what I got from the OP was that the current method does Ok, I'm correcting you: This is not what the current method does: if (is_tripped) { for each signal { if the signal has occurred, call its handler }