TSA at major airports is security theatre, plain and simple.
YMMV.
I was so angry about all the hassle (hours of queuing, dozens of examinations, all for zero success) that I decided to go on, and have done it another 100-200 times since. Whenever I fly somewhere without checked luggage but will want to shave, I just take along my razor and a blade or two. My blades have been found twice and confiscated once.
A tip for other security-minded travellers: There's a brand of toothpaste called "one drop only" whose tubes are small enough to pose no risk to aircraft security, yet last long enough that you don't need a tube for each trip.
Frankly there should be shipping boxes at the molest-station, with the cost paid by the thugs that insist on stripping you of your personal property.
I was flying out of Paris and had bought some good ripe camembert cheese. I was flying without checked baggage, so I put it into my carry on. The lady at the security scan insisted the cheese was liquid. After a lot of back-and-forth where I was not getting anywhere, I commented exasperated: "If I had a cheese sandwich though, you'd let me pass?" to which she replied "Yes."
I stepped out of line, bought a baguette, spread the cheese on it, and passed through security without any issues. I made sure to get into the line in which I would have to be checked by the same lady. She let me pass and avoided eye contact.
It's surprisingly easy to disguise them in a bag of electronics and wires. They actually get pissy about my small screwdriver set, but ignore my razor blades.
As an explanatory back-story, I am not from the city. Carrying a knife is normal where I come from. I was less than 10 years old.