Why is it that I can't have 008 or 009 be keys for a Python dict, but 001-007 are fine? Example:
some_dict = {
001: "spam",
002: "eggs",
003: "foo",
004: "bar",
008: "anything", # Throws a SyntaxError
009: "nothing" # Throws a SyntaxError
}
Update: Problem solved. I wasn't aware that starting a literal with a zero made it octal. That seems really odd. Why zero?