The Artima Developer Community
Sponsored Link

Python Buzz Forum
Must Love Zope

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sidnei da Silva

Posts: 137
Nickname: deecee
Registered: Nov, 2003

Sidnei da Silva is a dirty little brazilian python hacker
Must Love Zope Posted: Oct 31, 2005 5:49 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Sidnei da Silva.
Original Post: Must Love Zope
Feed Title: awkly.org
Feed URL: http://awkly.org/categories.rdf?category=Python
Feed Description: dreamcatching :: making your dreams come true
Latest Python Buzz Posts
Latest Python Buzz Posts by Sidnei da Silva
Latest Posts From awkly.org

Advertisement
Must Love Zope Found some lovely piece of code deep into the FTP parts of Zope 2 last saturday, one of them is truely ugly. It's listing the contents of the current and parent folders for no apparent reason (or at least, it didn't make sense either to me or Chris McDonough).

The code in question is in the manage_FTPstat method of OFS.ObjectManager. Tracing back the source of this code, it seems to have been (surprisingly) introduced by Jim Fulton, back in 1999. Here's part of Jim's checkin.

Later on, Amos Latteier changed part of the code (namely, manage_FTPlist) to use a slightly more friendlier, yet equally confusing is_acquired method. Here's part of Amos' checkin.

I'm now sitting here, trying to make sense of this code and wondering what was the original intention in the first place. Would anyone have a clue?

Read: Must Love Zope

Topic: The Poignant Planet Python Puzzle! -- solutions Previous Topic   Next Topic Topic: Zope 3 and Modeling

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use