Know thyself.
No one is the same in this. It is the stuff of women's and men's magazines that promote stereotypes to make money that lumps behavior across all borders. There are men and women that can and others that can't in this. You just have to be honest with yourself about what your limits are, and recognize when you get there.
I know that I cannot be friends with women, because I always end up falling in love with them and cannot handle seeing them with anyone else. I tried to just "deal with it" before, and it ended up horrible. And the more attractive I find them initially, the sooner that point is reached. So, you just need to know yourself, and be honest with the people around you. Ignore the people that classify it as shallow or wrong or anything else, you are the way you are and if they are your true friends, they will accept it. If you are one that can handle it, then good for you, you will likely have a higher quantity of friends than I will.
_________________
Plimba prin umbra, pina la marginea noptii