In Canada the Human Rights Act protects against discrimination relating to
race, national or ethnic origin, colour, religion, age, sex, sexual orientation, marital status, family status, disability and conviction for an offence for which a pardon has been granted or in respect of which a record suspension has been ordered.
Despite this, I know certain job types that routinely discriminate based on sex. For example (at least where I live) jobs to promote certain products face to face in public venues often specify 'male' or 'female'. Also when hiring actors for film, they hire based on skin colour and sex (e.g. a military scene probably has mainly males). Wouldn't non-co-ed sports teams technically be in violation too? Are there exceptions to the law to allow such activities?