Python Namespace Problem

This problem periodically comes up, and generally an unsatisfactory solution is proposed, the cure is worse than the disease, it's rejected, and we ignore the problem for another year.

The 1:1 correspondence of modules to files in Python is handy, but sometimes inconvenient. I would like to be able to write large, complex packages in Python but constrain the interface that they present, so that users only have to import one module in order to use them.

What is a good way to do this?

Don't Say I Never Did Nothing For You

An astounding variety of people have been bothering me lately about Windows support for Mantissa, which I guess is emblematic of Divmod's recent success with its new infrastructure, so good. Unfortunately I, too, have been forced into the grimy nether-world of win32 lately, so I thought I'd make sure that things actually work properly.

Surprisingly enough, after a bit of tweaking, they do.

As of today's Divmod repository trunk, install command-line SVN, PuTTY, and Python, make sure they're all in your %PATH%, and then click on this:

You should then be able to do this:


Voila.

Okay, I cheated, but only a little. If you don't comment out ClickChronicle in Divmod.pth, you'll get a slew of harmless tracebacks in addition to the useful output given there.

Last Chance To See

Just a final reminder: I still need help moving tonight. I still have some rather heavy furniture to move, so if you haven't come out yet, please consider doing so. I would really appreciate it.

Thanks very much to the crew so far, especially JP and Itamar, both of whom showed up on two days.

Your Very Soul

Did you miss my last post?

Were you out of town?

Was the notice too short?

Are you concerned that your absence indicates the fact that you are a fundamentally bad person? That by abandoning your fellow man in his hour of great need, you have thereby fallen out of God's favor, and thereby damned your immortal soul?

Can you feel the fires of Hell itself already lapping at your feet?

Don't worry! It's not too late. You still have two more chances!

Today we moved most of the knickknacks and books, as well as the TV and several small bits of furniture. Tomorrow I'm moving clothing, boxing up the books that were already moved but now located in ungainly stacks in the new place, taking apart and throwing away furniture which cannot be moved whole, and moving my bed.

On Tuesday, when my Internet arrives upstairs, I will be boxing up the router, and moving my desk and Ying's desk. This is happening "after work", which, since I can do pretty much whatever the heck I want at work (and a faster move is certainly better for productivity) is whenever people start showing up to help. I would suggest 4PM.

Come One Come All

I have to move all my worldly belongings ... up two floors.

Ying has purchased the apartment (now condominium) unit that we live in (#1203). As part of that package we are getting some renovations done. However, in order to do those renovations, we've got to move out. The management office has provided us with a second unit to live in for the duration (#1603). However, we still have to schlep our stuff up the elevator and back down again.

Here's what's happening. This weekend (mostly on saturday, but depending on who can come and when, maybe sunday too), my friends, whoever they may be, and I, will move lots of boxes and furniture and random crap up 4 stories with the help of a small-furniture-sized elevator. There will be laying of ethernet cable. There will be much rejoicing.

Are you my friend? Because if you are, you will be here, helping me to prevent a triple hernia from moving two thousand pounds of books by myself. The aforementioned sad news has Ying flown out to Dallas this week, and possibly NYC the next; she won't be able to help with the move.

In all seriousness this is more of an excuse to get together (since we have two whole apartments to hold people!) than a huge amount of work. Our stuff is mostly in boxes already, we don't have much furniture, and there are no stairs to negotiate. If a few people show up, we should make short work of it. Considering that there is labor involved though, I do plan to provide food and refreshment of some variety for whoever shows up.

Do you have to get on a train or bus to get here? No problem! I don't think they're keeping track of who is in what apartments too carefully. I bet easily 3 people could stay here over the weekend and the office wouldn't care.