You don't understand how lending works. General Motors went bankrupt and borrowed money on the same day. If you personally go bankrupt, right after it is discharged you will start getting credit card offers in the mail. A big company or a government, post bankruptcy, is not considered a particularly unusual credit risk.
Detroit, by the way, has had a very difficult time buying tires [[or anything else) for its buses, pre-bankruptcy, because the micromismanaging City Council decided that [[a) only critical vendors would be paid in any reasonable manner, and [[b) no vendor of bus parts is critical.
Bookmarks