Bus drivers are *******s in all cities it seems. MTA bus drivers here in NYC love to do the same ****. It is a ticketable offense, but since they are driving extra large death machines, I guess they are exempt.
I just do my best to stay far away from buses. I get out of their way, and if I have to pass them, I do so on the left. If their is a bike lane, I get out of it and take a lane further left, since the bike lane is usually right in their pick-up/drop-off path.