Green’s Dictionary of Slang

pastry n.

1. a generic term for pretty young women [i.e. ‘good enough to eat’].

[UK]A. Binstead Pitcher in Paradise 199: I shall [...] introduce him to some of the hottest pastry on the music-hall stage.
[UK]David, Lee & Lyle [perf. Vesta Tilley] Give It to Father 🎵 I've a nice bit of ‘pastry’ here / So give that one to Pa.
[US]E. Bunker Dog Eat Dog 101: Then he got himself a hussy on the side, a little piece of young pastry he keeps in a condo in Century City.

2. (Aus.) flattery, praise [it is ‘sweet’].

[Aus]Stephens & O’Brien Materials for a Dict. of Aus. Sl. [unpub. ms.].

In compounds

pastry cutter (n.)

(Polari) one who when giving oral sex nibbles the skin of the penis.

[UK]P. Baker Fabulosa 296/1: pastry cutter a man whose oral sex technique involves digging into the skin of the penis with his teeth.