I specifically use CC-BY on code for two reasons:
1. It pisses off the hardcore freedom zealots because they consider it "non-free"
2. Code is art. I don’t care about treating the specifics of code with a licence (like GPL). The work in its entirety is copyrighted and that’s about as much detail as I care for
Though, I like to rock the boat. If you do want an OSI approved licence, use MIT or BSD. Also, consider using GitHub instead of Google Code. Git is *far* better than SVN for starters, and GitHub has better services.