Patch for Python 2.3

2 views
Skip to first unread message

Chad Whitacre

unread,
Dec 5, 2006, 2:55:43 PM12/5/06
to geopy
Greetings,

I've posted a patch to make geopy work with Python 2.3:


http://geopy.googlegroups.com/web/python2.3.patch?gda=jsqIaUUAAAALOKtZcL_oXrUJBJTY6wVuyoKN3HStxlpTQG7yia1xuBVJVT3hrgKrn_IySc8la3J8CMuG8HfwDfIi9wYjoLb05eY-W11Thzp5J0tK69nM_g

(Not sure if that link will work; check
http://groups-beta.google.com/group/geopy/files if not.)

Here's what I had to change:

- moved classmethod and property decorators to old-style calls
- rewrite tuple comprehensions as tuple(list comprehension)s
- harmlessly tweaked some imports


chad

P.S. The patch also trims trailing spaces, which I realize might be
annoying. Sorry. Let me know if it's a big deal and I will try to clean
it up.

Reply all
Reply to author
Forward
0 new messages