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.

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.